Skip to main content

agrag.retrieval

Retrieval package: search engine, fusion, reranking, and retrievers.

Modules:

  • community_context – Community-report enrichment: local-search-style budget-capped context.
  • errors – Errors that the retrieval layer raises.
  • filters – Constraints applied across every retrieval method in one call.
  • fusion – Reciprocal Rank Fusion: combine ranked results from multiple methods.
  • methods – Low-level search method helpers shared by retrievers.
  • recipes – Named, data-only configurations of what SearchEngine runs.
  • rerank – Rerankers that reorder fused search results.
  • resolved_entities – Loading helpers for resolved entities.
  • retrievers – Retriever implementations for entity, chunk, BFS, and text2cypher search.
  • search_engine – Retrieval's public entry point, independent of Graph.
  • settings – Env-backed configuration for retrieval methods and fusion.
  • tracing – Span helpers shared by the retrieval spans.

Classes:

Attributes: