feat: Update Curriculum Studio with AI Assets panel to manually generate and input NotebookLM assets

This commit is contained in:
Hamza-Ayed
2026-08-29 02:01:52 +03:00
parent 074c08fc6f
commit 135a379b32
5 changed files with 217 additions and 5 deletions
@@ -10,6 +10,12 @@ class AiLessonEnhancerService
/**
* Extracts the lively script, cheat sheet, and Socratic quiz using Gemini.
*/
public static function generateFromText(string $title, string $content): ?array
{
$prompt = self::buildPrompt($title, $content);
return self::callGemini($prompt);
}
public static function enhanceLesson(int $lessonId): bool
{
$lesson = Database::selectOne(