Module 01 Summary
What this module established
A chain is a template, a model and a parser composed with |. The framework contributes convenience and uniformity, not capability - so for one call against one provider, the SDK is fewer moving parts and a shorter stack trace.
Carry forward
- Anything you would need after a framework swap belongs outside the framework: business rules, retry policy, validation, logging.
- Read a chain as types at boundaries. Most chain failures are a type mismatch, not a wording problem.
- Print the resolved prompt at least once per chain - the wire format is one layer away and worth seeing.
Before moving on
Move on when you have a written SDK-versus-framework decision, the inside/outside table, and a printed resolved prompt.
