FileSearchTool interface
一个工具,用于搜索已上传文件中的相关内容。 详细了解 文件搜索工具。
- 扩展
属性
| description | Deprecated. 该属性已被弃用,未来版本中将被移除。 |
| filters | 用于文件搜索的筛选条件。 |
| max_num_results | 要返回的最大结果数。 此数字应介于 1 和 50 之间(含)。 |
| name | Deprecated. 该属性已被弃用,未来版本中将被移除。 |
| ranking_options | 用于搜索的排名选项。 |
| tool_configs | Deprecated. 该属性已被弃用,未来版本中将被移除。 |
| type | 文件搜索工具的类型。 始终为 |
| vector_store_ids | 要搜索的矢量存储的 ID。 |
属性详细信息
description
Deprecated. 该属性已被弃用,未来版本中将被移除。
description?: string
属性值
string
filters
max_num_results
要返回的最大结果数。 此数字应介于 1 和 50 之间(含)。
max_num_results?: number
属性值
number
name
Deprecated. 该属性已被弃用,未来版本中将被移除。
name?: string
属性值
string
ranking_options
tool_configs
Deprecated. 该属性已被弃用,未来版本中将被移除。
tool_configs?: Record<string, ToolConfig>
属性值
Record<string, ToolConfig>
type
文件搜索工具的类型。 始终为 file_search。
type: "file_search"
属性值
"file_search"
vector_store_ids
要搜索的矢量存储的 ID。
vector_store_ids: string[]
属性值
string[]