Configure RAG for CMP
Why connect RAG to CMP
Section titled βWhy connect RAG to CMPβ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
Supported data types
Section titled βSupported data typesβ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
Campaigns
Section titled βCampaignsβ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
Enable RAG
Section titled βEnable RAGβ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:
- Contact your Customer Success Manager or Optimizely Support
- Request RAG enablement for your specific CMP instance
- Optimizely configures the data sync on their end
- Once active, RAG capabilities are available in Opal Chat and in specialized agents
Use RAG
Section titled βUse RAGβOnce enabled, RAG works through two methods:
In Opal Chat
Section titled βIn Opal Chatβ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.
In specialized agents
Section titled βIn specialized agentsβ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.
Verify RAG is working
Section titled βVerify RAG is workingβAfter enablement, test with a simple query:
- Open Opal Chat
- Select your CMP product instance
- Ask a question about known data: βList the campaigns created this monthβ
- Verify the response includes actual campaign data from your CMP instance
- If results are missing or unexpected, contact Optimizely Support to verify the sync status