View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse (google_api_dialogflow v0.85.0)

The response message for Participants.SuggestKnowledgeAssist.

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 SuggestKnowledgeAssistRequest.context_size field in the request if there are fewer messages in the conversation.
  • knowledgeAssistAnswer (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer.t, default: nil) - Output only. Knowledge Assist suggestion.
  • latestMessage (type: String.t, default: nil) - The name of the latest conversation message used to compile suggestion for. Format: projects//locations//conversations//messages/.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse{
    contextSize: integer() | nil,
    knowledgeAssistAnswer:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer.t()
      | nil,
    latestMessage: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.