Agent Framework plugin for services using Sarvam.ai's API.
Project description
Sarvam.ai Plugin for LiveKit Agents
Support for Sarvam.ai's Indian-language voice AI services in LiveKit Agents.
Features
- Speech-to-Text (STT): Convert audio to text using Sarvam's "Saarika" models. See the STT docs for more information.
- Text-to-Speech (TTS): Convert text to audio using Sarvam's "Bulbul" models. See the TTS docs for more information.
- LLM (Chat Completions): OpenAI-compatible chat-completions support for
sarvam-30b,sarvam-30b-16k,sarvam-105bandsarvam-105b-32kincluding tool calling.
Installation
pip install livekit-plugins-sarvam
Pre-requisites
You'll need an API key from Sarvam.ai. It can be set as an environment variable: SARVAM_API_KEY
LLM Usage
from livekit.plugins import sarvam
llm = sarvam.LLM(
model="sarvam-30b", # or `sarvam-30b-16k`, `sarvam-105b`, `sarvam-105b-32k`
)
sarvam-30b, sarvam-30b-16k, sarvam-105b, and sarvam-105b-32k support tool calling via the standard OpenAI-style tools and
tool_choice parameters.
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
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 livekit_plugins_sarvam-1.5.12.tar.gz.
File metadata
- Download URL: livekit_plugins_sarvam-1.5.12.tar.gz
- Upload date:
- Size: 30.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ad59b172890c159cce21b0ddf76ff658ae78950db28a1b91a5cd4e4683b7dc6
|
|
| MD5 |
5ec5b0a1cab2f5e3e303ba6895009cf7
|
|
| BLAKE2b-256 |
5ef9a85832a11e243c8e63344eda436c58d47f2f082c485400b4addce049b127
|
Provenance
The following attestation bundles were made for livekit_plugins_sarvam-1.5.12.tar.gz:
Publisher:
publish.yml on livekit/agents
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
livekit_plugins_sarvam-1.5.12.tar.gz -
Subject digest:
6ad59b172890c159cce21b0ddf76ff658ae78950db28a1b91a5cd4e4683b7dc6 - Sigstore transparency entry: 1589185831
- Sigstore integration time:
-
Permalink:
livekit/agents@2992996767acffc16aeaa46a82a7e566741b65e9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/livekit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2992996767acffc16aeaa46a82a7e566741b65e9 -
Trigger Event:
pull_request
-
Statement type:
File details
Details for the file livekit_plugins_sarvam-1.5.12-py3-none-any.whl.
File metadata
- Download URL: livekit_plugins_sarvam-1.5.12-py3-none-any.whl
- Upload date:
- Size: 33.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84b6dfc99e640625de5c472192808f4acc321bdc7598424fa1b36adbf4e23f9d
|
|
| MD5 |
310ad89e36eca2ad84174a350fc5646a
|
|
| BLAKE2b-256 |
8cf2a44506d02bfef05a57ed9e67616dc4d3ac7fe36db32772be4cf0f8877774
|
Provenance
The following attestation bundles were made for livekit_plugins_sarvam-1.5.12-py3-none-any.whl:
Publisher:
publish.yml on livekit/agents
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
livekit_plugins_sarvam-1.5.12-py3-none-any.whl -
Subject digest:
84b6dfc99e640625de5c472192808f4acc321bdc7598424fa1b36adbf4e23f9d - Sigstore transparency entry: 1589185878
- Sigstore integration time:
-
Permalink:
livekit/agents@2992996767acffc16aeaa46a82a7e566741b65e9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/livekit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2992996767acffc16aeaa46a82a7e566741b65e9 -
Trigger Event:
pull_request
-
Statement type: