IAskAI Client
import asyncio
import iask
client = iask.Client()
async def main():
# stream response
async for chunk in await client.ask({
'mode': 'wiki',
'q': 'When Symfony 7.2 release?'
}, stream=True):
print(chunk, end='')
# wait fully response
response = await client.ask('Who is Naruto?', stream=False)
asyncio.run(main())
Metadata
Release files for iaskai 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iaskai-0.1.4.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iaskai-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / iaskai-0.1.4.tar.gz
| Download URL | iaskai-0.1.4.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
491932a1b0815ff85b6f49dd3ebe4916a1b9374b46e4e0c5bc9415c815422c57
|
|
BLAKE2b-256 checksum How to use checksums |
32370b89d171f30736e7853d3114aec5a3d0d5cc7deb64d1a169fb8080bedd79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.6
|
Release files / iaskai-0.1.4-py3-none-any.whl
| Download URL | iaskai-0.1.4-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dcb933cc0ff2285ccbc552b7d5d9c617e5bf6cfead5fb9e0d50554740593e631
|
|
BLAKE2b-256 checksum How to use checksums |
d4a4356b6103b1a1c7eca7289bba03769a2474453755da51ceea5b0ff96727b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.6
|