Retrieval
Retrieval for AI applications
Index content once and use it for semantic search, recommendations and RAG with embeddings generated on QDivZero.
How it fits together
Choose a compatible embedding endpoint, either a deployment or an available public model; create a Retrieval database that uses it, then index documents with content and metadata.
One index, several experiences
Use the same database for text, image or multimodal search when the embedding model supports it. Record view signals to bias results toward a user's interests.
Independent lifecycle
The index remains a managed QDivZero resource. The embedding model must be available when content or queries are vectorized; if you use a dedicated deployment, check its state.
API example
List account Retrieval databases and copy the ID of the database you want to use.
Set QDIV0_USER_API_KEY to a personal uk_ key. The default account is used; for another account you belong to, add its identifier in the X-Account-ID header.
1curl --fail-with-body \
2 "https://api.qdiv0.com/v1/flexible-vector-databases" \
3 -H "Authorization: Bearer $QDIV0_USER_API_KEY"