Google Cloud Ces V1 Client - Class GenerativeAnswer (0.1.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class GenerativeAnswer.

The agent will immediately respond with a generative answer.

Generated from protobuf message google.cloud.ces.v1.TriggerAction.GenerativeAnswer

Namespace

Google \ Cloud \ Ces \ V1 \ TriggerAction

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ prompt string

Required. The prompt to use for the generative answer.

getPrompt

Required. The prompt to use for the generative answer.

Returns
Type Description
string

setPrompt

Required. The prompt to use for the generative answer.

Parameter
Name Description
var string
Returns
Type Description
$this