A generative model may need a task convention, information outside its parameters, access to an operation, or output that another system can parse. These patterns intervene at different points in that interaction.
Supply useful context
Few-Shot In-Context Learning supplies request–response demonstrations without updating model weights. Retrieval Augmented Generation retrieves source evidence for the current request. Examples demonstrate a task; retrieved evidence supplies material an answer may need.
Connect generation to an application
Tool-Augmented Interaction connects proposed operations to application checks, execution, and observed results. Constrained Decoding restricts the output language during generation. A permitted operation or valid output still needs the appropriate semantic checks.
For adaptation that changes model parameters, see Learning and adaptation.