Documentation Index
Fetch the complete documentation index at: https://docs.spn.wtf/llms.txt
Use this file to discover all available pages before exploring further.
Agent Options
The repository contains two voice-agent implementations.| File | Stack | Best use |
|---|---|---|
agent.py | Sarvam STT + Sarvam-M LLM + Sarvam TTS | Indian-language pipeline with separate speech components |
agent_realtime.py | OpenAI Realtime | Low-latency all-in-one realtime conversation |
Sarvam Agent
Command:machine_interestlocationbudgetfirst_productunits_per_daylocal_demandnew_or_expandpartnershipoperators_neededown_brandseriousnessfactory_visitvideo_demo
OpenAI Realtime Agent
Command:product_interest:carbon cleaning,battery regeneration,car wash,franchise, orunsurelocationbudget:below 10 lakhs,10-25 lakhs, or>25 lakhs
Save Behavior
Both agents:- Build a transcript/history during the call.
- Extract structured qualification from the transcript.
- Remove null values.
- Save the JSON to
calls.qualification. - Mark the call
called. - Hang up or finish the room.
Language Behavior
agent_realtime.py contains detection and reply guidance for English and Indian-language user intent, including local-language and romanized-language handling. It also normalizes saved qualification values back to English-only structured data so downstream CRM payloads stay consistent.