src.llm_interpreter.prompt_templates

Prompt templates for LLM-based interpretation of MMM diagnostics.

These templates are designed to generate marketing-friendly explanations.

Module Contents

class src.llm_interpreter.prompt_templates.PromptTemplates

Collection of prompt templates for different interpretation tasks.

static get_system_prompt() str

Return the system prompt for LLM interactions.

static get_convergence_prompt(diagnostics: Dict[str, Any]) str

Generate prompt for interpreting convergence diagnostics.

static get_model_fit_prompt(model_metrics: Dict[str, Any]) str

Generate prompt for interpreting model fit metrics.

static get_channel_performance_prompt(channel_data: Dict[str, Any]) str

Generate prompt for interpreting channel performance.

static get_executive_summary_prompt(full_results: Dict[str, Any]) str

Generate prompt for creating an executive summary.

static get_recommendations_prompt(analysis_results: Dict[str, Any]) str

Generate prompt for creating actionable recommendations.

static get_technical_details_prompt(technical_data: Dict[str, Any]) str

Generate prompt for technical interpretation.

static get_comparison_prompt(current_results: Dict[str, Any], previous_results: Dict[str, Any]) str

Generate prompt for comparing current results with previous run.