Unoffical iask.ai client
Project description
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())
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
iaskai-0.1.0.tar.gz
(3.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iaskai-0.1.0.tar.gz.
File metadata
- Download URL: iaskai-0.1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fd4a723a436446ea0e6357c9d9d2caf4d8ae5e26bd8df28fd39e74bcda09c83
|
|
| MD5 |
a132950cad7659b002ce290a1898c3d8
|
|
| BLAKE2b-256 |
71168059f6c8e3b380d84a2539fbe7c66d4a1407e49a8bdcc9d0ee9a59518b33
|
File details
Details for the file iaskai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: iaskai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7551df02eacfd2b853582c453e39b1f489cd2e8b68047f3e0b990ef859c135fb
|
|
| MD5 |
f46a81cccef60538eebe9b29206cd676
|
|
| BLAKE2b-256 |
2c5b4cde1bc2516dd5cf49f2d645578921c6fdfa8b8cb7f7c7a584481c288773
|