Update to always use role user as role system is useless pos.

This commit is contained in:
Cristiano Ferreira
2023-06-26 22:50:40 +01:00
parent f0b85fa500
commit 55ae1b28c7
6 changed files with 23 additions and 23 deletions

View File

@@ -12,15 +12,15 @@ from helper.token_counter import count_tokens
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 and is the following: ",
},
{
"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': "