Skip to content

Commit

Permalink
Merge pull request #44 from polyglot-edu/20-new-execution-api-concept
Browse files Browse the repository at this point in the history
fix: api update
  • Loading branch information
tmaog authored May 22, 2024
2 parents d406a36 + 503babe commit ba8425c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type AIExerciseType = {
macroSubject: string;
title: string;
level: number; //0=primary_school, 1=middle_school, 2=high_school, 3=college, 4=academy
typeOfExercise: TypeOfExercise; //0=fill_in_the_blanks, 1=question, 2=choice, 3=conceptual, 4=practical
typeOfActivity: TypeOfExercise; //0=fill_in_the_blanks, 1=question, 2=choice, 3=conceptual, 4=practical
learningObjective: string;
bloomLevel: number; //0=Remembering, 1=Understanding, 2=Applying, 3=Analyzing, 4=Evaluating, 5=Creating
language: string;
Expand Down
2 changes: 1 addition & 1 deletion src/execution/execution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export class Execution {
const response = await API.generateNewExercise({
macroSubject: debtEdgeData.macroSubject,
level: debtEdgeData.level,
typeOfExercise: debtEdgeData.typeOfExercise,
typeOfActivity: debtEdgeData.typeOfExercise,
bloomLevel: debtEdgeData.bloomLevel,
language: debtEdgeData.language,
material: debtEdgeData.material,
Expand Down

0 comments on commit ba8425c

Please sign in to comment.