Skip to main content

Python SDK for using Slang Omni

Project description

Python Library for Slang Omni

This is the python library for using Slang Omni Co-pilots

Example

from omni_python.client import AsyncOmniClient
omni_client = AsyncOmniClient(
    assistant_id="<YOUR_ASSISTANT_ID>", 
    assistant_version="<YOUR_ASSISTANT_VERSION>", 
    api_key="<YOUR_API_KEY>"
)
res = omni_client.text2action("how are you", stream=True)
async for i in res:
    print(i)

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

slang_omni-0.0.2.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

slang_omni-0.0.2-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

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