Define DSPy Signature for Financial Reasoning

planningChallenge

Prompt Content

Using DSPy, define a set of 'Signatures' (prompt templates) and 'Modules' (reasoning steps) for analyzing a complex tax scenario. This should include steps for 'Gathering Data' (via Model Context Protocol tools), 'Applying Tax Laws' (using RAG and OpenAI o3), and 'Calculating Liability'. Focus on breaking down the problem into smaller, verifiable sub-tasks.

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