View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3ConversationTurn (google_api_dialogflow v0.78.0)

One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.

Attributes

  • userInput (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3ConversationTurnUserInput.t, default: nil) - The user input.
  • virtualAgentOutput (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput.t, default: nil) - The virtual agent output.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3ConversationTurn{
  userInput:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3ConversationTurnUserInput.t()
    | nil,
  virtualAgentOutput:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput.t()
    | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.