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.1.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.1.tar.gz.
File metadata
- Download URL: iaskai-0.1.1.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 |
856fd105f0f74b72ce2d2036a7648f72adde094f6d742dee65d9a360dda1a075
|
|
| MD5 |
740111a38859486980a8e3e0f2610570
|
|
| BLAKE2b-256 |
49a3b13fdc7dc39b77756a59868da1a2f451f2f6ea2211327d04102824e2dbcb
|
File details
Details for the file iaskai-0.1.1-py3-none-any.whl.
File metadata
- Download URL: iaskai-0.1.1-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 |
e6ee1c5a5c5a36259752dbe6d18142072b6570d12b78e24eca0008569495ae23
|
|
| MD5 |
f116e8b0f0904e122c6abd77d6762701
|
|
| BLAKE2b-256 |
6157ebf5f778bae0ed5c3736882f0c00eae8a428df69accf9bff8168031234dc
|