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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for slang_omni-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 642192fd9a66a752307282a80774733fe55da45432f8a2c130e3e241f286226a |
|
MD5 | a3d7fd3372ccd014918a4c2e43c5977f |
|
BLAKE2b-256 | c28227887f965da9b5848880a0f29aca260a14bf0f378d04453f13cf20c36046 |