Chuyển đến nội dung
Skillpedia
Học máy40k · #7373

qdrant-search-quality-diagnosis

Skill này làm gì

Công cụ này giúp tìm ra lý do kết quả tìm kiếm trong cơ sở dữ liệu Qdrant chưa tốt. Nó kiểm tra xem vấn đề nằm ở mô hình AI đang dùng, cài đặt tìm kiếm hay các yếu tố khác.

Khi nào nên dùng

  • ✓Khi kết quả tìm kiếm có vẻ sai hoặc không liên quan.
  • ✓Khi bạn mong tìm thấy một thứ nhưng không tìm thấy.
  • ✓Khi chất lượng tìm kiếm đột ngột giảm.

Liên kết skill

https://github.com/github/awesome-copilot/blob/main/skills/qdrant-search-quality/diagnosis/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/github/awesome-copilot/blob/main/skills/qdrant-search-quality/diagnosis/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Giúp tôi hiểu vì sao kết quả tìm kiếm Qdrant của tôi lại tệ.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ so sánh tìm kiếm chính xác với tìm kiếm gần đúng để xem lỗi xảy ra ở đâu. Sau đó, nó gợi ý kiểm tra mô hình AI, cài đặt tìm kiếm (như HNSW), hoặc xem các bộ lọc có chặn kết quả hay không.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

How to Diagnose Bad Search Quality

Before tuning, establish baselines. Use exact KNN as ground truth, compare against approximate HNSW. Target >95% recall@K for production.

Don't Know What's Wrong Yet

Use when: results are irrelevant or missing expected matches and you need to isolate the cause.

  • Test with exact=true to bypass HNSW approximation Search API
  • Exact search bad = model or search pipeline problem. Exact good, approximate bad = tune HNSW.
  • Check if quantization degrades quality (compare with and without)
  • Check if filters are too restrictive (then you might need to use ACORN)
  • If duplicate results from chunked documents, use Grouping API to deduplicate Grouping

Payload filtering and sparse vector search are different things. Metadata (dates, categories, tags) goes in payload for filtering. Text content goes in sparse vectors for search.

Approximate Search Worse Than Exact

Use when: exact search returns good results but HNSW approximation misses them.

Binary quantization requires rescore. Without it, quality loss is severe. Use oversampling (3-5x minimum for binary) to recover recall. Always test quantization impact on your data before production. Quantization

Wrong Embedding Model

Use when: exact search also returns bad results.

Test top 3 MTEB models on 100-1000 sample queries, measure recall@10. Domain-specific models often outperform general models. Hosted inference

Unoptimized Search Pipeline

Use when: exact search also returns bad results and model choice is confirmed by user.

Optimize search according to advanced search-strategies skill.

What NOT to Do

  • Tune Qdrant before verifying the model is right for the task (most quality issues are model issues)
  • Use binary quantization without rescore (severe quality loss)
  • Set hnsw_ef lower than results requested (guaranteed bad recall)
  • Skip payload indexes on filtered fields then blame quality (HNSW can't traverse filtered-out nodes, and filterable HNSW is built only if payload indexes were set up prior)
  • Deploy without baseline recall or other search relevance metrics (no way to measure regressions)
  • Confuse payload filtering with sparse vector search (different things, different config)
Câu hỏi thường gặp

“Recall” là gì?

Đây là chỉ số cho biết công cụ tìm kiếm tìm được bao nhiêu trong số các mục liên quan mà lẽ ra phải tìm thấy.

HNSW là gì?

Đây là phương pháp tìm kiếm gần đúng, nhanh nhưng có thể không chính xác bằng tìm kiếm chính xác.

“Quantization” là gì?

Đây là kỹ thuật giảm kích thước dữ liệu, giúp tìm kiếm nhanh hơn nhưng đôi khi làm giảm chất lượng kết quả.

Chi tiết

Mô tả gốc của tác giả

Diagnoses Qdrant search quality issues. Use when someone reports 'results are bad', 'wrong results', 'not relevant results', 'missing matches', 'recall is low', 'approximate search worse than exact', 'which embedding model', or 'quality dropped after quantization'. Also use when search quality degrades without obvious changes.

repo: github/awesome-copilot

Độ phổ biến

Sao GitHub
40k
Vị trí xếp hạng
#7373
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự