The supplied MyVocal document is the ASR entry point, not a complete TBot360 agent-control API. Use the original documentation for exact parameters and current supported model versions.
Speech API reference
Implement the speech layer of an AI Voice Agent using the source documentation. The linked entry point covers ASR and provides navigation to the wider speech-model documentation.
1. Choose the recognition workflow
Choose a file path for completed audio and a streaming path when your application needs recognition during a call. Use the relevant official quickstart rather than mixing request parameters across the two interfaces.
| Workflow | Model / integration | Typical use |
|---|---|---|
| Existing recordings | echo_v2 · HTTP file transcription | Call review, records and post-call transcription. |
| Live audio | echo_v2_realtime · streaming WebSocket or supported SDK | Live conversation, captions and interactive applications. |
2. Prepare the speech connection
Obtain the authorized enterprise API key and follow the provider’s authentication and audio-format requirements. Start with a small non-sensitive sample and verify the response before adding production audio. For live voice, validate media conversion and result handling as well as the transport connection.
- Keep API keys in the trusted backend, not embedded in a public web page.
- Plan connection lifecycle, timeout handling and reconnect behavior.
- Verify which intermediate and final results are returned before triggering dialogue logic.
- Use supported SDK versions and parameter names from the source documentation.
3. Configure language and conversation behavior
Model settings should follow the caller experience. A transcript-only workflow may emphasize output formatting and timestamps; interactive applications may emphasize turn boundaries and response latency. Review available options for language selection, mixed-language conversation, speaker identification and domain vocabulary in the current API reference.
Construct an evaluation dataset with your actual languages, accents and representative speech conditions. Review accuracy on dates, names, account references and product vocabulary, not just average transcription accuracy.
4. Integrate with voice generation and dialogue
An ASR result is one input to an AI Voice Agent. Pass validated recognition results to the dialogue layer, use approved business knowledge and permitted tools, then synthesize the response using the selected TTS service. Confirm playback, cancellation, interruption and human escalation separately. Use the MyVocal documentation navigation for current TTS model references.