agentsop-hybrid-retrieval
CommunityFix exact-token retrieval with traffic-driven hybrid
Authoragentsope
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Dense-only retrievers often miss the right document when users paste exact identifiers like error codes, SKUs, API/function names, or citation strings, leading to “searched exact string and got nothing / wrong doc” failures.
Core Features & Use Cases
- Traffic-driven hybrid decisioning: adds sparse (BM25/keyword) only when real query traffic has a non-trivial lexical-identity share, avoiding unnecessary complexity.
- Correct dense+sparse fusion: wires dense and BM25 and fuses results using robust methods (e.g., RRF) rather than naïvely summing incompatible scores.
- Alpha tuning and routing: tunes the dense↔sparse blend per query type (semantic vs lexical), or routes queries to the right configuration to prevent regressions.
Quick Start
Ask your agent to assess your retrieval corpus and traffic, then implement a dense+BM25 hybrid retriever that fuses with RRF and tunes alpha per query type to recover exact-token matches without degrading semantic recall.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: agentsop-hybrid-retrieval Download link: https://github.com/agentsope/SkillAlchemy/archive/main.zip#agentsop-hybrid-retrieval Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.