FunctionCall 的结果输出(其中包含代表 FunctionDeclaration.name 的字符串)和结构化 JSON 对象(包含函数的任何输出)会用作模型的上下文。其中应包含根据模型预测执行的 FunctionCall 结果。
签名:
export interface FunctionResponse
属性
属性 | 类型 | 说明 |
---|---|---|
name | 字符串 | |
响应 | 对象 |
FunctionResponse.name
签名:
name: string;
FunctionResponse.response
签名:
response: object;