Files
Zportal-Wiki-VectorDB-Chat/wiki-vector-chat.py
admin 6271f3726e Improve VectorDB search: multi-query, topic boosting, wider recall
- Generate multiple query variants (entities, topic words, combined)
- Search with top_k=30 per sub-query for wider recall
- Boost results matching multiple topic words for relevance
- Deduplicate and merge across all sub-queries
- Return top 15 results (up from 10) for richer RAG context

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-03 11:42:44 +00:00

20 KiB