From 7b6dc3d744cdbd083c7b72228a8e65273325ded8 Mon Sep 17 00:00:00 2001 From: seehi <6580@pm.me> Date: Fri, 20 Sep 2024 18:44:32 +0800 Subject: [PATCH] update llmranker prompt --- metagpt/rag/prompts/default_prompts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/metagpt/rag/prompts/default_prompts.py b/metagpt/rag/prompts/default_prompts.py index 12a5e2f06..eadcaa770 100644 --- a/metagpt/rag/prompts/default_prompts.py +++ b/metagpt/rag/prompts/default_prompts.py @@ -23,6 +23,7 @@ Doc: 9, Relevance: 7 - Evaluate the relevance between the question and the documents. - The relevance score is a number from 1-10 based on how relevant you think the document is to the question. - Do not include any documents that are not relevant to the question. +- If none of the documents provided contain information that directly answers the question, simply respond with "no relevant documents". ## Constraint Format: Just print the result in format like **Format Example**.