public sealed class ClientFunction : IMessage<ClientFunction>, IEquatable<ClientFunction>, IDeepCloneable<ClientFunction>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API 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][google.cloud.ces.v1.ToolResponse] to continue the interaction with the agent.
Implements
IMessageClientFunction, IEquatableClientFunction, IDeepCloneableClientFunction, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1Assembly
Google.Cloud.Ces.V1.dll
Constructors
ClientFunction()
public ClientFunction()ClientFunction(ClientFunction)
public ClientFunction(ClientFunction other)| Parameter | |
|---|---|
| Name | Description |
other |
ClientFunction |
Properties
Description
public string Description { get; set; }Optional. The function description.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Name
public string Name { get; set; }Required. The function name.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Parameters
public Schema Parameters { get; set; }Optional. The schema of the function parameters.
| Property Value | |
|---|---|
| Type | Description |
Schema |
|
Response
public Schema Response { get; set; }Optional. The schema of the function response.
| Property Value | |
|---|---|
| Type | Description |
Schema |
|