public sealed class FunctionResponse : IMessage<FunctionResponse>, IEquatable<FunctionResponse>, IDeepCloneable<FunctionResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class FunctionResponse.
The result output from a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function is used as context to the model. This should contain the result of a [FunctionCall] made based on model prediction.
Implements
IMessageFunctionResponse, IEquatableFunctionResponse, IDeepCloneableFunctionResponse, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
FunctionResponse()
public FunctionResponse()
FunctionResponse(FunctionResponse)
public FunctionResponse(FunctionResponse other)
Parameter | |
---|---|
Name | Description |
other |
FunctionResponse |
Properties
Name
public string Name { get; set; }
Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].
Property Value | |
---|---|
Type | Description |
string |
Response
public Struct Response { get; set; }
Required. The function response in JSON object format.
Property Value | |
---|---|
Type | Description |
Struct |