context_search backend integrates with the managed Volcengine Context Search service. Files are uploaded to TOS (object storage) via pre-signed URLs, then registered into a Context Search RAG scene; splitting, embedding, and retrieval all run server-side, so no local embedding is required.
When to use
- You need a managed semantic-search service without maintaining a vector store yourself;
- You have created a RAG scene and a search engine in Volcengine Context Search.
Prerequisites
- A Volcengine account with a Context Search RAG scene whose scene ID is a numeric string;
- The search engine’s Endpoint and API Key (required for retrieval).
Usage
backend_config:
Parameters
Constructor parameters
backend_config supports the following settings:
Environment variables
Embedding and retrieval both run server-side in Context Search, so this backend requires no embedding model configuration. Ingestion is asynchronous: after files are uploaded, wait for server-side indexing to complete before searching.