Skip to content

Commit

Permalink
better xample
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirAgassi committed Nov 24, 2024
1 parent c24cf20 commit 3f7e34e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions backend/utils/grok.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,13 @@ async def query_grok_quiz(content: str) -> str:
IMPORTANT: Return your response as a SINGLE JSON array containing EXACTLY 4 questions. Example format:
[
{
"question": "What is X?",
"options": ["A", "B", "C", "D"],
"correctAnswer": 0
"question": "What is the derivative of x^2?",
"options": ["x", "2x", "2", "x^2"],
"correctAnswer": 1
},
{
"question": "What is Y?",
"options": ["A", "B", "C", "D"],
"question": "What is the integral of 2x dx?",
"options": ["x^2", "x^2 + C", "2x^2", "2x^2 + C"],
"correctAnswer": 1
}
]
Expand Down

0 comments on commit 3f7e34e

Please sign in to comment.