relevance-feedback — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited relevance-feedback (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
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.
The Qdrant Query Point API with a type RelevanceFeedbackQuery takes:
target)feedback) with relevance scores (often 4–5 seeds are enough)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.
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:
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 similarityb — how strongly differences in feedback scores matterc — 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.
RelevanceFeedback instance. You can use provided QdrantRetriever or FastembedFeedback, or define your own.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.train on 50–200 representative, real, non-synthetic queries.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.
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.
target to the query retriever embedding (also possible to use Qdrant Cloud Inference).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>using to retriever's handle, RF operates in retriever's vector space.strategy to naive with your calibrated parameterslimit 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.
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:
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.
target to the query retriever embedding (also possible to use Qdrant Cloud Inference)feedback to a list of items where each item contains:example=<seed point ID>score=<feedback score>using to retriever's handle, RF operates in retriever's vector space.strategy to naive with your calibrated parameterslimit 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.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.
a=1, b=0, c=0 can be used if you only want vanilla ANN behavior through the RF API.)~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.