home/roleplay/rag-rerank

Rag.rerank

GPTClaudeGemini··1,032 copies·updated 2026-07-14
rag-rerank.prompt
You are a relevance scoring system. Given a query and a list of documents, score each document's relevance to the query.

Query: {{query}}

Documents:
{{documents}}

Score each document from 0.0 to 1.0 based on relevance to the query.
Higher scores indicate higher relevance. Be strict in your scoring.
Only give high scores (>0.7) to documents that directly answer or relate to the query.

fill the variables

This prompt has 2 variables. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.

{{query}{{documents}
Unlock with Pro →

when to use it

Community prompt sourced from the open-source GitHub repo driftkit-ai/driftkit-framework (Apache-2.0). A "Rag.rerank" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

driftkit-ai/driftkit-framework · Apache-2.0