Skip to content

Dev#17

Merged
zTgx merged 3 commits intomainfrom
dev
Apr 6, 2026
Merged

Dev#17
zTgx merged 3 commits intomainfrom
dev

Conversation

@zTgx
Copy link
Copy Markdown
Contributor

@zTgx zTgx commented Apr 6, 2026

No description provided.

zTgx added 3 commits April 6, 2026 17:46
…nge filtering

- Introduce CrossDocumentStrategy for retrieving relevant content from
  multiple documents and aggregating results into a unified response
- Add HybridStrategy combining BM25 pre-filtering with LLM refinement
  to minimize LLM calls while maintaining accuracy
- Implement PageRangeStrategy for filtering document nodes by page range
  before applying inner retrieval strategies
- Add comprehensive configuration options for each strategy with
  sensible defaults and preset modes
- Provide proper documentation with usage examples for all new strategies
- Include unit tests covering core functionality and edge cases
…nfigurations

- Add HybridStrategyConfig for BM25 + LLM refinement approach
- Add CrossDocumentStrategyConfig for multi-document retrieval
- Add PageRangeStrategyConfig for page-based filtering
- Include default values and test cases for all new configurations
- Update example TOML with comprehensive strategy settings

feat(retrieval): implement hybrid search strategy with BM25 pre-filtering

- Add HybridStrategy supporting BM25 pre-filtering and LLM refinement
- Export new strategy types and configurations
- Add cross-document and page-range strategy support
- Implement ForceHybrid, ForceCrossDocument, and ForcePageRange preferences

refactor(search-stage): integrate hybrid strategy into search pipeline

- Add hybrid_strategy field to SearchStage with proper initialization
- Implement with_hybrid_strategy and with_hybrid_config methods
- Add ForceHybrid strategy preference handling
- Support fallback mechanisms for advanced strategies
- Update package version in Cargo.toml from 0.1.16 to 0.1.17
@zTgx zTgx merged commit 74bf406 into main Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant