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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-25 UTC."],[[["This document provides reference information for the `FunctionResponse` class within the Google Cloud AI Platform v1beta1 API, specifically version 1.0.0-beta09."],["`FunctionResponse` is designed to encapsulate the output from a function call, which includes the function's name and a JSON object detailing its output or any error details."],["The class inherits from `object` and implements multiple interfaces, such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, enhancing its functionality."],["The `FunctionResponse` class contains two key properties, `Name` (a string representing the function's name) and `Response` (a Struct object holding the function's output in JSON format)."],["The latest version available of this documentation is 1.0.0-beta21."]]],[]]