Official agent skill

Qdrant Relevance Feedback

by qdrant in qdrant/skills

Expanding the candidate pool via relevance feedback, as an alternative to reranking when a dense retriever is too weak.

OfficialApache-2.0Auto-check passedAI & LLM Engineering

Install Qdrant Relevance Feedback

skills CLI
$ npx skills add qdrant/skills --skill qdrant-relevance-feedback -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install qdrant/skills qdrant-relevance-feedback --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/qdrant/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/qdrant-search-quality/search-strategies/relevance-feedback .claude/skills/qdrant-relevance-feedback && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
qdrant-relevance-feedback
GitHub stars
253
Used in
1 other repo
Token cost
~2.7k tokens
SKILL.md length
1,473 words
Files
1
Skills in repo
33
Repo updated
First seen
Licence
Apache-2.0

At a glance

Expanding the candidate pool via relevance feedback, as an alternative to reranking when a dense retriever is too weak.

  • Works in 2 steps: on feedback seeds → on newly surfaced RF results
  • Someone asks about Qdrants Relevance Feedback API
  • SKILL.md covers How It Works, Want High-Quality Top-1/3…, Want to Find Relevant… and What NOT to Do
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Qdrant Relevance Feedback is an agent skill from qdrant/skills, published by the product's own GitHub organization. Expanding the candidate pool via relevance feedback, as an alternative to reranking when a dense retriever is too weak. Use when someone asks about 'Qdrant's Relevance Feedback API', 'improving dense search relevance/recall', 'how to discover/get more relevant results from vector search', 'cheaper/better alternative to reranking', 'using a more heavy/big embedding model for dense search but can't afford it', 'finding more relevant documents beyond the initial search pool', or 'feedback loops'. Also trigger when…

Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Vector databases and Retrieval-augmented generation. It works with Qdrant. The repository describes itself as: Agent skills for Qdrant vector search: scaling, performance optimization, search quality, monitoring, deployment, model migration, version upgrades, and SDK usage across Python…. The licence is Apache-2.0.

When your agent uses it

  • Someone asks about Qdrants Relevance Feedback API
  • Improving dense search relevance/recall
  • How to discover/get more relevant results from vector search
  • Cheaper/better alternative to reranking

Example prompts

  • “Qdrant”
  • “improving dense search relevance/recall”
  • “how to discover/get more relevant results from vector search”
  • “/qdrant-relevance-feedback”

Requirements

  • Python 3

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. on feedback seeds
  2. on newly surfaced RF results

What it can do on your machine

Read from SKILL.md and the folder at commit 476a18d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • skills.qdrant.tech
    • pypi.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Qdrant Relevance Feedback loads about 2.7k tokens when it runs. Until then it costs about 173 tokens; SKILL.md has 1,473 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~173
When it runs · the whole SKILL.md, loaded when a task matches
~2.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from qdrant/skills at commit 476a18d, republished under its Apache-2.0 licence (© qdrant). 1,473 words, ~2,685 tokens.

Download SKILL.mdSave it as .claude/skills/qdrant-relevance-feedback/SKILL.md (or your agent's skills folder).
name
qdrant-relevance-feedback
description
Expanding the candidate pool via relevance feedback, as an alternative to reranking when a dense retriever is too weak. Use when someone asks about 'Qdrant's Relevance Feedback API', 'improving dense search relevance/recall', 'how to discover/get more relevant results from vector search', 'cheaper/better alternative to reranking', 'using a more heavy/big embedding model for dense search but can't afford it', 'finding more relevant documents beyond the initial search pool', or 'feedback loops'. Also trigger when the user has a search quality problem due to a dense retriever being weak and is considering reranking as a solution — this API may be a better fit

Reranking reorders documents that have already been retrieved. Qdrant's Relevance Feedback (RF) instead modifies the vector search process itself based on a small amount of reranker feedback, distilling reranker (feedback model) knowledge into the search step. This allows RF to surface documents that the initial ANN search did not score highly enough.

The RF is intended for tasks where relevance correlates with similarity in vector space.

How you apply the RF depends on your goals.
First, understand how the RF works, read the ENTIRE section. Then define your goals and choose the appropriate usage pattern described below. Make sure to avoid the listed anti-patterns ("DO NOTs"). Before implementing anything, read CAREFULLY to avoid missing important details.

How It Works

The Qdrant Query Point API with a type RelevanceFeedbackQuery takes:

  • a query (target)
  • a small list of seed documents (feedback) with relevance scores (often 4–5 seeds are enough)
  • formula weights, which MUST be trained once per general search use case (your dataset, dense retriever, and feedback model)

If you do not train the formula weights, results will at best be random, will not align with your data distribution or model behavior. Training is lightweight because the formula itself is simple.

During search, it scores each candidate by combining similarity to the original query, similarity to highly rated seed documents and dissimilarity to poorly rated ones.

Feedback Model

A feedback model is any model that can produce a float relevance score for (query, document) pairs. Higher scores must always mean higher relevance.

Examples: a cross-encoder, embedding similarity (for example, cosine similarity between query and document embeddings, or max_sim for late interaction models), an LLM-based scorer, a custom ranker.

The feedback model used during training and inference MUST be the same model. Formula weights during training are calibrated to that model's score distribution. If you switch feedback models, you must retrain.

What is a Good Feedback Model:

  • If the model does not improve ranking quality when used as a reranker on retrieved documents, the RF search will not have a meaningful signal to amplify.
  • RF search quality depends heavily on how well the feedback model scores partial matches. The training loss of RF formula relies on relative ordering, so poor score separation in the middle range (documents that are neither clearly relevant nor clearly irrelevant) weakens results.
To Make the RF API Work, You Need to Calibrate Weights First

Use when: setting up RF for a new use case — a new collection, feedback model, or embedding model powering ANN search.

RF uses a weighted formula that combines the original query vector with feedback signals.

For the currently available naive strategy, the learned weights control:

  • a — how much to trust the original ANN query-document similarity
  • b — how strongly differences in feedback scores matter
  • c — how strongly to follow the feedback direction (toward relevant documents and away from irrelevant ones)

These weights must be learned from your data before use. You cannot safely use arbitrary values.

  • Install the qdrant-relevance-feedback Python library. Study what goes into RelevanceFeedback.
  • Initialize a RelevanceFeedback instance. You can use provided QdrantRetriever or FastembedFeedback, or define your own.
  • Review train parameters before calling train. The library retrieves limit candidates per train query, scores them with the feedback model, learns the weighting parameters, and returns the calibrated values.
  • Call train on 50–200 representative, real, non-synthetic queries.
    • Generate train queries yourself based on the use case, but give the option to the user to provide them, too.
    • Inform user on cost and quality trade-offs of training.
  • Check train metrics which show if RF had a signal (disagreement between retriever and feedback model) to distill and learn from. If there was no signal to learn from, adapt training parameters, queries or change a feedback model and retrain until RF learns well.
  • Store the resulting RF parameters in your configuration and use them during inference. Retrain if your query distribution or corpus changes significantly.
  • Evaluate resulting formula with Evaluator on a separate test set of representative, real, non-synthetic queries. If results seem unsatisfactory, investigate and inform user.

The retriever, feedback model, and related parameters defined during training are assumed to remain the same during inference.

Want High-Quality Top-1/3 Results at Reasonable Cost

Use when: top-1 or top-3 precision matters most, and reranking a large pool of documents would be too expensive or slow. This pattern below can match reranking quality at the top of the ranking for semantic similarity tasks, but it performs worse at deeper cutoffs. Do not use this approach when top-10+ recall is the priority.

Only score a small set of seed documents. Five seeds is a robust default across many task types and scoring them costs user roughly 5× less than reranking a 25-document pool.

  • Retrieve the top 5 documents using ANN search. These become the feedback seeds. You'll need their stored embeddings.
  • Score them with the feedback model used in training.
  • Call Qdrant's Query API using the relevance feedback query:
    • set target to the query retriever embedding (also possible to use Qdrant Cloud Inference).
    • set feedback to a list of items where each item contains:
      • example=<seed vector, same embedding model as for target> (also possible to use Qdrant Cloud Inference)
      • score=<feedback model score>
    • set using to retriever's handle, RF operates in retriever's vector space.
    • set strategy to naive with your calibrated parameters
    • set limit to the number of final results you need and use the RF results directly as final results.

Check the Relevance Feedback Query API documentation and study code/methods of the relevant SDK before filling in anything.

Using a point ID in example causes the RF API to automatically exclude that document from the final results. Using stored embeddings used for retrieval instead potentially keeps the document in the final results.

Show full SKILL.md (521 more words)Show less

Want to Find Relevant Documents Beyond the Initial Search Results

Use when: recall matters more than latency or cost (research, legal, medical, compliance), and relevant documents may exist outside the initial ANN retrieval pool.

It performs two feedback model scoring rounds:

  1. on feedback seeds
  2. on newly surfaced RF results

The second reranking pass safely promotes newly discovered documents into the top-10 of the final ranking. The advantage over standard reranking is that RF can reach relevant documents that lie completely outside the initial ANN pool, while a reranker with the same budget cannot. The tradeoff is higher latency due to two rounds of feedback-model scoring.

  • Retrieve and score 5 seed documents. These become the feedback seeds. You'll need their point IDs.
  • Call Qdrant's query API using the relevance feedback query:
    • set target to the query retriever embedding (also possible to use Qdrant Cloud Inference)
    • set feedback to a list of items where each item contains:
      • example=<seed point ID>
      • score=<feedback score>
    • set using to retriever's handle, RF operates in retriever's vector space.
    • set strategy to naive with your calibrated parameters
    • set limit to the number of results user can afford to rerank based on the available cost budget. The total scoring cost equals the cost of scoring both the seeds and the RF results, roughly equivalent to reranking a pool of the same combined size. Inform and consult with the user.
    • score the returned RF results with your feedback model.
  • Merge the original seeds and RF results, then sort by feedback score. These will be your final results.

Check the Relevance Feedback Query API documentation and study code/methods of the relevant SDK before filling in anything.

Using a point ID in example causes the RF API to automatically exclude that document from the final results. Using stored embeddings used for retrieval instead potentially keeps the document in the final results.

What NOT to Do

  • Do not skip calibration and use random formula weights. Untrained weights produce arbitrary results. (a=1, b=0, c=0 can be used if you only want vanilla ANN behavior through the RF API.)
  • Do not use the RF API on sparse vectors.
  • Do not use a feedback model where higher scores mean lower relevance. Scores must be monotonic: higher = more relevant.
  • Do not use fewer than 2 feedback seeds. A single seed provides no contrastive signal. The formula needs at least one relatively more relevant and one relatively less relevant example to establish direction. Two is the minimum; five is the recommended default.
  • Do not use significantly more than 5 seeds expecting better quality. Additional seeds usually add noise and increase scoring cost without meaningful gains.
  • Do not use a different feedback model during inference than the one used during calibration. The learned weights are tied to that model's score scale and distribution.
  • Do not use a feedback model that does not improve retrieval quality as a standard reranker on your data.
  • Do not proceed to inference if training and evaluation metrics of qdrant-relevance-feedback package demonstrated unsatisfactory results, instead find a good training set of representative queries, a feedback model providing a meaningful signal and effective train parameters.

© qdrant, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/qdrant-search-quality/search-strategies/relevance-feedback of qdrant/skills.

Open the folder on GitHubat commit 476a18d

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in qdrant/skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Qdrant Relevance Feedback next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Qdrant Relevance Feedback compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Qdrant Relevance Feedback this skillqdrant/skills2531 repos~2.7kAutomated safety check: PassApache-2.0
RAG Implementationwshobson/agents40k10 repos~1.1kAutomated safety check: PassMIT
Hunt RAG Vectorelementalsouls/Claude-BugHunter4.8k—~2.6kAutomated safety check: PassMIT
Qdrant Search Qualitygithub/awesome-copilot40k1 repos~336Automated safety check: PassMIT
QdrantLuciole-Studio/Misaka-Agent1391 repos~3.4kAutomated safety check: PassMIT
Building RAG Systemsaiskillstore/marketplace4301 repos~2.7kAutomated safety check: PassNone

Similar skills

  • RAG Implementation

    wshobson/agents

    Build retrieval-augmented generation systems: pick a vector database and embedding model, choose retrieval and reranking strategies, and start from a LangGraph pipeline.

    40k GitHub starsUsed in 10 repos~1.1k tokens
    AI & LLM EngineeringAuto-check passed
  • Hunt RAG Vector

    elementalsouls/Claude-BugHunter

    Hunt vector-store / embedding-layer weaknesses in RAG pipelines (OWASP LLM08 Vector and Embedding Weaknesses) — persistent corpus poisoning that survives across sessions and users (distinct from…

    4.8k GitHub stars~2.6k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Qdrant Search Quality

    github/awesome-copilot

    Official

    Diagnoses and improves Qdrant search relevance. An agent skill from github/awesome-copilot.

    40k GitHub starsUsed in 1 repo~336 tokens
    AI & LLM EngineeringAuto-check passed
  • Qdrant

    Luciole-Studio/Misaka-Agent

    Vector search engine for production RAG systems. An agent skill from Luciole-Studio/Misaka-Agent.

    139 GitHub starsUsed in 1 repo~3.4k tokens
    AI & LLM EngineeringAuto-check passed
  • Building RAG Systems

    aiskillstore/marketplace

    Build production RAG systems with semantic chunking, incremental indexing, and filtered retrieval.

    430 GitHub starsUsed in 1 repo~2.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Qdrant Vector Search

    Orchestra-Research/AI-Research-SKILLs

    Explains how to run Qdrant, a Rust vector database, for RAG and semantic search, covering collections, points, distance metrics and filtered or batched queries.

    13k GitHub starsUsed in 5 repos~3.4k tokens
    DatabasesAuto-check passed

More from qdrant/skills

All 33 skills in this repo
  • Qdrant Clients SDK

    qdrant/skills

    Official

    Qdrant provides client SDKs for various programming languages, allowing easy integration with Qdrant deployments.

    253 GitHub starsUsed in 2 repos~752 tokens
    Auto-check: notes
  • Qdrant Advisor

    qdrant/skills

    Official

    Diagnose, troubleshoot, and advise on any Qdrant deployment by loading the latest official Qdrant skills live from skills.qdrant.tech.

    253 GitHub stars~1.7k tokensUpdated yesterday
    Auto-check passed
  • Official

    Guides Qdrant deployment selection. An agent skill from qdrant/skills.

    253 GitHub starsUsed in 2 repos~976 tokens
    Auto-check passed
  • Official

    Guides Qdrant search strategy selection. An agent skill from qdrant/skills.

    253 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Official

    Diagnoses and guides Qdrant horizontal scaling decisions. An agent skill from qdrant/skills.

    253 GitHub starsUsed in 2 repos~833 tokens
    Auto-check passed

Works with

Questions about Qdrant Relevance Feedback

What does Qdrant Relevance Feedback do?

Expanding the candidate pool via relevance feedback, as an alternative to reranking when a dense retriever is too weak. Qdrant Relevance Feedback is an agent skill from qdrant/skills, published by the product's own GitHub organization. Expanding the candidate pool via relevance feedback, as an alternative to reranking when a dense retriever is too weak.

When should I use Qdrant Relevance Feedback?

Qdrant Relevance Feedback fits situations like: someone asks about Qdrants Relevance Feedback API; improving dense search relevance/recall; how to discover/get more relevant results from vector search; cheaper/better alternative to reranking.

How do I install Qdrant Relevance Feedback in Claude Code?

Run `npx skills add qdrant/skills --skill qdrant-relevance-feedback -a claude-code`. Or copy the skill folder (skills/qdrant-search-quality/search-strategies/relevance-feedback in qdrant/skills) into .claude/skills/qdrant-relevance-feedback in your project. Claude Code loads it when a task matches its description.

How do I install Qdrant Relevance Feedback in Codex?

Run `npx skills add qdrant/skills --skill qdrant-relevance-feedback -a codex`. Or copy the skill folder (skills/qdrant-search-quality/search-strategies/relevance-feedback in qdrant/skills) into .agents/skills/qdrant-relevance-feedback in your project. Codex loads it when a task matches its description.

Can I use Qdrant Relevance Feedback in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add qdrant/skills --skill qdrant-relevance-feedback -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/qdrant-relevance-feedback, .gemini/skills/qdrant-relevance-feedback, .github/skills/qdrant-relevance-feedback and .opencode/skills/qdrant-relevance-feedback in your project.

What does Qdrant Relevance Feedback need to run?

SKILL.md names no scripts, command-line tools or credentials: Qdrant Relevance Feedback is instructions for the agent only. Our summary lists: Python 3.

Does Qdrant Relevance Feedback access the network?

SKILL.md names 2 domains. As links in the text: skills.qdrant.tech and pypi.org. This is read from the text; nothing was executed.

Is Qdrant Relevance Feedback safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Qdrant Relevance Feedback use?

Qdrant Relevance Feedback is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Qdrant Relevance Feedback use?

About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Qdrant Relevance Feedback?

Skills that share tags, products or a category with Qdrant Relevance Feedback: RAG Implementation (wshobson/agents, 40k stars), Hunt RAG Vector (elementalsouls/Claude-BugHunter, 4.8k stars), Qdrant Search Quality (github/awesome-copilot, 40k stars) and Qdrant (Luciole-Studio/Misaka-Agent, 139 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Qdrant Relevance Feedback?

qdrant (a GitHub organization, an official publisher) maintains it in qdrant/skills, which has 253 GitHub stars. The repository holds 33 skills in this directory. The repository was last updated on October 7, 2026.

Source: qdrant/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.