SessionInput

Input for the session.

JSON representation
{
  "willContinue": boolean,

  // Union field input_type can be only one of the following:
  "text": string,
  "dtmf": string,
  "audio": string,
  "toolResponses": {
    object (ToolResponses)
  },
  "image": {
    object (Image)
  },
  "blob": {
    object (Blob)
  },
  "variables": {
    object
  },
  "event": {
    object (Event)
  }
  // End of list of possible types for union field input_type.
}
Fields
willContinue

boolean

Optional. A flag to indicate if the current message is a fragment of a larger input in the bidi streaming session.

When set to true, the agent defers processing until it receives a subsequent message where willContinue is false, or until the system detects an endpoint in the audio input.

NOTE: This field does not apply to audio and DTMF inputs, as they are always processed automatically based on the endpointing signal.

Union field input_type. The type of the input. input_type can be only one of the following:
text

string

Optional. Text data from the end user.

dtmf

string

Optional. DTMF digits from the end user.

audio

string (bytes format)

Optional. Audio data from the end user.

A base64-encoded string.

toolResponses

object (ToolResponses)

Optional. Execution results for the tool calls from the client.

image

object (Image)

Optional. Image data from the end user.

blob

object (Blob)

Optional. Blob data from the end user.

variables

object (Struct format)

Optional. Contextual variables for the session, keyed by name. Only variables declared in the app will be used by the CES agent.

Unrecognized variables will still be sent to the [Dialogflow agent][Agent.RemoteDialogflowAgent] as additional session parameters.

event

object (Event)

Optional. Event input.

ToolResponses

Execution results for the requested tool calls from the client.

JSON representation
{
  "toolResponses": [
    {
      object (ToolResponse)
    }
  ]
}
Fields
toolResponses[]

object (ToolResponse)

Optional. The list of tool execution results.

Event

Event input.

JSON representation
{
  "event": string
}
Fields
event

string

Required. The name of the event.