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 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 slang_omni-0.0.2.tar.gz.
File metadata
- Download URL: slang_omni-0.0.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89957471f1ca4daf7c3925034b40051a45d8f5328c9f418df83b338aceb75753
|
|
| MD5 |
cdaf1c0cd6a1cf6a84cb463720e7caf1
|
|
| BLAKE2b-256 |
8927c9afcfdd8d82bf80a95fffb5b763cefb1e6b4a76ebe06a85073cedb6655e
|
File details
Details for the file slang_omni-0.0.2-py3-none-any.whl.
File metadata
- Download URL: slang_omni-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
642192fd9a66a752307282a80774733fe55da45432f8a2c130e3e241f286226a
|
|
| MD5 |
a3d7fd3372ccd014918a4c2e43c5977f
|
|
| BLAKE2b-256 |
c28227887f965da9b5848880a0f29aca260a14bf0f378d04453f13cf20c36046
|