Skip to content

Dev#28

Merged
zTgx merged 4 commits into
mainfrom
dev
Apr 9, 2026
Merged

Dev#28
zTgx merged 4 commits into
mainfrom
dev

Conversation

@zTgx
Copy link
Copy Markdown
Member

@zTgx zTgx commented Apr 9, 2026

No description provided.

zTgx added 4 commits April 9, 2026 00:01
- Introduce search_from method to SearchTree trait allowing searches
  to start from specific nodes instead of root
- Implement core search logic refactoring in BeamSearch and GreedySearch
  to support parameterized start nodes via search_impl method
- Add ToCNavigator module for hierarchical subtree location
- Update SearchStage to use ToC-based location followed by tree
  traversal from located subtrees
- Replace LLM-first direct TOC search with structured ToC navigation
- Remove debug println statements and replace with proper logging
- Refactor search execution to handle both single and decomposed queries
- Add SearchCue type for representing located subtrees with confidence
…lback logic

- Rename level_0_nodes top_level_nodes for clarity
- Simplify BM25 scoring phase description in docs
- Split document imports for better organization
- Add fallback mechanism when no branches pass threshold
- Improve LLM refinement by collecting tree entries directly
- Add depth control for tree traversal in LLM refinement
- Remove unused TocView dependency

fix(retrieval): enhance search stage with candidate restoration

- Use depth-1 nodes instead of level-0 for top-level sections
- Restore cue root nodes as direct candidates during traversal
- Add sorting and deduplication for search candidates
- Improve debugging output for search iterations
feat(search): add search_from functionality and ToC-based navigation
@zTgx zTgx merged commit d3178c6 into main Apr 9, 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