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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

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

Hashes for slang_omni-0.0.2.tar.gz
Algorithm Hash digest
SHA256 89957471f1ca4daf7c3925034b40051a45d8f5328c9f418df83b338aceb75753
MD5 cdaf1c0cd6a1cf6a84cb463720e7caf1
BLAKE2b-256 8927c9afcfdd8d82bf80a95fffb5b763cefb1e6b4a76ebe06a85073cedb6655e

See more details on using hashes here.

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

Hashes for slang_omni-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 642192fd9a66a752307282a80774733fe55da45432f8a2c130e3e241f286226a
MD5 a3d7fd3372ccd014918a4c2e43c5977f
BLAKE2b-256 c28227887f965da9b5848880a0f29aca260a14bf0f378d04453f13cf20c36046

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