FunctionResponse interface

FunctionCall 的输出(包含表示 FunctionDeclaration.name 的字符串)和包含函数输出的结构化 JSON 对象将用作模型的上下文。它应包含基于模型预测进行的 FunctionCall 的结果。

签名

export interface FunctionResponse 

属性

属性 类型 说明
name string
响应 对象

函数响应.name

签名

name: string;

FunctionResponse.response

签名

response: object;