Used main branch as base branch in the last time
This commit is contained in:
@@ -152,11 +152,29 @@ export interface WritingExercise {
|
||||
userSolutions: {
|
||||
id: string;
|
||||
solution: string;
|
||||
evaluation?: CommonEvaluation;
|
||||
evaluation?: WritingEvaluation;
|
||||
}[];
|
||||
topic?: string;
|
||||
}
|
||||
|
||||
export interface AIDetectionAttributes {
|
||||
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
|
||||
}[]
|
||||
}
|
||||
|
||||
export interface WritingEvaluation extends CommonEvaluation {
|
||||
ai_detection?: AIDetectionAttributes
|
||||
}
|
||||
|
||||
export interface SpeakingExercise {
|
||||
id: string;
|
||||
type: "speaking";
|
||||
|
||||
Reference in New Issue
Block a user