Skip to main content

AI Integration

:::info Source Sourced from services/notification-service/AI_INTEGRATION.md in the documentation repo. :::

1. Capabilities

CapabilityPromptClassification
Notification copy personalizationnotification.copy.personalizeLimited-risk
Digest summarizationnotification.digest.summarizeLimited-risk
Send-time optimization (M5+)notification.send_time.optimizeLimited-risk
Subject line A/B (M5+)notification.subject.testLimited-risk

All via AIClient port.

2. Safety

  • Pre-call moderation of tenant-provided templates.
  • Never include sensitive data (passwords, tokens) in AI input.
  • Output validated against template schema.

3. Provenance

Every AI-generated copy tagged with AIProvenance; tenant admin can toggle on/off per template.

4. Cost

  • Per-tenant budget.
  • Cache: same (template, audience segment) → 24h TTL.

5. HITL

  • Templates AI-generated go through draft_ai review by tenant admin before activating.

6. Data Privacy

  • Recipient names allowed (for personalization); PII beyond name redacted from AI input.
  • noTrain verified.

7. Bias

  • Send-time optimizer quarterly fairness eval (no deprioritizing specific demographics).