FileSearchTool interface
一个工具,用于搜索已上传文件中的相关内容。 详细了解 文件搜索工具。
- 扩展
属性
| description | 可选的用户自定义描述,用于该工具或配置。 |
| filters | 用于文件搜索的筛选条件。 |
| max_num_results | 要返回的最大结果数。 此数字应介于 1 和 50 之间(含)。 |
| name | 该工具或配置可选择用户自定义名称。 |
| ranking_options | 用于搜索的排名选项。 |
| type | 文件搜索工具的类型。 始终为 |
| vector_store_ids | 要搜索的矢量存储的 ID。 |
属性详细信息
description
可选的用户自定义描述,用于该工具或配置。
description?: string
属性值
string
filters
max_num_results
要返回的最大结果数。 此数字应介于 1 和 50 之间(含)。
max_num_results?: number
属性值
number
name
该工具或配置可选择用户自定义名称。
name?: string
属性值
string
ranking_options
type
文件搜索工具的类型。 始终为 file_search。
type: "file_search"
属性值
"file_search"
vector_store_ids
要搜索的矢量存储的 ID。
vector_store_ids: string[]
属性值
string[]