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())-
Notifications
You must be signed in to change notification settings - Fork 0
License
ging-dev/iask.ai-python
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published