config JSON part alongside the audio part:
- Contextual prompting (
prompt) — a natural-language description of what the audio is about: the domain, the scenario, or details of the conversation. - Keyterms (
keyterms_prompt) — an explicit list of terms you want the model to recognize accurately.
Contextual prompting
Universal-3.5 Pro is trained to use context about the audio — its domain, topic, or scenario — to better recognize the vocabulary that context makes likely. A clip described as a cardiology consultation primes the model for medical terminology; one described as an order-status check primes it for order IDs and product names. Write theprompt as a description of your audio, not as instructions to the model. Transcription behavior — punctuation, formatting, verbatim style — is already optimized out of the box, and a managed default prompt is applied when you don’t provide one.
- Maximum length: 4096 characters
- When omitted, a managed default prompt is applied
language_codeis ignored when a custompromptis set — state the language as part of your description if you need both (see Specifying the language)
Choosing a level of specificity
Contextual prompts work at three levels of specificity. Use the least specific level that covers your use case, and add detail when your audio contains uncommon names or terms the model can’t otherwise know.
Domain context tells the model what field the audio belongs to — medical, legal, technical support, food ordering. This is the safest starting point and is often enough to fix vocabulary errors.
Scenario context describes the specific situation. This is the right level for most applications that know what kind of conversation is taking place — appointment booking, billing inquiry, delivery complaint.
Detailed context describes everything your application already knows about the conversation: participant names, account or order identifiers, products, locations. This level is the most powerful when the audio contains proper nouns and identifiers — for example, a voice agent platform that already knows who is calling and why can pass that information so the model spells names and IDs correctly.
Accuracy improves monotonically with context specificity — benchmarked on 20,000 real voice-agent calls, scenario context cuts word error rate ~10% and detailed context ~21% versus no prompt, with the largest gains on names and identifiers. See Accuracy impact for the full results.
Guidelines for writing contextual prompts:
- Write plain, complete sentences that describe the audio — you are describing a recording, not commanding the model.
- Include specifics your application already knows — participant names, products, order identifiers — when the audio contains proper nouns the model can’t otherwise know.
- Keep it to one short block of text. Don’t pack lists of keywords into the prompt — that’s what
keyterms_promptis for. - The model stays grounded in the audio: context that turns out to be irrelevant does not cause it to insert words that weren’t spoken, so you can safely send the same description with every request of a longer interaction.
Specifying the language
A customprompt replaces the managed default, including any language steering from language_code. When you use a custom prompt with non-English audio, state the language as part of your description:
language_code config field — see Language selection.
- Python
- JavaScript
- cURL
Keyterms prompting
Thekeyterms_prompt field biases the model toward specific tokens — useful for proper nouns, product names, technical jargon, or any term the model might otherwise mishear.
- Value: an array of strings
- Maximum total length: 2048 characters across all terms
- Whitespace is stripped and empty terms are ignored
- Specify unique terminology. Include proper names, company names, technical terms, or vocabulary specific to your domain that might not be commonly recognized.
- Exact spelling and capitalization. Provide keyterms with the precise spelling and capitalization you expect to see in the output transcript.
- Avoid common words. Do not include single, common English words (e.g., “information”) as keyterms. The system is generally proficient with such words, and adding them as keyterms can be redundant.
- Python
- JavaScript
- cURL
Using prompt and keyterms together
You can combineprompt and keyterms_prompt in the same config part, with prompt describing the conversation and keyterms_prompt enumerating specific terms:
- Python
- JavaScript
- cURL
Related features
- Conversation context — supply the dialogue that preceded the current clip with the
conversation_contextfield, so the model transcribes multi-turn conversations with better continuity and proper-noun consistency. See Conversation context. - Language selection — steer the default prompt toward one or more languages with
language_code. See Language selection.