Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

qdrant-relevance-feedback

Skill by NVlabs

Guides an assistant through Qdrant's Relevance Feedback API to improve dense vector search relevance using a few scored seed documents. Aimed at teams that find reranking too costly or need results beyond the initial search pool.

  • Score 72
  • 213 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install qdrant-relevance-feedback

Built from the published package, never by AI.

git clone --depth 1 https://github.com/NVlabs/Skill2Env /tmp/Skill2Env && mkdir -p ~/.claude/skills && cp -r /tmp/Skill2Env/SkillHub/skills/relevance-feedback ~/.claude/skills/qdrant-relevance-feedback

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install qdrant-relevance-feedback in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill explains how to use Qdrant's Relevance Feedback (RF) API to improve dense vector search. Instead of reordering retrieved documents like a reranker, RF changes the vector search itself. It takes a query, a few seed documents with relevance scores, and formula weights, then scores candidates by similarity to the query and to highly rated seeds. The weights must be trained first on 50 to 200 representative queries.

The skill covers two patterns: high-quality top-1 or top-3 results at lower cost than reranking, and recall beyond the initial ANN pool for research, legal, medical or compliance work. It also lists anti-patterns, such as using sparse vectors, fewer than two seeds, or a different feedback model at inference. It is aimed at developers building search who face weak dense retrieval quality.

Written from the project's SKILL.md and checked against it.

What it can do

  • Weight calibrationTrains the naive strategy weights (a, b, c) on real queries before inference.
  • Top-1/3 patternScores five seed documents to get high-precision top results at lower cost than reranking a larger pool.
  • Recall patternFinds relevant documents outside the initial ANN pool, with a second scoring pass on new results.
  • Formula evaluationEvaluates the calibrated formula with the Evaluator class on a separate test set.
  • Feedback model guidanceExplains what makes a good feedback model and how to check training metrics for signal.

What you need

  • Qdrant with the Query Point API
  • qdrant-relevance-feedback Python library
  • A feedback model that scores (query, document) pairs, such as a cross-encoder
  • 50 to 200 representative, real queries for training
  • Dense vectors (sparse vectors are not supported)

Try asking

  • Help me set up Qdrant relevance feedback instead of reranking for top-3 results.
  • Calibrate RF formula weights for my collection using 100 real queries.
  • Find relevant documents beyond my initial ANN results for compliance search.

Good to know

  • Formula weights must be trained per use case, dataset, retriever and feedback model.
  • Not for sparse vectors.
  • Top-10 and deeper recall is weaker than the top-1/3 pattern.
  • The recall pattern has higher latency due to two rounds of feedback scoring.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: SkillHub/skills/relevance-feedback/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to qdrant-relevance-feedback

All alternatives →

Compare with box, n8n-mcp-tools-expert or citation-management

qdrant-relevance-feedback: common questions

Can I use Relevance Feedback with arbitrary formula weights?

No. The source says untrained weights produce arbitrary results. Setting a=1, b=0, c=0 gives vanilla ANN behavior through the RF API.

How many seed documents should I use?

Use at least 2 seeds, with 5 as the recommended default. Using significantly more usually adds noise and scoring cost.

Can I switch feedback models after training?

No. The feedback model used in training and inference must be the same, so switching models requires retraining.

How do I install qdrant-relevance-feedback?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is qdrant-relevance-feedback free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is qdrant-relevance-feedback safe to use?

It scores 72 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to qdrant-relevance-feedback?

Similar skills: box, n8n-mcp-tools-expert, citation-management, exa-search.

qdrant-relevance-feedback Install

Add to stack

Loading.