änderungen von vorherigen Codexnutzung: sollte den Agent lassen die Aufgaben zu erzeugen
This commit is contained in:
@@ -45,6 +45,7 @@ type Exercise struct {
|
||||
PromptText string `json:"prompt_text"`
|
||||
TargetText string `json:"target_text"`
|
||||
Difficulty int `json:"difficulty"`
|
||||
Source string `json:"source,omitempty"`
|
||||
}
|
||||
|
||||
type WordScore struct {
|
||||
@@ -90,6 +91,32 @@ type ProgressSummary struct {
|
||||
DailyGoalMinutes int `json:"daily_goal_minutes"`
|
||||
}
|
||||
|
||||
type GeneratedExerciseRequest struct {
|
||||
UserID string `json:"user_id"`
|
||||
Profile LearnerProfile `json:"profile"`
|
||||
Progress ProgressSummary `json:"progress"`
|
||||
TargetLanguage string `json:"target_language"`
|
||||
CEFRLevel string `json:"cefr_level"`
|
||||
UILanguage string `json:"ui_language"`
|
||||
SessionID string `json:"session_id"`
|
||||
RecentWeakWords []WordScore `json:"recent_weak_words"`
|
||||
PreferredType string `json:"preferred_type"`
|
||||
}
|
||||
|
||||
type GeneratedExercise struct {
|
||||
ID string `json:"exercise_id"`
|
||||
ExerciseType string `json:"exercise_type"`
|
||||
TargetLanguage string `json:"target_language"`
|
||||
CEFRLevel string `json:"cefr_level"`
|
||||
ReferenceText string `json:"reference_text"`
|
||||
DisplayPrompt string `json:"display_prompt"`
|
||||
TTSText string `json:"tts_text"`
|
||||
FocusPoints []string `json:"focus_points"`
|
||||
SuccessCriteria []string `json:"success_criteria"`
|
||||
ReasonForChoice string `json:"reason_for_choice"`
|
||||
Source string `json:"source"`
|
||||
}
|
||||
|
||||
type Dashboard struct {
|
||||
User User `json:"user"`
|
||||
Profile LearnerProfile `json:"profile"`
|
||||
|
||||
Reference in New Issue
Block a user