---
schema_version: "1"
id: 30a7222849f83ba8c746d2bf1f313c693af28be122449a0d443f8c69b5b9b8cf
title: Knowledge/RAG Quality Data and Metrics
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/generative_ai_monitor_retrieval.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.generative_ai_monitor_retrieval.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 42521eb1ed58c42e6637aabb2e66971e4aa064141c2c58c182b680701d81e311
description: Monitor knowledge retrieval quality scores for your Agentforce and generative AI solutions in production and sandbox environments. Use built-in dashboards and reports to track run-time performance, view trends, and identify areas to improve. Retrieval Augmented Generation (RAG) quality metrics help you identify problem patterns, conduct root cause analysis, and fine-tune your RAG-powered solutions.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Knowledge/RAG Quality Data and Metrics

Monitor knowledge retrieval quality scores for your Agentforce and generative AI solutions in production and sandbox environments. Use built-in dashboards and reports to track run-time performance, view trends, and identify areas to improve. Retrieval Augmented Generation (RAG) quality metrics help you identify problem patterns, conduct root cause analysis, and fine-tune your RAG-powered solutions.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions. <a href="https://help.salesforce.com/s/articleView?id=ai.agent_setup_explore_types.htm&amp;release=264.0.0&amp;type=5" title="Learn about agent types and default templates for specific clouds and common use cases.">Required add-on licenses vary by agent type.</a></td></tr></tbody></table>

- **[About Knowledge/RAG Quality Data and Metrics](https://help.salesforce.com/s/articleView?id=ai.generative_ai_monitor_retrieval_about.htm&release=264.0.0&type=5)**  
    Learn about the metrics used to score retrievals. This feature collects data at run time and calculates quality scores for RAG-powered knowledge retrievals.
- **[Set Up Knowledge/RAG Quality Data and Metrics](https://help.salesforce.com/s/articleView?id=ai.generative_ai_monitor_retrieval_setup.htm&release=264.0.0&type=5)**  
    Turn on Knowledge/RAG Quality Data and Metrics to collect and store, in Data 360, quality scores and other data about knowledge retrievals. For orgs with only one dataspace, it’s turned on by default when Agentforce is turned on.
- **[Data Model for Knowledge/RAG Quality Data and Metrics](https://help.salesforce.com/s/articleView?id=ai.generative_ai_monitor_retrieval_data_model.htm&release=264.0.0&type=5)**  
    Use the data in these DLOs/DMOs to build reports, dashboards, and queries that provide insights into knowledge retrieval events.
- **[Gain Insights from Knowledge/RAG Quality Data and Metrics](https://help.salesforce.com/s/articleView?id=ai.generative_ai_monitor_retrieval_use.htm&release=264.0.0&type=5)**  
    To analyze Knowledge/RAG Quality Data and Metrics data, you can use pre-built dashboards and reports, or you can build your own. You can also run queries on the DMOs.
- **[Implement Data Governance Permissions for Knowledge/RAG Quality Metrics and Data Objects](https://help.salesforce.com/s/articleView?id=ai.generative_ai_monitor_retrieval_data_governance.htm&release=264.0.0&type=5)**  
    Knowledge/RAG Quality Metrics and Data can contain sensitive information, such as personally identifying information (PII), that you want to redact or hide from unauthorized users. Use Data Cloud Data Governance to protect sensitive data by setting up dynamic data masking and field-specific data exclusion policies. Grant access to the impacted Data 360 objects according to an access policy.

#### See Also

- [Govern Content for AI Consumption](https://help.salesforce.com/s/articleView?id=005460254&type=1&language=en_US)