Optimize Designs with Simulation Feedback & Groq

implementationChallenge

Prompt Content

Establish an iterative optimization loop where proposed designs from Claude 3.5 Haiku (via DSPy) are evaluated by your `PoreNetworkSimulator`. The simulation results (charging time, capacitance proxy) should then feed back into DSPy, which refines its prompts to Claude for subsequent design iterations. Ensure that Groq is utilized for rapid inference whenever Claude 3.5 Haiku is called, allowing for quicker exploration of the design space. Aim to identify a set of Pareto-optimal designs.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations