Switch languages, voices, and models with a single parameter. Here's a Python example that handles a Tamil voice call end-to-end:
from openai import OpenAI
from callmissed import VoiceAgent
agent = VoiceAgent(
api_key="cm_your_key",
config={
"stt": {"model": "saarika-v2", "language": "ta"}, # Tamil STT
"llm": {"model": "sarvam-m", "system_prompt": "நீங்கள் Acme Electronics-இன் ஆதரவு முகவர்."},
"tts": {"model": "bulbul-v2", "voice": "nila"}, # Tamil female voice
"telephony": {"provider": "exotel", "number": "+91-44-1234-5678"},
},
)
agent.start() # listens on the configured phone number
# That's it. A fully vernacular Tamil voice agent, production-ready.
Full voice pipeline in Tamil — STT → LLM → TTS