Update to always use role user as role system is useless pos.
This commit is contained in:
@@ -24,22 +24,22 @@ def generate_summarizer(
|
||||
frequency_penalty=float(frequency_penalty),
|
||||
messages=[
|
||||
{
|
||||
"role": "system",
|
||||
"role": "user",
|
||||
"content": "You are a IELTS examiner.",
|
||||
},
|
||||
{
|
||||
"role": "system",
|
||||
"role": "user",
|
||||
"content": f"The question you have to grade is of type {question_type} and is the following: {question}",
|
||||
},
|
||||
{
|
||||
"role": "system",
|
||||
"role": "user",
|
||||
"content": "Please provide a JSON object response with the overall grade and breakdown grades, "
|
||||
"formatted as follows: {'overall': 7.0, 'task_response': {'Task Achievement': 8.0, "
|
||||
"'Coherence and Cohesion': 6.5, 'Lexical Resource': 7.5, 'Grammatical Range and Accuracy': "
|
||||
"6.0}}",
|
||||
},
|
||||
{
|
||||
"role": "system",
|
||||
"role": "user",
|
||||
"content": "Don't give explanations for the grades, just provide the json with the grades.",
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user