AI EngineeringInterview preparation
Intermediate·Discussion·2 min read

What is a chain?

Practice this question
  • A sequence of transformations or calls, such as prompt → model → parser.
  • A chain can be deterministic and is not automatically an agent; an agent chooses some actions based on observations.
Adapted from 13_AI.MD · “29.6 LangChain”. Code examples are study fragments. Difficulty and core labels are editorial estimates; version-specific behavior should be checked against your project.