Google Cloud Dialogflow V2 Client - Class FreeFormContext (2.1.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class FreeFormContext.

Free form generator context that customer can configure.

Generated from protobuf message google.cloud.dialogflow.v2.FreeFormContext

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ text string

Optional. Free form text input to LLM.

getText

Optional. Free form text input to LLM.

Returns
Type Description
string

setText

Optional. Free form text input to LLM.

Parameter
Name Description
var string
Returns
Type Description
$this