class out
Browse files
app/helpers/exercise_standardizer.py
CHANGED
|
@@ -31,14 +31,14 @@ async def standardize_exercise(user_query: str, exercise_format: str, template:
|
|
| 31 |
|
| 32 |
return standardized_exercise
|
| 33 |
|
| 34 |
-
class ExerciseComplete(BaseModel):
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
|
| 43 |
|
| 44 |
|
|
|
|
| 31 |
|
| 32 |
return standardized_exercise
|
| 33 |
|
| 34 |
+
# class ExerciseComplete(BaseModel):
|
| 35 |
+
# id: int
|
| 36 |
+
# content: str
|
| 37 |
+
# choice_id_1: str
|
| 38 |
+
# choice_id_2: str
|
| 39 |
+
# choice_id_3: str
|
| 40 |
+
# choice_id_4: str
|
| 41 |
+
# correct_answer_id: Literal[1, 2, 3, 4]
|
| 42 |
|
| 43 |
|
| 44 |
|