TranslationRequest: {
    effort?: SpeechUnderstandingEffort;
    formal?: boolean;
    match_original_utterance?: boolean;
    target_languages: string[];
}

Translation configuration for speech understanding

Type declaration

  • Optionaleffort?: SpeechUnderstandingEffort

    How much effort to spend on this task

    "low"
    
  • Optionalformal?: boolean

    Whether to use formal language in translations (default: false)

  • Optionalmatch_original_utterance?: boolean

    Whether to match the original utterance structure in translations (default: false)

  • target_languages: string[]

    List of target language codes to translate the transcript into