Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudAiplatformV1FunctionResponse

import type { GoogleCloudAiplatformV1FunctionResponse } from "https://googleapis.deno.dev/v1/aiplatform:v1.ts";

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.

interface GoogleCloudAiplatformV1FunctionResponse {
name?: string;
response?: {
[key: string]: any;
}
;
}

§Properties

§
name?: string
[src]

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

§
response?: {
[key: string]: any;
}
[src]

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.