Used main branch as base branch in the last time

This commit is contained in:
Carlos Mesquita
2024-07-25 16:59:15 +01:00
parent 10a3243756
commit 877d2f359f
17 changed files with 9051 additions and 1463 deletions

View File

@@ -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";