Use Language Translation Session
{
type: 'reset'
reset: {
id: string // This should be an arbitrary UUID generated by you
lang_in: string | null // The original language code in ISO 639-1 format, automatically inferred if null
lang_out: string // The translation language code in ISO 639-1 format
glossary?: string[] | null // An optional list of brand names to preserve
detect_languages: bool // Enable language identification pipeline to get language probabilities at regular intervals
}
}{
type: 'ready'
ready: {
id: string // The id that you specified in the reset message
}
}Last updated

