GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SuggestFaqAnswersResponse (google_api_dialogflow v0.66.2) View Source

The request message for Participants.SuggestFaqAnswers.

Attributes

  • contextSize (type: integer(), default: nil) - Number of messages prior to and including latest_message to compile the suggestion. It may be smaller than the SuggestFaqAnswersRequest.context_size field in the request if there aren't that many messages in the conversation.
  • faqAnswers (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2FaqAnswer.t), default: nil) - Answers extracted from FAQ documents.
  • latestMessage (type: String.t, default: nil) - The name of the latest conversation message used to compile suggestion for. Format: projects//locations//conversations//messages/.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SuggestFaqAnswersResponse{
    contextSize: integer() | nil,
    faqAnswers:
      [GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2FaqAnswer.t()] | nil,
    latestMessage: String.t() | nil
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.