Pergunta comum em entrevista de AI / LLM Engineering. A resposta abaixo está em inglês, do jeito que dá para falar numa entrevista: leia, feche e tente explicar com as suas palavras.
A system where model outputs help choose subsequent actions, often in a loop of selecting a tool, observing its result, and deciding the next step. The application executes and constrains those actions.
A workflow has a more explicit predefined control flow, even when individual steps call a model. The boundary is a design spectrum.
Trap: prefer the simplest control flow that meets the task. Add dynamic action selection when evaluation shows it is useful, with explicit stopping, authorization, and recovery behavior.
Essa pergunta tem uma armadilha que derruba muita gente em entrevista. Ela está marcada na resposta acima: vale reler antes de treinar.
Ler é o primeiro passo. No app, essa pergunta vira flashcard com repetição espaçada, e o módulo tem quiz e simulado para testar o que ficou.
Treinar essa pergunta no app