Expand description
Search module for hybrid retrieval
Provides combined dense (vector) and sparse (BM25) search capabilities with Reciprocal Rank Fusion for optimal result quality.
Also includes cross-encoder reranking for improved precision, context compression for token-efficient output, query understanding for intelligent search preprocessing, and persistent index management.
Structs§
- Extracted
Entity - Extracted entity from query
- Index
Config - Configuration for the index manager
- Index
Document - Document to be indexed
- Index
Manager - Index manager for persistent skill indexing
- Index
Metadata - Index metadata stored on disk
- Index
Stats - Statistics about the index
- Pipeline
Health - Health status of the pipeline
- Pipeline
Index Stats - Statistics about indexed documents
- Pipeline
Search Result - Result from a search operation
- Processed
Query - Processed query with intent, entities, and expansions
- Provider
Status - Status of an individual component
- Query
Expansion - Query expansion with synonyms and related terms
- Query
Processor - Query processor for intelligent search preprocessing
- Search
Pipeline - Unified search pipeline that orchestrates all RAG components
- Skill
Checksum - Checksum for a skill to detect changes
- Sync
Result - Result of a sync operation
Enums§
- Entity
Type - Entity type for extracted entities
- Fusion
Method - Fusion method to combine search results
- Query
Intent - Query intent classification
Functions§
- reciprocal_
rank_ fusion - Reciprocal Rank Fusion (RRF)
- weighted_
sum_ fusion - Weighted sum fusion