Skip to main content

siz UzAi da sun'iy intelektlar yarata olasiz

Project description

UzAI

UzAI - bu oddiy sun'iy intellekt (AI) tizimi bo'lib, foydalanuvchining kiritgan savollariga oldindan belgilangan javoblarni beradi. Ushbu kutubxona oddiy savol-javoblarni avtomatlashtirish uchun moslashuvchan va foydalanuvchi do'stona interfeysni taklif qiladi. Bu dasturchilar va yangi o'rganayotganlar uchun sun'iy intellekt algoritmlarini yaratishda asosiy vosita sifatida foydalanishga mo'ljallangan.

O'rnatish

UzAI kutubxonasini PyPI orqali o'rnatish juda oson. Buning uchun siz terminalga yoki buyruq satriga quyidagi buyruqni kiriting:

pip install uzai

foydalanish

from uzai import UzAi

# AI obyektini yaratish
ai = UzAi()

# Foydalanuvchidan savol olish
savol = input('Savol kiriting: ')

# Savolni AI ga uzatish
ai.question(savol)

# Oldindan belgilangan javoblarni kiritish
ai.response([
    {'ques': 'salom', 'resp': 'Salom, qanday yordam bera olaman?'},
])

#tasodifiy javoblarni aytish
ai.random_response([
    {'ques': 'qalaysan', 'ran_resp': 'yaxshiman, o\'zingiz qalaysiz?|yaxshi, siz yaxshimisiz?'}
])

# Javobni chiqarish
ai.run()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uz_ai-0.0.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

uz_ai-0.0.1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file uz_ai-0.0.1.tar.gz.

File metadata

  • Download URL: uz_ai-0.0.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for uz_ai-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9df07f5d9e3828ab042e94e4f0b1944304a82d3c1536a462d30834622890426d
MD5 c79005bb8c7c4618b382ba18398584ae
BLAKE2b-256 1de6831799997b17fbcdb560b4c869906d50012ccbddcaf6ea5a266691e159c4

See more details on using hashes here.

File details

Details for the file uz_ai-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: uz_ai-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for uz_ai-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9b83b9028c4e481c10044135a447700cf7fc4e274b268c16fd2446e02116d5e6
MD5 caacdc0846b5546b7b00b33c446e39ca
BLAKE2b-256 691822dcafc2b40a337d6bc7b4e116a0bdbbb82554720e581cca6dad9cae38f6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page