FunctionDeclaration.name を表す文字列と、関数からの出力を含む構造化 JSON オブジェクトを含む FunctionCall からの出力が、モデルのコンテキストとして使用されます。これには、モデル予測に基づいて作成された FunctionCall の結果が含まれている必要があります。
署名:
export interface FunctionResponse
プロパティ
プロパティ | 型 | 説明 |
---|---|---|
name | 文字列 | |
レスポンス | オブジェクト |
FunctionResponse.name
署名:
name: string;
FunctionResponse.response
署名:
response: object;