Skip to main content

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-105b and sarvam-105b-32k including 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

livekit_plugins_sarvam-1.5.13.tar.gz (30.7 kB view details)

Uploaded Source

Built Distribution

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

livekit_plugins_sarvam-1.5.13-py3-none-any.whl (33.5 kB view details)

Uploaded Python 3

File details

Details for the file livekit_plugins_sarvam-1.5.13.tar.gz.

File metadata

  • Download URL: livekit_plugins_sarvam-1.5.13.tar.gz
  • Upload date:
  • Size: 30.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for livekit_plugins_sarvam-1.5.13.tar.gz
Algorithm Hash digest
SHA256 fd39b92aac044135d10c0d30a9a423d50c4d43633122f1e7d7adfde20cad26b2
MD5 eed1f552d1bd45de74162ac4ca2f27fd
BLAKE2b-256 a64353fce2a951dc65a1d2aca4f57985bbc35e6542a03ecd14fa586a8ddc9089

See more details on using hashes here.

Provenance

The following attestation bundles were made for livekit_plugins_sarvam-1.5.13.tar.gz:

Publisher: publish.yml on livekit/agents

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file livekit_plugins_sarvam-1.5.13-py3-none-any.whl.

File metadata

File hashes

Hashes for livekit_plugins_sarvam-1.5.13-py3-none-any.whl
Algorithm Hash digest
SHA256 151a46c0b39a27f0ff6b996f029d646a50ac5d46e10fb1d3859410cc21c84eb4
MD5 a2aa24a1593450b8425ecb587415040f
BLAKE2b-256 34b8a54e0623aafbcedadbf2d4062a3b503880fb219313a4b70a33ab1d7453a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for livekit_plugins_sarvam-1.5.13-py3-none-any.whl:

Publisher: publish.yml on livekit/agents

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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