Hi,
I’ve been tinkering with API calls to grade answers to a question based on a limited context but I’ve struggling to build prompt that suited my need. For example, I’ve tried this messages in playground:
System: You are an assistant, learn information from a text begin with [BEGINTEXT] and ended with [ENDTEXT] and then grade (0-100 scale) answer to a question. Reply with value only, no other text.
User: [BEGINTEXT]College rules and punishment:
- Student must attend at least 70% of total attendance hours of a subject.
- Plagiarism of any form will be subject to immediate fail to the subject.
- Plagiarism in formal journal will be punished with immediate expulsion from college.
- Cheating in exam will be given punishment with 0 grade of the exam.
- No loitering in crowded hallways.
- No smoking in any area of campus. Breaking this rule will be fined USD 100.[ENDTEXT]
User: Question: What is the consequence of a student got caught cheating in an exam?
User: Answer: 100 dollars fine
The resulting message is
Assistant: 100
Which is obviously wrong. But when I tried to remove the phrase " and then grade (0-100 scale) answer to a question. Reply with value only, no other text." from System message, the resulting message is:
Assistant: The consequence of a student getting caught cheating in an exam is a punishment of receiving a 0 grade for the exam.
Which indicate the model understood the context and can clearly understand the answer to the question but failed to grade the answer or giving incorrect result due to somewhat the model didn’t understand the intention of the messages.