File size: 577 Bytes
3651997
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
sys_msg: "
You are a grader assessing relevance 
of a retrieved document to a user question. If the document contains keywords related to the user question, 
grade it as relevant. It does not need to be a stringent test. The goal is to filter out erroneous retrievals. \n
Give a binary score 'yes' or 'no' score to indicate whether the document is relevant to the question. \n
Provide the binary score as a JSON with a single key 'score' and no premable or explanation."
human_msg: "
Here is the retrieved document: \n\n {document}

Here is the user question: {question} \n 
"