View Source GoogleApi.AIPlatform.V1.Model.LearningGenaiRootLanguageFilterResult (google_api_ai_platform v0.5.0)

Attributes

  • allowed (type: boolean(), default: nil) - False when query or response should be filtered out due to unsupported language.
  • detectedLanguage (type: String.t, default: nil) - Language of the query or response.
  • detectedLanguageProbability (type: number(), default: nil) - Probability of the language predicted as returned by LangID.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.LearningGenaiRootLanguageFilterResult{
  allowed: boolean() | nil,
  detectedLanguage: String.t() | nil,
  detectedLanguageProbability: number() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.