feat: fix AI for generation questions with RAG

This commit is contained in:
2026-03-17 17:44:42 -03:00
parent 31939e31ad
commit 55f9a3196e
6 changed files with 376 additions and 196 deletions
+1 -1
View File
@@ -1322,7 +1322,7 @@ pub struct ApplyTemplatePayload {
// ==================== Question Bank ====================
#[derive(Debug, Serialize, Deserialize, sqlx::Type, Clone, PartialEq)]
#[derive(Debug, Serialize, Deserialize, Clone, Copy, sqlx::Type, PartialEq)]
#[sqlx(type_name = "question_bank_type")]
pub enum QuestionBankType {
#[sqlx(rename = "multiple-choice")]