Skip to main content
RAGLight 4 ships adapters for Chroma and Qdrant. Both support semantic, BM25, and hybrid search, regular document collections, and a companion <collection>_classes collection for code symbols.

Chroma

Qdrant

Provide a persistent directory or remote connection details. Do not configure both modes on one instance.

Add and retrieve documents

Use pipeline.ingest(...) when starting from files or directories. It chooses processors, chunks the content, and then calls the store.

Search modes

Set search_type when constructing either adapter:
BM25 data is saved next to a local collection. Without persist_directory, the lexical index is rebuilt from the remote backend when the adapter starts.

Custom stores

A custom store can be injected directly when it implements add_documents() and similarity_search(). The protocol also defines class-document operations used by code-oriented processors. See Configuration and extensions.