Skip to main content

Voice

With voice on, the widget shows a Talk button. The visitor speaks, the assistant answers in a voice you choose, and everything said appears in the chat as text, so your team reads it like any other conversation.

Turning it on or off​

Voice is on by default wherever your plan includes it: the widget shows the mic with no setup. To hide it, switch off Configuration → Channels → Voice in the widget (web microphone), and switch it back on the same way.

Configuration → voice settings. Pick the default voice (and a voice per role if you like), how the microphone listens, the longest a voice session may run per conversation, and the consent text shown before the microphone is used.

The microphone is hands-free by default: the visitor taps it once and just talks. When they pause for 2 seconds, Sarthi takes what they said and answers out loud. While it speaks it isn't listening, so a cough, someone nearby or the speakers' own echo can't cut the answer off; to interrupt, the visitor taps the mic, and when the answer ends Sarthi listens again on its own. Change the pause (up to 4 seconds) if your visitors take long breaks to think, or switch to press to talk, where the visitor holds the button while speaking.

Voice needs your plan to include it. With no voice picked, Sarthi speaks with the first voice that speaks the visitor's language. It works in modern browsers over HTTPS; the browser asks the visitor's permission to use the microphone the first time.

How it works​

  1. The visitor taps Talk once and agrees to the consent text.
  2. Audio streams to Sarthi over a secure WebSocket, is transcribed, and the role answers as it would in text, with the same knowledge, actions and guardrails.
  3. The answer is spoken back and shown in the chat. The visitor can type at any time; voice and text mix in one conversation.
  4. Quick replies and yes/no questions work by voice too: saying "yes" confirms an action the same way as tapping the button.

Languages and voices​

Visitors can speak English, Hindi, or a mix of both (Hinglish), with Indian accents. Speech is handled by Sarvam AI, an Indian company that builds speech models for Indian languages.

  • What the visitor said shows in the chat as it was spoken: Hindi words in Hindi script and English words in English letters, like "मेरा order कब आएगा".

  • The reply is spoken in the visitor's language, as the role's language settings allow. In a voice chat, Hindi words stay in Hindi script even when the role replies in Hinglish, because that is what sounds natural when read aloud. Typed chats keep Hinglish in English letters.

  • The voices all speak English, Hindi and Hinglish:

    VoiceSounds
    IshitaWarm and clear (female)
    SimranFriendly and upbeat (female)
    SunnyEasy-going and helpful (male)
    ShubhCalm and trustworthy (male)

    Pick one for the workspace in Configuration → voice settings, or a different one per role in the role editor.

Recordings and privacy​

  • Sarthi keeps the text of a voice chat (the transcript, under your normal chat retention), not the audio. Nobody, including Sarthi's staff, can play a voice chat back.
  • To hear the visitor and to speak the reply, the audio and the reply text go to Sarvam AI, Sarthi's speech provider, for that moment only.
  • The note visitors see before the microphone opens says so: "Your voice is transcribed to answer you. The audio isn't kept."
  • The note is shown every time the microphone is first used in a chat.

Costs​

A voice turn is billed like a text turn plus the speech minutes; the console's usage page shows both. The per-conversation minute cap stops a forgotten open microphone from running up a bill.

Content Security Policy​

Voice uses a WebSocket to Sarthi's API host; allow wss:// to it in connect-src. See CSP and performance.