Class SessionInput (0.3.0)

SessionInput(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Input for the session.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
text str
Optional. Text data from the end user. This field is a member of oneof_ input_type.
dtmf str
Optional. DTMF digits from the end user. This field is a member of oneof_ input_type.
audio bytes
Optional. Audio data from the end user. This field is a member of oneof_ input_type.
tool_responses google.cloud.ces_v1.types.ToolResponses
Optional. Execution results for the tool calls from the client. This field is a member of oneof_ input_type.
image google.cloud.ces_v1.types.Image
Optional. Image data from the end user. This field is a member of oneof_ input_type.
blob google.cloud.ces_v1.types.Blob
Optional. Blob data from the end user. This field is a member of oneof_ input_type.
variables google.protobuf.struct_pb2.Struct
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. This field is a member of oneof_ input_type.
event google.cloud.ces_v1.types.Event
Optional. Event input. This field is a member of oneof_ input_type.
will_continue bool
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 will_continue 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.