Skip to main content
Version: 0.0.7 (stable)

agrag.common.data_models.evidence.EvidenceSearchLeg

Bases: StrEnum

One search leg that can find a passage.

Attributes:

  • LEXICAL – Full-text search over stored text.
  • SEMANTIC – Vector search over stored embeddings.
  • RERANK – The cross-encoder stage that reorders fused hits; it appears in failures, never in a hit's legs.

LEXICAL​

LEXICAL = 'lexical'

RERANK​

RERANK = 'rerank'

SEMANTIC​

SEMANTIC = 'semantic'