| Where | How it works | Additional notes |
|---|---|---|
| Interactive Hypothesis Builder | Helps users create a campaign hypotheses through an interactive and personalised chat interface. For more informtion see the create campaign guide. | Uses GPT-4o with streaming responses. Stores conversation history in conversations and conversation_messages tables. Temperature = 1.0. |
| Campaign Idea Scoring | Scores growth ideas based on alignment with team goals. For more information see the scoring guide. | Processes campaign ideas and returns a score and explanation for each idea. Triggered on the IdeaSubmitted event. Temperature = 0.7. |
| Campaign Categorisation | Uses campaign name and description to automatically classifies campaigns into campaign channels (SEO, Paid, Sales etc) | Adds channel_id to the campaign. Triggered on IdeaSubmitted event. |
| Design Considerations Generator | Provides manager-style considerations for campaign design and adds them to the campaign plan field. | Takes hypothesis as input and generates recommendations and considerations for the design phase of the campaign. Dispatched as a background job after idea creation. |
| Campaign Summaries | Auto-generates 2-3 sentence summaries of campaigns at all campaign stages for email notifications. | Use the summary field. Triggered by various events: IdeaSubmitted ExperimentCreated ExperimentStarted ExperimentMovedToAnalysing ExperimentCompleted |
Key integration points
- IdeaSubmitted → Categorisation, Scoring, Summarisation, Design Generation
- ExperimentCreated → Summarisation
- ExperimentStarted → Summarisation
- ExperimentMovedToAnalysing → Summarisation
- ExperimentCompleted → Summarisation
Additional notes
- Currently all AI features use GPT-4o
- AI processing happens via queued jobs/listeners for performance
- All prompts are in the chat_gpt_queries table