FunctionTool interface
モデルが呼び出しを選択できる関数を独自のコードで定義します。 関数呼び出しの詳細について説明します。
- Extends
プロパティ
| description | |
| name | 呼び出す関数の名前。 |
| parameters | |
| strict | |
| type | 関数ツールの型。 常に |
プロパティの詳細
description
description?: string
プロパティ値
string
name
呼び出す関数の名前。
name: string
プロパティ値
string
parameters
parameters: Record<string, unknown>
プロパティ値
Record<string, unknown>
strict
strict: boolean
プロパティ値
boolean
type
関数ツールの型。 常に function です。
type: "function"
プロパティ値
"function"