FileSearchTool interface
A tool that searches for relevant content from uploaded files. Learn more about the file search tool.
- Extends
Properties
| filters | |
| max_num_results | The maximum number of results to return. This number should be between 1 and 50 inclusive. |
| ranking_options | Ranking options for search. |
| type | The type of the file search tool. Always |
| vector_store_ids | The IDs of the vector stores to search. |
Property Details
filters
max_num_results
The maximum number of results to return. This number should be between 1 and 50 inclusive.
max_num_results?: number
Property Value
number
ranking_options
type
The type of the file search tool. Always file_search.
type: "file_search"
Property Value
"file_search"
vector_store_ids
The IDs of the vector stores to search.
vector_store_ids: string[]
Property Value
string[]