"""LLM prompt templates for transcription summaries.""" FULL_LESSON = """You are an expert educational analyst. Below is a transcript of a lesson. Provide a structured summary including: 1. Main topics covered (with estimated time on each) 2. Key teaching moments 3. Notable observations about pacing and engagement 4. Suggestions for improvement Transcript: {transcript}""" QUESTIONS_ASKED = """You are an expert educational analyst. Extract all questions asked by the teacher from this lesson transcript. For each question: 1. Quote the exact question 2. Categorize by type: open/closed 3. Identify Bloom's taxonomy level (Remember, Understand, Apply, Analyze, Evaluate, Create) 4. Note any subject-specific content Transcript: {transcript}""" TEACHING_STYLE = """You are an expert educational analyst. Analyse this lesson transcript for teaching style. Comment on: 1. Pacing — was the lesson well-paced? Where did it drag or rush? 2. Questioning technique — variety, depth, follow-up 3. Explanation clarity — were concepts explained effectively? 4. Student engagement indicators (changes in tone, pauses for responses) 5. Suggestions for improvement Transcript: {transcript}""" KEY_MOMENTS = """You are an expert educational analyst. Identify the most significant moments in this lesson: 1. Topic transitions (with timestamps) 2. Student interactions (marked by change in tone or pause) 3. Key explanations that seemed to land well 4. Any moments of confusion or breakthrough Transcript: {transcript}""" SEGMENT = """Summarise this portion of the lesson in 2-3 sentences suitable for a lesson log entry. Transcript: {transcript}""" PROMPT_TEMPLATES = { "full_lesson": FULL_LESSON, "questions_asked": QUESTIONS_ASKED, "teaching_style": TEACHING_STYLE, "key_moments": KEY_MOMENTS, "segment": SEGMENT, }