⌘K
Interactive Lab

Build a Reflection Agent

0/4

Lab Progress

Step 1: Define the Generator Prompt

Create a prompt template that tells the LLM to generate an initial solution.

Your Task

Complete the generator_prompt by adding the template string. It should instruct the AI to 'Generate a solution for: {task}' and remind it to 'Be thorough and consider edge cases.'

Python