View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SummarizationContext (google_api_dialogflow v0.88.3)

Summarization context that customer can configure.

Attributes

  • fewShotExamples (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2FewShotExample.t), default: nil) - Optional. List of few shot examples.
  • outputLanguageCode (type: String.t, default: nil) - Optional. The target language of the generated summary. The language code for conversation will be used if this field is empty. Supported 2.0 and later versions.
  • summarizationSections (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SummarizationSection.t), default: nil) - Optional. List of sections. Note it contains both predefined section sand customer defined sections.
  • version (type: String.t, default: nil) - Optional. Version of the feature. If not set, default to latest version. Current candidates are ["1.0"].

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SummarizationContext{
    fewShotExamples:
      [GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2FewShotExample.t()]
      | nil,
    outputLanguageCode: String.t() | nil,
    summarizationSections:
      [
        GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SummarizationSection.t()
      ]
      | nil,
    version: String.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.