Cloud AI Platform v1 API - Class FunctionResponse (2.21.0)

public sealed class FunctionResponse : IMessage<FunctionResponse>, IEquatable<FunctionResponse>, IDeepCloneable<FunctionResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 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.

Inheritance

object > FunctionResponse

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

FunctionResponse()

public FunctionResponse()

FunctionResponse(FunctionResponse)

public FunctionResponse(FunctionResponse other)
Parameter
NameDescription
otherFunctionResponse

Properties

Name

public string Name { get; set; }

Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].

Property Value
TypeDescription
string

Response

public Struct Response { get; set; }

Required. The function response in JSON object format.

Property Value
TypeDescription
Struct