Chariot plugin for LiveKit Agents
Support for speech-to-text and text-to-speech with Chariot in LiveKit Agents: English and Indian languages, including code-mixed speech such as Hinglish.
See the Chariot docs for the API, models and voices. This plugin is proposed for LiveKit Agents in livekit/agents#8560; this package will move to LiveKit once it is merged.
Installation
pip install livekit-plugins-chariot
Pre-requisites
You'll need an API key from Chariot. It can be set as an environment variable: CHARIOT_API_KEY. You can create one here.
Usage
from livekit.agents import AgentSession
from livekit.plugins import chariot
session = AgentSession(
stt=chariot.STT(language="hi"), # omit the language to detect it
tts=chariot.TTS(voice="bac7d666-094d-4698-91fa-741d60fce662"), # Matt
# ... llm, etc.
)
The STT transcribes English, Hindi, Bengali, Gujarati, Kannada, Malayalam, Marathi, Odia, Punjabi, Sanskrit, Tamil and Telugu. By default each transcript is finalized when the agent's turn detection ends the user's turn; pass server_vad={} to let Chariot's voice detection split utterances instead.
Any TTS voice speaks every supported language: the language of the audio follows the text. List the voices with GET https://api.chariot.in/v1/voices. An interrupted reply is cancelled on the server and its connection is kept for the next one.
Metadata
Release files for livekit-plugins-chariot 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| livekit_plugins_chariot-0.1.1.tar.gz | 15.9 kB | Without provenance | Details for livekit_plugins_chariot-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| livekit_plugins_chariot-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for livekit_plugins_chariot-0.1.1-py3-none-any.whl |
Total release size: 37.2 kB
Release files / livekit_plugins_chariot-0.1.1.tar.gz
| Download URL | livekit_plugins_chariot-0.1.1.tar.gz |
|---|---|
| Size | 15.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9d3e099bd68ff2b76105d9baa2d493d72fe3311794ac39a0ae058c8265f5562
|
|
BLAKE2b-256 checksum How to use checksums |
93f5507d20be70e3e6f6a774d3723dd5b12b7c3ddb6814a945380e005fa36feb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / livekit_plugins_chariot-0.1.1-py3-none-any.whl
| Download URL | livekit_plugins_chariot-0.1.1-py3-none-any.whl |
|---|---|
| Size | 21.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1dc1754319fc5ee7b2cec120cb3ea47ec04c70ca90f2095e0978da865067f29
|
|
BLAKE2b-256 checksum How to use checksums |
c1558c63f42e42f088e43d12eee8e2a6d0d429638f62becf815a28317e823418
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Security for livekit-plugins-chariot 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.