Lyra
Learn
AI Learning Platform
π Midnight
π Comfort
π₯ Ember
π Paper
β Contrast
Exams
Sign in to track progress
β Back to the lesson
Module 3 Β· Quiz
Anatomy of a Good Prompt
1. What is the purpose of the **system** role in a prompt?
To provide the user's actual request
To give prior replies from the model
To set behavioral rules and guardrails for the assistant
To define the output format
2. Which part of a strong prompt specifies how the answer should be shaped?
Role & goal
Task
Output format
Context
3. Why is it important for prompts to be specific and bounded?
To allow for creative and free-form responses
To ensure clear and focused answers from the model
To reduce the size of the generated prompt
To make it easier for the model to generate vague responses
4. What is one best practice mentioned for managing prompts in an application?
Place them randomly across the application
Regularly update without version control
Keep them in a centralized prompt assembler
Only test them during deployment
Submit answers
Continue: Grounding and Context Injection β
Review this lesson
Retake quiz