Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 869 Bytes

generative-ai.functionresponse.md

File metadata and controls

21 lines (13 loc) · 869 Bytes

Home > @google/generative-ai > FunctionResponse

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 Modifiers Type Description
name string
response object