Class LanguageInfo (1.37.0)

LanguageInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents the language information of the request.

Attributes

Name Description
input_language_code str
The language code specified in the original request.
resolved_language_code str
The language code detected for this request based on the user conversation.
confidence_score float
The confidence score of the detected language between 0 and 1.