Skip to main content
Loading navigation
Back to prompt library

Optuna Prompt Optimization Strategy

Linked challenge: EU DMA/DSA Policy Compliance Graph Agent

Prompt source

testing1 lines1 sectionsNo variables0 checklist items
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.