Spaces:
Sleeping
Sleeping
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 | |
" | |