Reference documentation and code samples for the Google Cloud Ces V1 Client class ClientFunction.
Represents a client-side function that the agent can invoke. When the tool is chosen by the agent, control is handed off to the client.
The client is responsible for executing the function and returning the result as a ToolResponse to continue the interaction with the agent.
Generated from protobuf message google.cloud.ces.v1.ClientFunction
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The function name.
↳ description
string
Optional. The function description.
↳ parameters
↳ response
getName
Required. The function name.
string
setName
Required. The function name.
var
string
$this
getDescription
Optional. The function description.
string
setDescription
Optional. The function description.
var
string
$this
getParameters
Optional. The schema of the function parameters.
hasParameters
clearParameters
setParameters
Optional. The schema of the function parameters.
$this
getResponse
Optional. The schema of the function response.
hasResponse
clearResponse
setResponse
Optional. The schema of the function response.
$this

