Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.25 KB

vertexai.functionresponse.md

File metadata and controls

42 lines (30 loc) · 1.25 KB

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

FunctionResponse interface

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.

Signature:

export interface FunctionResponse 

Properties

Property Type Description
name string
response object

FunctionResponse.name

Signature:

name: string;

FunctionResponse.response

Signature:

response: object;