hybrid-search-implementation
Combine vector and keyword search for improved retrieval. Use when implementing RAG systems, building search engines, or when neither approach alone provides sufficient recall.
DeepseekModel
官方收录技能
质量 优秀 · 90
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=wshobson-agents-plugins-llm-application-dev-skills-hybrid-search-implementation-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name hybrid-search-implementation description Combine vector and keyword search for improved retrieval. Use when implementing RAG systems, building search engines, or when neither approach alone provides sufficient recall. Hybrid Search Implementation Patterns for combining vector similarity and keyword-based search. When to Use This Skill Building RAG systems with improved recall Combining semantic understanding with exact matching Handling queries with specific terms (names, codes) Improving search for domain-specific vocabulary When pure vector search misses keyword matches Core Concepts 1. Hybrid Search Architecture Query → ┬─► Vector Search ──► Candidates ─┐ │ │ └─► Keyword Search ─► Candidates ─┴─► Fusion ─► Results 2. Fusion Methods Method Description Best For RRF Reciprocal Rank Fusion General purpose Linear Weighted sum of scores Tunable balance Cross-encoder Rerank with neural model Highest quality Cascade Filter then rerank Efficiency Templates and detailed worked examples Full template library and detailed worked examples live in references/details.md . Read that file when you need the concrete templates. Best Practices Do's Tune weights empirically - Test on your data Use RRF for simplicity - Works well without tuning Add reranking - Significant quality improvement Log both scores - Helps with debugging A/B test - Measure real user impact Don'ts Don't assume one size fits all - Different queries need different weights Don't skip keyword search - Handles exact matches better Don't over-fetch - Balance recall vs latency Don't ignore edge cases - Empty results, single word queries
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |