Hybrid Reasoning for Ad Content

implementationChallenge

Prompt Content

Implement a hybrid reasoning approach for your ad generation system. For straightforward queries, use an 'instant' prompt for Gemini 2.5 Pro. For queries flagged as sensitive or complex (e.g., health-related, financial advice), trigger a 'deep think' mode that involves multiple reasoning steps, RAG lookups, and a self-correction loop. Provide pseudo-code or Python implementation for this conditional logic.

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