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()
Metadata
Release files for uz-ai 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| uz_ai-0.0.2.tar.gz | 2.3 kB | Without provenance | Details for uz_ai-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| uz_ai-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for uz_ai-0.0.2-py3-none-any.whl |
Total release size: 4.8 kB
Release files / uz_ai-0.0.2.tar.gz
| Download URL | uz_ai-0.0.2.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b598b7265c7bd76098d48f6d426fc47c7b266a55b398485ee2866ab4ae36e0f
|
|
BLAKE2b-256 checksum How to use checksums |
50c0fbcc532e30d2ec40295f09ff15a1d80098e50a56ed350302a23f5cda3ecb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|
Release files / uz_ai-0.0.2-py3-none-any.whl
| Download URL | uz_ai-0.0.2-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e382f45bb6fda77a99b83710ada08b4066f3a8fdd132eae0c4fd7f897145c0c1
|
|
BLAKE2b-256 checksum How to use checksums |
c5ab715fb4d0333d92fc8a93c56f46b9c22136fb490f2cd49bd454a977502aeb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|
Security for uz-ai 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.