Skip to content

Configure RAG for CMP

⏱ 10 minutes intermediate
πŸ“œCoreOpal

Your Content Marketing Platform holds your campaigns, tasks, assets, and approved messaging. Without RAG, Opal cannot reference this data when generating responses. With RAG enabled, Opal draws on your actual content β€” your brand guidelines live in practice, not just in theory.

RAG for CMP enables scenarios like:

  • Querying assets by tags across live campaigns
  • Tracking pending tasks and approvals through natural language
  • Generating personalized content grounded in your product data and customer segments
  • Scaling content creation using approved messaging and brand-compliant language

RAG for CMP indexes three categories of data from your CMP instance:

Sourced from the CMP Digital Asset Management (DAM) platform:

  • Core fields β€” Asset ID, asset type, URL, metadata
  • Embeddings β€” Title and description embeddings for semantic search, text embedding for content search
  • Versioning β€” Rendition history and version tracking
  • Labels β€” Tags and classification metadata

Sourced from your campaign data:

  • Core fields β€” Campaign ID, title, metadata
  • Embeddings β€” Semantic representations for intelligent matching
  • Labels β€” Campaign categorization and organization tags

Sourced from your task management data:

  • Core fields β€” Task ID, associated campaign ID, status
  • Embeddings β€” Task description embeddings for search
  • Labels β€” Task categorization and tracking metadata

RAG is a managed solution. Data synchronization is handled internally by Optimizely’s infrastructure β€” you do not need to configure sync schedules or manage data pipelines.

To enable RAG for your CMP instance:

  1. Contact your Customer Success Manager or Optimizely Support
  2. Request RAG enablement for your specific CMP instance
  3. Optimizely configures the data sync on their end
  4. Once active, RAG capabilities are available in Opal Chat and in specialized agents

Once enabled, RAG works through two methods:

Ask questions about your CMP data using natural language:

  • β€œWhat assets are tagged for the spring campaign?”
  • β€œShow me pending tasks for the Q4 product launch”
  • β€œWhich campaigns have approved messaging I can reference?”

Opal searches your content graph and returns contextually relevant results.

Use RAG directives in agent prompt templates to pull CMP data into agent workflows:

  • {retrieval:} β€” Standard retrieval query
  • {retrieval+:} β€” Enhanced retrieval with expanded context

These directives let agents access your CMP data as part of their execution, enabling automated workflows that reference your campaigns, tasks, and assets.

After enablement, test with a simple query:

  1. Open Opal Chat
  2. Select your CMP product instance
  3. Ask a question about known data: β€œList the campaigns created this month”
  4. Verify the response includes actual campaign data from your CMP instance
  5. If results are missing or unexpected, contact Optimizely Support to verify the sync status