ToolResources interface
代理工具使用的一组资源。 资源特定于工具类型。 例如,code_interpreter 工具需要文件 ID 列表,而 file_search 工具需要矢量存储 ID 列表。
属性
| azure |
由索引 ID 和名称组成的 |
| code |
由文件 ID 组成的 |
| file |
由矢量存储 ID 组成的 |
属性详细信息
azureAISearch
由索引 ID 和名称组成的 azure_ai_search 工具使用的资源。
azureAISearch?: AzureAISearchToolResource
属性值
codeInterpreter
由文件 ID 组成的 code_interpreter 工具使用的资源。
codeInterpreter?: CodeInterpreterToolResource