Add speaking endpoints and clean code.
This commit is contained in:
@@ -38,18 +38,14 @@ def correct_answer(
|
||||
"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': {'Fluency and Coherence': 8.0, "
|
||||
"'Lexical Resource': 6.5, 'Grammatical Range and Accuracy': 7.5, 'Pronunciation': "
|
||||
"6.0}}",
|
||||
},
|
||||
{
|
||||
"role": "system",
|
||||
"content": "Don't give explanations for the grades, just provide the json with the grades.",
|
||||
},
|
||||
{
|
||||
"role": "system",
|
||||
"role": "user",
|
||||
"content": "If the answer is unrelated to the question give it the minimum grade.",
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user