Context
Soniox Speech-to-Text AI allows you to add custom context to each transcription session, enhancing the accurate recognition of specific terms, industry jargon, and names.
Context can be any text, such as a summary or a related document, or simply a list of relevant words. It may also include text or phrases that do not appear in the audio. The AI model utilizes this context when needed to improve recognition accuracy.
The maximum length of the context is 10,000 characters, which enables you to provide substantial amounts of contextual information to the AI model.
Example
The context
parameter, which contains a string, can be passed as a payload when calling the Create Transcription API endpoint or when starting real-time transcription.
Example payload that includes a fictional product name, "Talk-a-Script," as context to improve recognition accuracy:
Code example using context:
Output: