mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-06 05:08:20 +00:00
Fix typo in qa eval chain prompt (#2797)
This commit is contained in:
parent
e49f1e628c
commit
0e763677e4
@ -21,7 +21,7 @@ PROMPT = PromptTemplate(
|
|||||||
)
|
)
|
||||||
|
|
||||||
context_template = """You are a teacher grading a quiz.
|
context_template = """You are a teacher grading a quiz.
|
||||||
You are given a question, the contex the question is about, and the student's answer You are asked to score the student's answer as either CORRECT or INCORRECT, based on the context.
|
You are given a question, the context the question is about, and the student's answer. You are asked to score the student's answer as either CORRECT or INCORRECT, based on the context.
|
||||||
|
|
||||||
Example Format:
|
Example Format:
|
||||||
QUESTION: question here
|
QUESTION: question here
|
||||||
@ -41,7 +41,7 @@ CONTEXT_PROMPT = PromptTemplate(
|
|||||||
|
|
||||||
|
|
||||||
cot_template = """You are a teacher grading a quiz.
|
cot_template = """You are a teacher grading a quiz.
|
||||||
You are given a question, the contex the question is about, and the student's answer You are asked to score the student's answer as either CORRECT or INCORRECT, based on the context.
|
You are given a question, the context the question is about, and the student's answer. You are asked to score the student's answer as either CORRECT or INCORRECT, based on the context.
|
||||||
Write out in a step by step manner your reasoning to be sure that your conclusion is correct. Avoid simply stating the correct answer at the outset.
|
Write out in a step by step manner your reasoning to be sure that your conclusion is correct. Avoid simply stating the correct answer at the outset.
|
||||||
|
|
||||||
Example Format:
|
Example Format:
|
||||||
|
Loading…
Reference in New Issue
Block a user