file_search_agent
Search through files and documents using AI to find specific information based on your query, returning relevant results from specified vector stores.
Instructions
Use an AI agent specialized in searching through files and documents to find relevant information.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
max_results | No | The maximum number of document results to return. | |
query | Yes | The search query or question to find in the documents. | |
vector_store_ids | Yes | The IDs of the vector stores to search in. This is required for file search to work. |
Input Schema (JSON Schema)
{
"properties": {
"max_results": {
"default": 5,
"description": "The maximum number of document results to return.",
"title": "Max Results",
"type": "integer"
},
"query": {
"description": "The search query or question to find in the documents.",
"title": "Query",
"type": "string"
},
"vector_store_ids": {
"description": "The IDs of the vector stores to search in. This is required for file search to work.",
"items": {
"type": "string"
},
"title": "Vector Store Ids",
"type": "array"
}
},
"required": [
"query",
"vector_store_ids"
],
"type": "object"
}