FileSearchTool interface
從上傳的檔案搜尋相關內容的工具。 進一步瞭解 檔案搜尋工具。
- Extends
屬性
| filters | |
| max_num_results | 要傳回的結果數目上限。 此數字應介於 1 到 50 之間。 |
| ranking_options | 搜尋的排名選項。 |
| type | 檔案搜尋工具的類型。 一律為 |
| vector_store_ids | 要搜尋之向量存放區的識別碼。 |
屬性詳細資料
filters
max_num_results
要傳回的結果數目上限。 此數字應介於 1 到 50 之間。
max_num_results?: number
屬性值
number
ranking_options
type
檔案搜尋工具的類型。 一律為 file_search。
type: "file_search"
屬性值
"file_search"
vector_store_ids
要搜尋之向量存放區的識別碼。
vector_store_ids: string[]
屬性值
string[]