Skip to content

Database#29

Open
Kryslogem wants to merge 36 commits into
SkyCascade:mainfrom
nat50:database
Open

Database#29
Kryslogem wants to merge 36 commits into
SkyCascade:mainfrom
nat50:database

Conversation

@Kryslogem
Copy link
Copy Markdown

@Kryslogem Kryslogem commented Mar 1, 2026

link to database

nat50 and others added 30 commits February 4, 2026 23:55
…tion API

- Add BaseLLMService abstract class for provider-agnostic LLM calls
- Move Gemini implementation to dedicated provider module
- Add LessonService for HTML lesson generation
- Add generate_lesson API endpoint (POST /ai/lesson/generate/)
- Register ai_core in INSTALLED_APPS and URL config
- Add GOOGLE_API_KEY to .env.example"
Add database configuration for Neon PostgresSQL
Refactor: restructure ai_core with base LLM service and lesson genera…
- Add QuizService with prompt, JSON parsing, validation, and retry logic
- Add generate_quiz API endpoint (POST /ai/quiz/generate/)
- Support configurable num_questions and difficulty (easy/medium/hard)
- Convert LessonService prompt from Vietnamese to English
- Clean up duplicate imports in views.py and __init__.py
Add quiz generation service and convert prompts to English
Replaced SQLite database configuration with PostgreSQL using dj_database_url.
Updated email backend configuration for development and production environments.
Added Cloudinary configuration for media file storage.
UI upload for AI, loader and save to database
Create UI for generate lesson
Add quiz generate + quiz management. Done perfectly with low cortisol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants