Optuna Prompt Optimization Strategy

testingChallenge

Prompt Content

Propose an Optuna-based strategy to optimize the prompt for the 'Compliance Assessor' agent. This agent takes a DMA/DSA article and a company's internal practice description. Optuna should tune prompt parameters (e.g., tone, specificity of instructions, few-shot examples) to improve the accuracy of compliance status identification (compliant/non-compliant/at-risk). Describe the objective function for Optuna.

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