Knowledge bases are the foundation of intelligent conversational AI. By providing your personas with comprehensive, structured knowledge through document uploads and URL fetching, you enable them to deliver accurate, contextually relevant responses across any domain or use case.
A knowledge base in Mercury is a structured repository of information that your personas can access to provide accurate, relevant responses. Think of it as giving your AI agents a comprehensive library of information they can reference during conversations.
🧠 Key Concept: Unlike simple keyword matching, Mercury's knowledge bases use advanced semantic understanding to find relevant information even when questions don't match exact terms in your documents.
Mercury supports multiple knowledge source types, each optimized for different content formats and use cases:
Before implementing your knowledge base, it's important to plan your approach based on your personas' roles and the types of questions they'll handle.
{
"qualityMetrics": {
"contentFreshness": {
"maxAge": "90d",
"warningThreshold": "30d",
"alertThreshold": "60d"
},
"relevanceScoring": {
"minScore": 0.7,
"evaluationFrequency": "weekly",
"improvementActions": ["update", "remove"]
},
"usageAnalytics": {
"trackQueries": true,
"identifyGaps": true,
"measureSatisfaction": true
},
"performanceMetrics": {
"responseTime": "< 500ms",
"accuracyRate": "> 95%",
"coverageRate": "> 90%"
}
}
}{
"security": {
"encryption": {
"atRest": "AES-256",
"inTransit": "TLS-1.3",
"keyManagement": "customer_managed"
},
"accessControl": {
"authentication": "required",
"authorization": "role_based",
"auditLogging": "enabled"
},
"dataClassification": {
"sensitiveData": "redaction_enabled",
"piiDetection": "automatic",
"complianceLabels": ["GDPR", "CCPA"]
},
"retention": {
"defaultPeriod": "7y",
"autoArchival": "enabled",
"rightToErasure": "supported"
}
}
}With comprehensive knowledge base configuration, your Mercury personas can provide accurate, contextual responses that truly serve your users' needs. Start with high-quality, curated content and expand using automated web fetching for dynamic information.