Skip to main content

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.4.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iaskai-0.1.4-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file iaskai-0.1.4.tar.gz.

File metadata

  • Download URL: iaskai-0.1.4.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.6

File hashes

Hashes for iaskai-0.1.4.tar.gz
Algorithm Hash digest
SHA256 491932a1b0815ff85b6f49dd3ebe4916a1b9374b46e4e0c5bc9415c815422c57
MD5 01226ca11ac1c40abb971ab396f674f5
BLAKE2b-256 32370b89d171f30736e7853d3114aec5a3d0d5cc7deb64d1a169fb8080bedd79

See more details on using hashes here.

File details

Details for the file iaskai-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: iaskai-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.6

File hashes

Hashes for iaskai-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dcb933cc0ff2285ccbc552b7d5d9c617e5bf6cfead5fb9e0d50554740593e631
MD5 120f6d6b7706277356e1f5753046964c
BLAKE2b-256 d4a4356b6103b1a1c7eca7289bba03769a2474453755da51ceea5b0ff96727b9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page