process_file_api_v1_retrieval_process_file_post
Process a file by extracting its content and storing it in a vector database for retrieval. Enables document indexing and semantic search within OpenWebUI.
Instructions
Process a file and save its content to the vector database. Process a file and save its content to the vector database. Note: granular session management is used to prevent connection pool exhaustion. The session is committed before external API calls, and updates use a fresh session.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_id": "<file_id>"
},
"name": "process_file_api_v1_retrieval_process_file_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection_name | No | ||
| content | No | ||
| file_id | Yes |