Skip to content

Use dedicated prompt templates for topic and situation lessons#519

Merged
mircealungu merged 2 commits intomasterfrom
feature/situation-prompt-template
Apr 3, 2026
Merged

Use dedicated prompt templates for topic and situation lessons#519
mircealungu merged 2 commits intomasterfrom
feature/situation-prompt-template

Conversation

@mircealungu
Copy link
Copy Markdown
Member

Summary

  • Add meaning_lesson--situation-v1.txt template with scene-setting intro and appropriate character roles
  • Add meaning_lesson--topic-v1.txt template with themed dialogue instructions
  • Select template based on suggestion_type instead of appending to the default prompt
  • Default (automatic) lessons still use the original template unchanged

Test plan

  • Generate a lesson with "Automatic" → uses default template, same as before
  • Generate with "Topic: cooking" → intro mentions cooking, dialogue themed around it
  • Generate with "Situation: at a restaurant" → intro sets the scene, characters have appropriate roles

🤖 Generated with Claude Code

Depends on #518 (suggestion_type support)

mircealungu and others added 2 commits April 3, 2026 14:53
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Instead of appending to the default template, select a template
that integrates the suggestion into the intro and dialogue
instructions. Situations get scene-setting with appropriate character
roles; topics get themed dialogue.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

ArchLens - No architecturally relevant changes to the existing views

@mircealungu mircealungu merged commit be5e5a5 into master Apr 3, 2026
1 of 3 checks passed
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.

1 participant