Reflection design pattern involves prompting an LM to check its own generated code for correctness, efficiency, and good construction practices, allowing it to identify and fix bugs in its own output.

definitionpending

Speaker

Andrew Ng

Evidence Quote

“an example of self-reflection would be if you then prompt the LM with something like this here's code intended for a toas and just give it back the exact same code that they just generated and then say check the code carefully for correctness sound efficiency good construction”

Source

What's next for AI agentic workflows ft. Andrew Ng of AI Fund— Sequoia Capital
Created: 8/11/2026, 1:37:51 AM

Your notes

Loading notes...