Skip to main content

Pre-warm the embedding cache for a search query

POST 

https://platform.docana.com/api/v1/search/warmup/

Generates the text and multimodal embeddings for the query and stores them in the embedding cache, so a following POST /api/v1/search/ call with the same query reads them from cache instead of waiting on the embedding service. Body: { query } with 5-1000 characters. Validation failures answer 400 { error: "Invalid query" }.

Request

Responses

Both embeddings were generated and cached