Lesson 01.07
What happens when you ask AI a question?
You will be able to distinguish using a trained model from training it.
What you’ll do
- FamiliarStart with something familiar
- IdeaThe idea
- Try itTry it
- EngineeringWhy this matters in engineering
- Apply itApply it
- Check1 question, with feedback
Start with something familiar
Analogy
A chef spends years learning to cook. When you order dinner, the chef uses those skills to prepare your meal. Your order does not require the chef to attend culinary school again.
The idea
Using a trained model to produce an output is called inference. Your application supplies text and other permitted inputs. The model generates a response using its trained parameters. Changing the prompt normally changes the input, not the model’s parameters. A conversation can appear to remember details because earlier messages may be supplied again.
Try it
Flow
Select each stage and explain its role.
Why this matters in engineering
A Next.js backend sends a request to a model API and receives a response. The backend still handles permissions, errors and other application logic.
Apply it
Exercise
Your turn
Draw the path from a user entering a topic to DailyLearn displaying a lesson.