FileSearchTool interface
從上傳的檔案搜尋相關內容的工具。 進一步瞭解 檔案搜尋工具。
- Extends
屬性
| description | Deprecated. 此屬性已廢止,未來版本將被移除。 |
| filters | 可用於檔案搜尋的篩選器。 |
| max_num_results | 要傳回的結果數目上限。 此數字應介於 1 到 50 之間。 |
| name | Deprecated. 此屬性已廢止,未來版本將被移除。 |
| ranking_options | 搜尋的排名選項。 |
| tool_configs | Deprecated. 此屬性已廢止,未來版本將被移除。 |
| type | 檔案搜尋工具的類型。 一律為 |
| vector_store_ids | 要搜尋之向量存放區的識別碼。 |
屬性詳細資料
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
要搜尋之向量存放區的識別碼。
vector_store_ids: string[]
屬性值
string[]