reindex_knowledge_base_metadata_embeddings_api_v1_knowle
Batch reindex metadata embeddings for all existing knowledge bases. This admin-only operation updates each knowledge base's embeddings through external API calls.
Instructions
Batch embed all existing knowledge bases. Admin only.
NOTE: We intentionally do NOT use Depends(get_session) here. This endpoint loops through ALL knowledge bases and calls embed_knowledge_base_metadata() for each one, making N external embedding API calls. Holding a session during this entire operation would exhaust the connection pool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||