Metadata-Version: 2.1
Name: slang_omni
Version: 0.0.2
Summary: Python SDK for using Slang Omni
Author-email: Slang Labs <admin@slanglabs.in>
Project-URL: Homepage, http://www.slanglabs.in
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: annotated-types==0.6.0
Requires-Dist: pydantic==2.7.0
Requires-Dist: pydantic-core==2.18.1
Requires-Dist: sseclient-py==1.8.0
Requires-Dist: typing-extensions==4.11.0

## 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)
```
