# LanguageInfo

- [JSON representation](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3beta1/LanguageInfo#SCHEMA_REPRESENTATION)

Represents the language information of the request.

| JSON representation |
|---|
| ``` { "inputLanguageCode": string, "resolvedLanguageCode": string, "confidenceScore": number } ``` |

| Fields ||
|---|---|
| `inputLanguageCode` | `string` The language code specified in the original `https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3beta1/QueryInput#FIELDS.language_code`. |
| `resolvedLanguageCode` | `string` The language code detected for this request based on the user conversation. |
| `confidenceScore` | `number` The confidence score of the detected language between 0 and 1. |