Feature: Support both Free-Text and Multiple-Choice question types

This commit is contained in:
kobold-ai
2026-09-21 11:35:39 +02:00
parent c3a21369ef
commit 58959ca881
13 changed files with 448 additions and 47 deletions
+2
View File
@@ -30,6 +30,8 @@ class SuggestionCreateRequest(BaseModel):
antwort: str
tipp: Optional[str] = None
name: Optional[str] = "Gast"
question_type: Optional[str] = "text"
falsche_antworten: Optional[List[str]] = None
class QuestionAdminCreate(BaseModel):
category: str = "harry_potter"