Skip to content

Retrievers API

evret.retrievers.base

Base interface and data models for retriever integrations.

BaseRetriever

Bases: ABC

Abstract retriever interface used by evaluation pipelines.

batch_retrieve(queries, k)

Retrieve for each query using the same cutoff k.

retrieve(query, k) abstractmethod

Return top-k results for a single query.

RetrievalResult dataclass

Standard retrieval output for all retriever backends.

evret.retrievers.qdrant

Qdrant retriever adapter.

QdrantRetriever

Bases: BaseRetriever

Retrieve documents from Qdrant with a unified Evret interface.

evret.retrievers.chroma

ChromaDB retriever adapter.

ChromaRetriever

Bases: BaseRetriever

Retrieve documents from ChromaDB with a unified Evret interface.

evret.retrievers.weaviate

Weaviate retriever adapter.

WeaviateRetriever

Bases: BaseRetriever

Retrieve documents from Weaviate with a unified Evret interface.

evret.retrievers.milvus

Milvus retriever adapter.

MilvusRetriever

Bases: BaseRetriever

Retrieve documents from Milvus with a unified Evret interface.