Skip to main content

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.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for livekit-plugins-chariot 0.1.0
File Size Uploaded Provenance Actions
livekit_plugins_chariot-0.1.0.tar.gz 15.8 kB Without provenance Details for livekit_plugins_chariot-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for livekit-plugins-chariot 0.1.0
File Interpreter ABI Platform Actions
livekit_plugins_chariot-0.1.0-py3-none-any.whl Python 3 none any Details for livekit_plugins_chariot-0.1.0-py3-none-any.whl

Total release size: 37.2 kB

Release files / livekit_plugins_chariot-0.1.0.tar.gz

Download URL livekit_plugins_chariot-0.1.0.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
201449775f7e88e48fb115bf563c0c680861ba67ee10eb009a595b3dae01b2ff
BLAKE2b-256 checksum
How to use checksums
ed78652eea736d4e0f4943e4005ee65f8bb82b469c20326ddbdf01852537f747
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.0-py3-none-any.whl

Download URL livekit_plugins_chariot-0.1.0-py3-none-any.whl
Size 21.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41600138f55ecc5487b5b8bfb4cff73560da849bbec760632785fcca9e47ac95
BLAKE2b-256 checksum
How to use checksums
c6e412804c3c2f5526b4a753f89589d47a7af2b954b80cfccd5ec181f8c380c7
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.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page