1:1 Mentoring with Big Tech AI Engineers
LLM & Agentic
14

Self-Reflection (Reflexion)

ReAct + a critic step before returning the answer. Catches hallucinations, incomplete reasoning, and factual errors.

Reflexion: Actor-Critic Architecture

When Reflexion adds value

SCENARIOREFLEXION HELPS?WHY
Complex multi-step reasoningYesCritic catches logical errors the actor missed
Factual accuracy requiredYesCritic can verify facts against tool results
Simple lookupsNoOverhead of critic step isn't worth it for single-tool queries
Creative writingDependsUseful for tone/quality checks, not for "correctness"
Time-sensitive queriesNoReflexion adds 1-3 extra LLM calls = 5-15s additional latency

Implementation with structured critique

Continue Reading

This topic continues with more in-depth content, code examples, and diagrams. Sign up free to unlock the full guide with all 87 sections.

Sign Up Free to Unlock

Free access · No credit card required

More in LLM & Agentic

Get full access to all 87 sections with code examples, diagrams, and interactive animations.

Sign Up Free