Updated the FillBlanks to the new format
This commit is contained in:
@@ -158,21 +158,21 @@ export interface WritingExercise {
|
||||
}
|
||||
|
||||
export interface AIDetectionAttributes {
|
||||
predicted_class: 'ai' | 'mixed' | 'human';
|
||||
confidence_category: 'high' | 'medium' | 'low';
|
||||
predicted_class: "ai" | "mixed" | "human";
|
||||
confidence_category: "high" | "medium" | "low";
|
||||
class_probabilities: {
|
||||
ai: number;
|
||||
human: number;
|
||||
mixed: number;
|
||||
},
|
||||
};
|
||||
sentences: {
|
||||
sentence: string;
|
||||
highlight_sentence_for_ai: boolean
|
||||
}[]
|
||||
highlight_sentence_for_ai: boolean;
|
||||
}[];
|
||||
}
|
||||
|
||||
export interface WritingEvaluation extends CommonEvaluation {
|
||||
ai_detection?: AIDetectionAttributes
|
||||
ai_detection?: AIDetectionAttributes;
|
||||
}
|
||||
|
||||
export interface SpeakingExercise {
|
||||
@@ -214,7 +214,7 @@ export interface FillBlanksExercise {
|
||||
prompt: string; // *EXAMPLE: "Complete the summary below. Click a blank to select the corresponding word for it."
|
||||
type: "fillBlanks";
|
||||
id: string;
|
||||
words: string[]; // *EXAMPLE: ["preserve", "unaware"]
|
||||
words: (string | {letter: string; word: string})[]; // *EXAMPLE: ["preserve", "unaware"]
|
||||
text: string; // *EXAMPLE: "They tried to {{1}} burning"
|
||||
allowRepetition: boolean;
|
||||
solutions: {
|
||||
|
||||
Reference in New Issue
Block a user