Cloud AI Platform v1beta1 API - Class FunctionResponse (1.0.0-beta09)

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.

Inheritance

object > FunctionResponse

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

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. Use "output" key to specify function output and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as function output.

Property Value
Type Description
Struct