View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1LanguageInfo (google_api_dialogflow v0.88.0)

Represents the language information of the request.

Attributes

  • confidenceScore (type: number(), default: nil) - The confidence score of the detected language between 0 and 1.
  • inputLanguageCode (type: String.t, default: nil) - The language code specified in the original request.
  • resolvedLanguageCode (type: String.t, default: nil) - The language code detected for this request based on the user conversation.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1LanguageInfo{
    confidenceScore: number() | nil,
    inputLanguageCode: String.t() | nil,
    resolvedLanguageCode: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.