{"id":73483,"date":"2023-12-14T05:00:00","date_gmt":"2023-12-14T13:00:00","guid":{"rendered":"https:\/\/www.salesforce.com\/?p=73483"},"modified":"2025-03-27T16:29:16","modified_gmt":"2025-03-27T23:29:16","slug":"retrieval-augmented-generation-explained","status":"publish","type":"post","link":"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/","title":{"rendered":"How Einstein Copilot Search Uses Retrieval Augmented Generation to Make AI More Trusted and Relevant"},"content":{"rendered":"\n<p><em>Editor\u2019s note: Einstein 1 Platform is now the Salesforce Platform. For the latest, go <\/em><a href=\"https:\/\/www.salesforce.com\/platform\/\"><em>here<\/em><\/a><em>.<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>At <a href=\"https:\/\/www.salesforce.com\/events\/world-tour\/nyc\/\/?d=cta-body-promo-8\" target=\"_blank\" rel=\"noreferrer noopener\">World Tour NYC<\/a>, Salesforce introduced new <a href=\"https:\/\/www.salesforce.com\/news\/press-releases\/2023\/12\/14\/unstructured-data-ai-search-einstein\" target=\"_blank\" rel=\"noreferrer noopener\">unstructured data capabilities for Data Cloud and Einstein Copilot Search<\/a>. By bringing together data retrieval capabilities using semantic search and prompts in Einstein Copilot, responses by Large Language Models (LLMs) will be more accurate, up-to-date, and generated with more transparency \u2014 while also keeping company data safe and secure through the <a href=\"https:\/\/www.salesforce.com\/products\/secure-ai\/?d=cta-body-promo-8\" target=\"_blank\" rel=\"noreferrer noopener\">Einstein Trust Layer<\/a>.<\/p>\n\n\n\n<p>These powerful new features are underpinned by an AI framework called Retrieval Augmented Generation (RAG), which enables companies to use their structured and unstructured proprietary data to make <a href=\"https:\/\/www.salesforce.com\/news\/stories\/what-is-generative-ai\/\" target=\"_blank\" rel=\"noreferrer noopener\">generative AI<\/a> more trusted and relevant.&nbsp;&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-rag\"><strong>What is RAG?<\/strong><\/h2>\n\n\n\n<p>Put simply, RAG helps companies retrieve and use their data, no matter where it lives, for better AI results. The RAG pattern coordinates queries and responses between a search engine and an LLM, and importantly, can operate on unstructured data such as emails, call transcripts, knowledge articles, and other formats that don\u2019t fit cleanly into a typical relational data source. RAG can be more specifically described using its name:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Retrieval:<\/strong> To steer LLMs toward more useful and trusted outputs, companies need to <em>retrieve<\/em> the most relevant data for use in the prompts they construct. A common technique for this is semantic search, which is core to Salesforce\u2019s <a href=\"https:\/\/www.salesforce.com\/news\/press-releases\/2023\/12\/14\/unstructured-data-ai-search-einstein\" target=\"_blank\" rel=\"noreferrer noopener\">recently announced Einstein Copilot Search<\/a>. Semantic search takes in a user\u2019s request or question, and performs search based on its meaning or intent, not just based on the individual keywords within it.<\/li>\n\n\n\n<li><strong>Augmented:<\/strong> With RAG, the LLM doesn&#8217;t need to be trained up front on this useful data. Instead, the relevant contextual data is simply given to the LLM, by automatically <em>augmenting<\/em> the prompt itself with the relevant contextual data.&nbsp;<\/li>\n\n\n\n<li><strong>Generation: <\/strong>Finally, the augmented prompt is sent to the LLM, where it is used to <em>generate<\/em> an output, such as an outreach email or customer service reply. With RAG, this should be a response that the user can trust and that is using the most appropriate and recent data. And to help build confidence in the response, many implementations of the RAG pattern, such as the one Salesforce provides, will give users access to the AI model\u2019s sources, ensuring that the output can be checked for accuracy.&nbsp;<\/li>\n<\/ul>\n\n\n\n<aside class=\"contextual-driver has-text-align-left contextual-driver--einstein\">\n\t<header class=\"tidbit-header\">\n\t\t<h2 class=\"tidbit-head\">\n\t\t\tSay hello to Einstein Copilot.\t\t<\/h2>\n\t<\/header>\n\t<div class=\"tidbit-body\">\n\t\t<p><\/p>\t<\/div>\n\t\t\t<p class=\"tidbit-link label\">\n\t\t\t<a class=\"label has-right-arrow has-right-arrow--small\" href=\"https:\/\/salesforce.com\/einsteincopilot\/?d=cta-body-promo-8\" target=\"_blank\">\n\t\t\t\t<span> Learn more about the conversational AI for CRM<\/span>\n\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 14 10\">\n\t<path d=\"M13.92 5.38a1 1 0 000-.76.9.9 0 00-.17-.26.25.25 0 000-.07l-4-4a1 1 0 00-1.46 1.42L10.59 4H1.07a1 1 0 000 2h9.52l-2.3 2.29a1 1 0 000 1.42 1 1 0 001.42 0l4-4a.25.25 0 000-.07.9.9 0 00.21-.26z\" \/>\n<\/svg>\n\t\t\t<\/a>\n\t\t<\/p>\n\t\t\t\t<img class=\"tidbit img-einstein\"\n\t\tsrcset=\"\n\t\t\thttps:\/\/www.salesforce.com\/news\/wp-content\/themes\/newsroom\/assets\/images\/article-tidbit-einstein-large@0.5x.png 84w,\n\t\t\thttps:\/\/www.salesforce.com\/news\/wp-content\/themes\/newsroom\/assets\/images\/article-tidbit-einstein-large@1x.png 168w,\n\t\t\thttps:\/\/www.salesforce.com\/news\/wp-content\/themes\/newsroom\/assets\/images\/article-tidbit-einstein-large@2x.png 336w\n\t\t\"\n\t\tsrc=\"https:\/\/www.salesforce.com\/news\/wp-content\/themes\/newsroom\/assets\/images\/article-tidbit-einstein-large@1x.png\"\n\t\talt=\"Illustration of einstein\"\n\t\tsizes=\"(min-width:1024px) 175px, 130px\"\n\t>\n\t<\/aside>\n\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-does-rag-work\"><strong>How does RAG work?<\/strong><\/h2>\n\n\n\n<p>RAG is a concept used broadly, but at Salesforce, it works in a specific and powerful way to make AI more trusted and relevant.<\/p>\n\n\n<div class=\"wp-block-image\"><div class=\"wp-block-image__wrapper\">\n<figure class=\"aligncenter size-large\"><a href=\"#\" class=\"wp-block-image__modal-toggle\" aria-expanded=\"false\" data-modal-id=\"73484-modal\"><span class=\"screen-reader-text\">Open Image Modal<\/span><img loading=\"lazy\" decoding=\"async\" height=\"576\" width=\"1024\" src=\"https:\/\/www.salesforce.com.go-vip.net\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=1024\" alt=\"\" class=\"wp-image-73484\" srcset=\"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png 1290w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=300&amp;h=169 300w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=768&amp;h=432 768w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=1024&amp;h=576 1024w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=264&amp;h=149 264w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=500&amp;h=281 500w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=678&amp;h=382 678w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=150&amp;h=84 150w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=314&amp;h=177 314w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=343&amp;h=193 343w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=1218&amp;h=685 1218w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Einstein Copilot Search enables patterns like Retrieval Augmented Generation to make AI more trusted and relevant<\/figcaption><\/figure>\n<div id=\"73484-modal\" class=\"image-modal\" aria-hidden=\"true\" aria-labelledby=\"image-dialog-title\"><div class=\"image-modal__overlay\" tabindex=\"-1\" data-a11y-dialog-hide><\/div><div class=\"image-modal__content\" role=\"dialog\"><button class=\"image-modal__close-button\" type=\"button\" data-a11y-dialog-hide aria-label=\"Close this image dialog window\"><svg viewBox=\"0 0 26 25\" height=\"16\" width=\"16\" fill=\"currentColor\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><rect x=\".626\" y=\"22.753\" width=\"32\" height=\"3\" rx=\"1.5\" transform=\"rotate(-45 .626 22.753)\"\/><rect x=\"2.747\" y=\".125\" width=\"32\" height=\"3\" rx=\"1.5\" transform=\"rotate(45 2.747 .125)\"\/><\/svg><\/button><h1 id=\"image-dialog-title\" class=\"screen-reader-text\">Image Modal<\/h1>\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1290\" height=\"726\" src=\"https:\/\/www.salesforce.com.go-vip.net\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=1024\" alt=\"\" class=\"wp-image-73484\" srcset=\"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png 1290w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=300&amp;h=169 300w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=768&amp;h=432 768w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=1024&amp;h=576 1024w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=264&amp;h=149 264w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=500&amp;h=281 500w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=678&amp;h=382 678w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=150&amp;h=84 150w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=314&amp;h=177 314w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=343&amp;h=193 343w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/image2.png?w=1218&amp;h=685 1218w\" sizes=\"auto, (max-width: 1290px) 100vw, 1290px\" \/><figcaption class=\"wp-element-caption\">Einstein Copilot Search enables patterns like Retrieval Augmented Generation to make AI more trusted and relevant<\/figcaption><\/figure>\n<\/div><\/div><\/div><\/div>\n\n\n<p><strong>RAG begins with Salesforce <\/strong><a href=\"https:\/\/www.salesforce.com\/products\/data\/?d=cta-body-promo-8\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Data Cloud<\/strong><\/a><strong>. <\/strong>This hyperscale data platform is built into Salesforce, helping customers harmonize and unify their data so it can be activated across Salesforce applications.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Data Cloud is now expanding to support storage of unstructured data such as PDFs, call transcripts, emails, and other binary objects. Given an estimated 90% of enterprise data exists in unstructured formats like PDFs, emails, social media posts, and audio files, making it accessible for business applications and AI models will greatly improve the quality of AI-generated output.<\/li>\n\n\n\n<li>A new unstructured data pipeline in Data Cloud enables teams to select the unstructured data they want to bring in &#8211; such as help articles sitting in a knowledge management service, or call transcripts in an S3 bucket &#8211; and make those usable across the Einstein 1 Platform. When ingesting text documents, that data can be chunked into smaller fragments to ensure more precise operations against that data. And to make this usable in operations like semantic search, it can then be transformed and stored in the new Data Cloud Vector Database.<\/li>\n\n\n\n<li>The Data Cloud Vector Database combines structured and unstructured data seamlessly and transforms it into a numerical representation called a vector embedding. This works by calling a special type of LLM called an embedding model through the Einstein Trust Layer. This vector embedding format makes it easier for an AI system to process the data, compare it against queries, and respond with a useful answer. Customers will only need to define which parts of their data should be searchable by using clicks to create a search index.<em> <\/em>&nbsp;<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-group alignfull has-background\" style=\"background-color:#f4f6f9\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:25%\"><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<h2 class=\"wp-block-heading has-text-align-left has-medium-font-size\" id=\"h-the-biggest-news-from-world-tour-nyc\">The Biggest News from World Tour NYC<\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-vidyard wp-block-embed-vidyard\"><div class=\"wp-block-embed__wrapper\">\n<script type=\"text\/javascript\" async src=\"https:\/\/play.vidyard.com\/embed\/v4.js\"><\/script><img decoding=\"async\"  style=\"width: 100%; margin: auto; display: block;\"  class=\"vidyard-player-embed\"  src=\"https:\/\/play.vidyard.com\/tPAXWE3Fk1febBMZjfb9sV.jpg\"  data-uuid=\"tPAXWE3Fk1febBMZjfb9sV\"  data-v=\"4\"  data-type=\"inline\"  data-width=\"500\"  data-height=\"281\"\/>\n<\/div><figcaption class=\"wp-element-caption\"><em>Salesforce\u2019s Cary Chow breaks down the biggest news from World Tour NYC<\/em><\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:25%\"><\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group alignwide cluster-content has-vivid-purple-background-color has-background\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<h2 class=\"wp-block-heading has-white-color has-text-color\" id=\"h-say-hello-to-einstein-copilot\">Say hello to Einstein Copilot<\/h2>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large prevent-download\"><img loading=\"lazy\" decoding=\"async\" height=\"576\" width=\"1024\" src=\"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/05\/CNX_ProductRelease.jpg?w=1024\" alt=\"\" class=\"wp-image-77614\" srcset=\"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/05\/CNX_ProductRelease.jpg 1200w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/05\/CNX_ProductRelease.jpg?w=300&amp;h=169 300w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/05\/CNX_ProductRelease.jpg?w=768&amp;h=432 768w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/05\/CNX_ProductRelease.jpg?w=1024&amp;h=576 1024w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/05\/CNX_ProductRelease.jpg?w=264&amp;h=149 264w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/05\/CNX_ProductRelease.jpg?w=500&amp;h=281 500w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/05\/CNX_ProductRelease.jpg?w=678&amp;h=381 678w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/05\/CNX_ProductRelease.jpg?w=150&amp;h=84 150w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/05\/CNX_ProductRelease.jpg?w=314&amp;h=177 314w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/05\/CNX_ProductRelease.jpg?w=343&amp;h=193 343w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-group feature-card is-vertical is-layout-flex wp-container-core-group-is-layout-8cf370e7 wp-block-group-is-layout-flex\">\n<h3 class=\"wp-block-heading has-white-color has-text-color\" id=\"h-salesforce-unveils-new-einstein-1-marketing-and-commerce-innovations\"><a href=\"https:\/\/www.salesforce.com\/news\/press-releases\/2024\/05\/22\/einstein-copilot-marketing-commerce-news\/\">Salesforce Unveils New Einstein 1 Marketing and Commerce Innovations\u00a0<\/a><\/h3>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-group secondary-card is-content-justification-left is-nowrap is-layout-flex wp-container-core-group-is-layout-f56a869c wp-block-group-is-layout-flex\">\n<figure class=\"wp-block-image size-large prevent-download\"><a href=\"https:\/\/www.salesforce.com\/news\/stories\/about-einstein-copilot\/\"><img loading=\"lazy\" decoding=\"async\" height=\"576\" width=\"1024\" src=\"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/03\/EinsteinCoPilot_ProductExplainer-2.jpg?w=1024\" alt=\"\" class=\"wp-image-75597\" srcset=\"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/03\/EinsteinCoPilot_ProductExplainer-2.jpg 1200w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/03\/EinsteinCoPilot_ProductExplainer-2.jpg?w=300&amp;h=169 300w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/03\/EinsteinCoPilot_ProductExplainer-2.jpg?w=768&amp;h=432 768w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/03\/EinsteinCoPilot_ProductExplainer-2.jpg?w=1024&amp;h=576 1024w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/03\/EinsteinCoPilot_ProductExplainer-2.jpg?w=264&amp;h=149 264w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/03\/EinsteinCoPilot_ProductExplainer-2.jpg?w=500&amp;h=281 500w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/03\/EinsteinCoPilot_ProductExplainer-2.jpg?w=678&amp;h=381 678w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/03\/EinsteinCoPilot_ProductExplainer-2.jpg?w=150&amp;h=84 150w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/03\/EinsteinCoPilot_ProductExplainer-2.jpg?w=314&amp;h=177 314w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/03\/EinsteinCoPilot_ProductExplainer-2.jpg?w=343&amp;h=193 343w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading has-white-color has-text-color\" id=\"h-einstein-copilot-in-depth-what-it-is-how-it-works-and-what-it-can-do\"><a href=\"https:\/\/www.salesforce.com\/news\/stories\/about-einstein-copilot\/\" target=\"_blank\" rel=\"noreferrer noopener\">Einstein Copilot In-Depth: What It Is, How It Works, and What It Can Do<\/a><\/h4>\n<\/div>\n\n\n\n<div class=\"wp-block-group secondary-card is-content-justification-left is-nowrap is-layout-flex wp-container-core-group-is-layout-f56a869c wp-block-group-is-layout-flex\">\n<figure class=\"wp-block-image size-large prevent-download\"><a href=\"https:\/\/www.youtube.com\/watch?v=2G6MQpFnQLM\"><img loading=\"lazy\" decoding=\"async\" height=\"576\" width=\"1024\" src=\"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/CoPilot_DemoVideo_139005.jpg?w=1024\" alt=\"\" class=\"wp-image-75322\" srcset=\"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/CoPilot_DemoVideo_139005.jpg 1200w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/CoPilot_DemoVideo_139005.jpg?w=300&amp;h=169 300w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/CoPilot_DemoVideo_139005.jpg?w=768&amp;h=432 768w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/CoPilot_DemoVideo_139005.jpg?w=1024&amp;h=576 1024w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/CoPilot_DemoVideo_139005.jpg?w=264&amp;h=149 264w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/CoPilot_DemoVideo_139005.jpg?w=500&amp;h=281 500w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/CoPilot_DemoVideo_139005.jpg?w=678&amp;h=381 678w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/CoPilot_DemoVideo_139005.jpg?w=150&amp;h=84 150w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/CoPilot_DemoVideo_139005.jpg?w=314&amp;h=177 314w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/CoPilot_DemoVideo_139005.jpg?w=343&amp;h=193 343w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading has-white-color has-text-color\" id=\"h-demo-what-makes-copilot-possible\"><a href=\"https:\/\/www.youtube.com\/watch?v=2G6MQpFnQLM\" target=\"_blank\" rel=\"noreferrer noopener\">Demo: What Makes Copilot Possible?<\/a><\/h4>\n<\/div>\n\n\n\n<div class=\"wp-block-group secondary-card is-content-justification-left is-nowrap is-layout-flex wp-container-core-group-is-layout-f56a869c wp-block-group-is-layout-flex\">\n<figure class=\"wp-block-image size-large prevent-download\"><a href=\"https:\/\/www.salesforce.com\/blog\/ai-assistant\/\"><img loading=\"lazy\" decoding=\"async\" height=\"576\" width=\"1024\" src=\"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/360Blog_CoPilot_5Cases.jpg?w=1024\" alt=\"\" class=\"wp-image-75323\" srcset=\"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/360Blog_CoPilot_5Cases.jpg 1200w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/360Blog_CoPilot_5Cases.jpg?w=300&amp;h=169 300w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/360Blog_CoPilot_5Cases.jpg?w=768&amp;h=432 768w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/360Blog_CoPilot_5Cases.jpg?w=1024&amp;h=576 1024w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/360Blog_CoPilot_5Cases.jpg?w=264&amp;h=149 264w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/360Blog_CoPilot_5Cases.jpg?w=500&amp;h=281 500w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/360Blog_CoPilot_5Cases.jpg?w=678&amp;h=381 678w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/360Blog_CoPilot_5Cases.jpg?w=150&amp;h=84 150w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/360Blog_CoPilot_5Cases.jpg?w=314&amp;h=177 314w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/09\/360Blog_CoPilot_5Cases.jpg?w=343&amp;h=193 343w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading has-white-color has-text-color\" id=\"h-trail-build-ai-assistants-with-einstein-copilot\"><a href=\"https:\/\/www.salesforce.com\/blog\/ai-assistant\/\" target=\"_blank\" rel=\"noreferrer noopener\"><a href=\"https:\/\/www.salesforce.com\/blog\/ai-assistant\/\" target=\"_blank\" rel=\"noreferrer noopener\">5 Business Uses for an AI Copilot<\/a><\/a><\/h4>\n<\/div>\n<\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<p><strong>RAG powers meaningful response generation with Einstein Copilot Search:<\/strong> RAG in Salesforce also uses the newly announced Einstein Copilot Search, which will use the Data Cloud Vector Database to combine semantic search with traditional keyword search.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>When a user request comes in, like a question from a customer or an ask from an employee, the request is transformed into a vector embedding using the same embedding model used to embed unstructured data.<\/li>\n\n\n\n<li>Einstein Copilot Search then takes the numeric representation of the user input and runs a semantic search operation that compares it against unstructured data in the Data Cloud Vector Database. Because the request and the data to search against are in the same numeric format, users can employ powerful AI algorithms such as &#8220;k-nearest neighbors&#8221; to find the structured or unstructured content that is most semantically similar to the user\u2019s question.<\/li>\n\n\n\n<li>To ensure these outputs are as relevant as possible, semantic search technique is combined with keyword search to further refine results. This hybrid approach helps Einstein Copilot retrieve data based on its meaning or intent and ensure the right contextual data can be retrieved from Data Cloud for each prompt.&nbsp;<\/li>\n\n\n\n<li>The results from the search service are now used to augment the prompt through <a href=\"https:\/\/www.salesforce.com\/products\/ai-prompt-builder\/?d=cta-body-promo-8\" target=\"_blank\" rel=\"noreferrer noopener\">Prompt Builder<\/a>. This new, augmented prompt includes the original user request together with all of the right contextual data.&nbsp;<\/li>\n\n\n\n<li>That prompt is then passed to the <a href=\"https:\/\/www.salesforce.com\/products\/secure-ai\/?d=cta-body-promo-8\" target=\"_blank\" rel=\"noreferrer noopener\">Einstein Trust Layer<\/a>, Salesforce\u2019s secure AI architecture. Now grounded with the contextual, timely data that it receives from the augmented prompt, an LLM called through the Einstein Trust Layer can generate trusted, relevant answers.<\/li>\n\n\n\n<li>Lastly, as part of the Einstein Trust Layer, the data that is ultimately used to inform the answer is called out in the output through citations, enabling the user to understand where the answer stemmed from.<\/li>\n<\/ul>\n\n\n\n<aside class=\"more-from-block more-from-block--2 alignfull wp-block-newsroom-moreontopic\">\n\t<div class=\"more-from-block__content\">\n\t\t\t\t\t<h4 class=\"more-from-block__title\">Related<\/h4>\n\t\t\n\t\t<div class=\"more-from-block__cards more-from-block__cards--2\"\n\t\t\t\t>\n\t\t\t\n\n<article\t\t\titemscope=\"\"\n\t\titemtype=\"https:\/\/schema.org\/Article\"\n\t\tdata-card-id=\"81219\"\n\t\tclass=\"content-card content-card--large-inline is-entire-area-clickable content-card--is-boxed\"\n\t\t\tdata-clickable-area-link=\"https:\/\/www.salesforce.com\/news\/stories\/penfed-agentforce-mulesoft-enhanced-member-experiences\/\"\n\t>\n\t\t\t<div class=\"content-card__image-container\" itemprop=\"image\" itemscope itemtype=\"https:\/\/schema.org\/ImageObject\">\n\t\t\t<img width=\"1024\" height=\"576\" src=\"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/09\/PenFed-Transforms-Member-Experience-with-Salesforce-AI-and-Digital-Solutions.png?w=1024\" class=\"content-card__image\" alt=\"\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" loading=\"lazy\" decoding=\"async\" srcset=\"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/09\/PenFed-Transforms-Member-Experience-with-Salesforce-AI-and-Digital-Solutions.png 1200w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/09\/PenFed-Transforms-Member-Experience-with-Salesforce-AI-and-Digital-Solutions.png?w=300&amp;h=169 300w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/09\/PenFed-Transforms-Member-Experience-with-Salesforce-AI-and-Digital-Solutions.png?w=768&amp;h=432 768w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/09\/PenFed-Transforms-Member-Experience-with-Salesforce-AI-and-Digital-Solutions.png?w=1024&amp;h=576 1024w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/09\/PenFed-Transforms-Member-Experience-with-Salesforce-AI-and-Digital-Solutions.png?w=264&amp;h=149 264w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/09\/PenFed-Transforms-Member-Experience-with-Salesforce-AI-and-Digital-Solutions.png?w=500&amp;h=281 500w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/09\/PenFed-Transforms-Member-Experience-with-Salesforce-AI-and-Digital-Solutions.png?w=678&amp;h=381 678w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/09\/PenFed-Transforms-Member-Experience-with-Salesforce-AI-and-Digital-Solutions.png?w=150&amp;h=84 150w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/09\/PenFed-Transforms-Member-Experience-with-Salesforce-AI-and-Digital-Solutions.png?w=314&amp;h=177 314w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/09\/PenFed-Transforms-Member-Experience-with-Salesforce-AI-and-Digital-Solutions.png?w=343&amp;h=193 343w\" \/>\t\t\t\t\t<\/div>\n\t\n\t<div class=\"content-card__content-container content-card__content-container--style-\">\n\t\t\n\t\t\n\t\t\t\t\t<h3 itemprop=\"headline\" class=\"content-card__title\">\n\t\t\t\t\t\t\t\t\t<a\n\t\t\t\t\t\thref=\"https:\/\/www.salesforce.com\/news\/stories\/penfed-agentforce-mulesoft-enhanced-member-experiences\/\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"content-card__title-link\"\n\t\t\t\t\t>\n\t\t\t\t\t\t\t\tSalesforce Data and AI Solutions Boost PenFed Member Experiences\t\t\t\t<\/a>\t\t\t<\/h3>\n\t\t\n\t\t\t\t\n\t\t\n\t\t\t\t\t<div itemprop=\"readTime\" class=\"content-card__read-time\">\n\t\t\t\t3 min read\t\t\t<\/div>\n\t\t\n\t\t\t<\/div>\n\n<\/article>\n\n\n\n<article\t\t\titemscope=\"\"\n\t\titemtype=\"https:\/\/schema.org\/Article\"\n\t\tdata-card-id=\"76855\"\n\t\tclass=\"content-card content-card--large-inline is-entire-area-clickable content-card--is-boxed\"\n\t\t\tdata-clickable-area-link=\"https:\/\/www.salesforce.com\/news\/press-releases\/2024\/04\/25\/einstein-copilot-general-availability\/\"\n\t>\n\t\t\t<div class=\"content-card__image-container\" itemprop=\"image\" itemscope itemtype=\"https:\/\/schema.org\/ImageObject\">\n\t\t\t<img width=\"1024\" height=\"576\" src=\"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/04\/EinsteinCopilotGA.jpg?w=1024\" class=\"content-card__image\" alt=\"\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" loading=\"lazy\" decoding=\"async\" srcset=\"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/04\/EinsteinCopilotGA.jpg 1200w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/04\/EinsteinCopilotGA.jpg?w=300&amp;h=169 300w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/04\/EinsteinCopilotGA.jpg?w=768&amp;h=432 768w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/04\/EinsteinCopilotGA.jpg?w=1024&amp;h=576 1024w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/04\/EinsteinCopilotGA.jpg?w=264&amp;h=149 264w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/04\/EinsteinCopilotGA.jpg?w=500&amp;h=281 500w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/04\/EinsteinCopilotGA.jpg?w=678&amp;h=381 678w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/04\/EinsteinCopilotGA.jpg?w=150&amp;h=84 150w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/04\/EinsteinCopilotGA.jpg?w=314&amp;h=177 314w, https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2024\/04\/EinsteinCopilotGA.jpg?w=343&amp;h=193 343w\" \/>\t\t\t\t\t<\/div>\n\t\n\t<div class=\"content-card__content-container content-card__content-container--style-\">\n\t\t\n\t\t\n\t\t\t\t\t<h3 itemprop=\"headline\" class=\"content-card__title\">\n\t\t\t\t\t\t\t\t\t<a\n\t\t\t\t\t\thref=\"https:\/\/www.salesforce.com\/news\/press-releases\/2024\/04\/25\/einstein-copilot-general-availability\/\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"content-card__title-link\"\n\t\t\t\t\t>\n\t\t\t\t\t\t\t\tSalesforce Announces General Availability of Einstein Copilot Along with New Einstein Copilot Actions for Sellers and Tools for Driving Enterprise AI Adoption\t\t\t\t<\/a>\t\t\t<\/h3>\n\t\t\n\t\t\t\t\n\t\t\n\t\t\t\t\t<div itemprop=\"readTime\" class=\"content-card__read-time\">\n\t\t\t\t7 min read\t\t\t<\/div>\n\t\t\n\t\t\t<\/div>\n\n<\/article>\n\n\t\t<\/div>\n\t\t<noscript>\n<div class=\"pagination-fallback\">\n\n\t\t<a href=\"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/posts\/73483\/page\/2\/?bc=OTH#section-title\">\n\t\t\tOlder Posts\t\t<\/a>\n\t\t<\/div>\n<\/noscript>\n\t<\/div>\n<\/aside>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-why-is-rag-useful\"><strong>Why is RAG useful?<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-vidyard wp-block-embed-vidyard\"><div class=\"wp-block-embed__wrapper\">\n<script type=\"text\/javascript\" async src=\"https:\/\/play.vidyard.com\/embed\/v4.js\"><\/script><img decoding=\"async\"  style=\"width: 100%; margin: auto; display: block;\"  class=\"vidyard-player-embed\"  src=\"https:\/\/play.vidyard.com\/NUaYCnXm6KbWXd6kZnk34D.jpg\"  data-uuid=\"NUaYCnXm6KbWXd6kZnk34D\"  data-v=\"4\"  data-type=\"inline\"  data-width=\"500\"  data-height=\"281\"\/>\n<\/div><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>RAG empowers LLMs to use the most recent data while generating their response. Adding search results to a prompt reduces hallucinations in generative AI responses, without the complexity of fine-tuning or retraining an LLM.&nbsp;<\/li>\n\n\n\n<li>With RAG, generative AI responses can cite the source of their data. This brings transparency to the generation process and instills user trust.&nbsp;&nbsp;<\/li>\n\n\n\n<li>A <a href=\"https:\/\/www.salesforce.com\/news\/stories\/generative-ai-research\/\" target=\"_blank\" rel=\"noreferrer noopener\">majority (71%) of senior IT leaders<\/a> think generative AI will introduce new security risks for data. With RAG, a company\u2019s structured and unstructured data doesn\u2019t need to be part of the LLM itself. The data is kept safe and secure by sending the augmented prompt through the Einstein Trust Layer, meaning specific data privileges are now respected, and LLM responses will never expose data to users who don\u2019t have access to it.<\/li>\n\n\n\n<li>RAG allows customers to use standardized LLMs that are tested and proven and have ethics built-in, without sacrificing customer relevancy or domain specificity. It also facilitates the use of smaller LLMs, which are more cost-effective and sustainable.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-rag-is-used-across-the-salesforce-customer-360\"><strong>How RAG is used across the Salesforce Customer 360<\/strong><\/h2>\n\n\n\n<p>Using RAG patterns through Einstein Copilot Search and the Data Cloud Vector Database makes every Salesforce Customer 360 cloud and industry solution smarter.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In Sales Cloud, every sales rep can use insights previously hidden in sales emails, previous meeting notes, call transcripts, company white papers, product documentation, and more. RAG can use data from all of those unstructured materials in Data Cloud to facilitate the creation of a meeting brief, helping reps quickly prepare for customer conversations based on all the relevant background information. RAG can also facilitate the use of this data in generating better emails and other outbound messages.&nbsp;&nbsp;<\/li>\n\n\n\n<li>In Service Cloud, every service rep can now see suggested replies based on knowledge articles, previous cases, conversation contexts, previous emails, and other unstructured data. This helps them answer customers faster and better through every channel.<\/li>\n\n\n\n<li>Across any industry and cloud, companies can ask questions about content from documents. For example, RAG enables exploration through question and answer of user manuals, product documentation, RFP documents, or even previous answers to RFQ questions.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-learn-more\"><strong>Learn more<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.salesforce.com\/news\/press-releases\/2023\/12\/14\/unstructured-data-ai-search-einstein\" target=\"_blank\" rel=\"noreferrer noopener\">Read the news<\/a> about Salesforce\u2019s new unstructured data capabilities and Einstein Copilot Search&nbsp;&nbsp;<\/li>\n\n\n\n<li>Learn more about <a href=\"https:\/\/www.salesforce.com\/products\/einstein-ai-solutions\/?d=cta-body-promo-8\" target=\"_blank\" rel=\"noreferrer noopener\">Salesforce AI<\/a><\/li>\n\n\n\n<li>Find out how Einstein Copilot powers the enterprise <a href=\"https:\/\/www.salesforce.com\/news\/stories\/einstein-copilot-explained\" target=\"_blank\" rel=\"noreferrer noopener\">in this interview<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Editor\u2019s note: Einstein 1 Platform is now the Salesforce Platform. For the latest, go here. At World Tour NYC, Salesforce introduced new unstructured data capabilities for Data Cloud and Einstein Copilot Search. By bringing together data retrieval capabilities using semantic search and prompts in Einstein Copilot, responses by Large Language Models (LLMs) will be more [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":73487,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"sf_subhead":"","sf_i18n_disclaimer":false,"_jetpack_memberships_contains_paid_content":false,"alternateThumbnailId":0,"sf_product_cta_id":0,"footnotes":""},"categories":[1],"tags":[],"sf_content_type":[1728],"sf_theme":[],"sf_topic":[1737,1726],"sf_product":[1747,1772,2363,2717,2796,19249,1748],"sf_industry":[],"sf_role":[],"sf_multimedia_asset":[],"sf_location":[1798],"sf_collection":[],"sf_visibility":[],"coauthors":[],"class_list":["post-73483","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","sf_content_type-snapshots","sf_topic-artificial-intelligence","sf_topic-digital-transformation","sf_product-agentforce-sales","sf_product-agentforce-service","sf_product-customer-360","sf_product-data-360","sf_product-einstein","sf_product-einstein-ai","sf_product-salesforce-platform","sf_location-global"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How Einstein Copilot Search Uses Retrieval Augmented Generation to Make AI More Trusted and Relevant - Salesforce<\/title>\n<meta name=\"description\" content=\"Editor\u2019s note: Einstein 1 Platform is now the Salesforce Platform. For the latest, go here. At World Tour NYC, Salesforce introduced new unstructured data\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How Einstein Copilot Search Uses Retrieval Augmented Generation to Make AI More Trusted and Relevant\" \/>\n<meta property=\"og:description\" content=\"Editor\u2019s note: Einstein 1 Platform is now the Salesforce Platform. For the latest, go here. At World Tour NYC, Salesforce introduced new unstructured data\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/\" \/>\n<meta property=\"og:site_name\" content=\"Salesforce\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/salesforce\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-14T13:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-27T23:29:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/RAG.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@salesforcenews\" \/>\n<meta name=\"twitter:site\" content=\"@salesforcenews\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"NewsArticle\",\"@id\":\"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/\"},\"author\":{\"name\":\"\",\"@id\":\"\"},\"headline\":\"How Einstein Copilot Search Uses Retrieval Augmented Generation to Make AI More Trusted and Relevant\",\"datePublished\":\"2023-12-14T13:00:00+00:00\",\"dateModified\":\"2025-03-27T23:29:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/\"},\"wordCount\":1419,\"publisher\":{\"@id\":\"https:\/\/www.salesforce.com\/news\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/RAG.jpg\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/\",\"url\":\"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/\",\"name\":\"How Einstein Copilot Search Uses Retrieval Augmented Generation to Make AI More Trusted and Relevant - Salesforce\",\"isPartOf\":{\"@id\":\"https:\/\/www.salesforce.com\/news\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/RAG.jpg\",\"datePublished\":\"2023-12-14T13:00:00+00:00\",\"dateModified\":\"2025-03-27T23:29:16+00:00\",\"description\":\"Editor\u2019s note: Einstein 1 Platform is now the Salesforce Platform. For the latest, go here. At World Tour NYC, Salesforce introduced new unstructured data\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/#primaryimage\",\"url\":\"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/RAG.jpg\",\"contentUrl\":\"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/RAG.jpg\",\"width\":1200,\"height\":675},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.salesforce.com\/news\/#website\",\"url\":\"https:\/\/www.salesforce.com\/news\/\",\"name\":\"Salesforce\",\"description\":\"Get the latest Salesforce press releases, announcements, stories, and media contacts. See today\u2019s CRM news.\",\"publisher\":{\"@id\":\"https:\/\/www.salesforce.com\/news\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.salesforce.com\/news\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.salesforce.com\/news\/#organization\",\"name\":\"Salesforce\",\"url\":\"https:\/\/www.salesforce.com\/news\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.salesforce.com\/news\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2020\/08\/default.jpg\",\"contentUrl\":\"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2020\/08\/default.jpg\",\"width\":1200,\"height\":630,\"caption\":\"Salesforce\"},\"image\":{\"@id\":\"https:\/\/www.salesforce.com\/news\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/salesforce\/\",\"https:\/\/x.com\/salesforcenews\",\"https:\/\/www.linkedin.com\/company\/salesforce\/\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How Einstein Copilot Search Uses Retrieval Augmented Generation to Make AI More Trusted and Relevant - Salesforce","description":"Editor\u2019s note: Einstein 1 Platform is now the Salesforce Platform. For the latest, go here. At World Tour NYC, Salesforce introduced new unstructured data","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/","og_locale":"en_US","og_type":"article","og_title":"How Einstein Copilot Search Uses Retrieval Augmented Generation to Make AI More Trusted and Relevant","og_description":"Editor\u2019s note: Einstein 1 Platform is now the Salesforce Platform. For the latest, go here. At World Tour NYC, Salesforce introduced new unstructured data","og_url":"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/","og_site_name":"Salesforce","article_publisher":"https:\/\/www.facebook.com\/salesforce\/","article_published_time":"2023-12-14T13:00:00+00:00","article_modified_time":"2025-03-27T23:29:16+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/RAG.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_creator":"@salesforcenews","twitter_site":"@salesforcenews","twitter_misc":{"Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/#article","isPartOf":{"@id":"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/"},"author":{"name":"","@id":""},"headline":"How Einstein Copilot Search Uses Retrieval Augmented Generation to Make AI More Trusted and Relevant","datePublished":"2023-12-14T13:00:00+00:00","dateModified":"2025-03-27T23:29:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/"},"wordCount":1419,"publisher":{"@id":"https:\/\/www.salesforce.com\/news\/#organization"},"image":{"@id":"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/#primaryimage"},"thumbnailUrl":"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/RAG.jpg","inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/","url":"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/","name":"How Einstein Copilot Search Uses Retrieval Augmented Generation to Make AI More Trusted and Relevant - Salesforce","isPartOf":{"@id":"https:\/\/www.salesforce.com\/news\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/#primaryimage"},"image":{"@id":"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/#primaryimage"},"thumbnailUrl":"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/RAG.jpg","datePublished":"2023-12-14T13:00:00+00:00","dateModified":"2025-03-27T23:29:16+00:00","description":"Editor\u2019s note: Einstein 1 Platform is now the Salesforce Platform. For the latest, go here. At World Tour NYC, Salesforce introduced new unstructured data","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.salesforce.com\/news\/stories\/retrieval-augmented-generation-explained\/#primaryimage","url":"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/RAG.jpg","contentUrl":"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/RAG.jpg","width":1200,"height":675},{"@type":"WebSite","@id":"https:\/\/www.salesforce.com\/news\/#website","url":"https:\/\/www.salesforce.com\/news\/","name":"Salesforce","description":"Get the latest Salesforce press releases, announcements, stories, and media contacts. See today\u2019s CRM news.","publisher":{"@id":"https:\/\/www.salesforce.com\/news\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.salesforce.com\/news\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.salesforce.com\/news\/#organization","name":"Salesforce","url":"https:\/\/www.salesforce.com\/news\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.salesforce.com\/news\/#\/schema\/logo\/image\/","url":"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2020\/08\/default.jpg","contentUrl":"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2020\/08\/default.jpg","width":1200,"height":630,"caption":"Salesforce"},"image":{"@id":"https:\/\/www.salesforce.com\/news\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/salesforce\/","https:\/\/x.com\/salesforcenews","https:\/\/www.linkedin.com\/company\/salesforce\/"]}]}},"jetpack_featured_media_url":"https:\/\/www.salesforce.com\/news\/wp-content\/uploads\/sites\/3\/2023\/12\/RAG.jpg","jetpack_sharing_enabled":true,"distributor_meta":false,"distributor_terms":false,"distributor_media":false,"distributor_original_site_name":"Salesforce","distributor_original_site_url":"https:\/\/www.salesforce.com\/news","push-errors":false,"_links":{"self":[{"href":"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/posts\/73483","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/comments?post=73483"}],"version-history":[{"count":11,"href":"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/posts\/73483\/revisions"}],"predecessor-version":[{"id":85873,"href":"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/posts\/73483\/revisions\/85873"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/media\/73487"}],"wp:attachment":[{"href":"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/media?parent=73483"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/categories?post=73483"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/tags?post=73483"},{"taxonomy":"sf_content_type","embeddable":true,"href":"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/sf_content_type?post=73483"},{"taxonomy":"sf_theme","embeddable":true,"href":"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/sf_theme?post=73483"},{"taxonomy":"sf_topic","embeddable":true,"href":"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/sf_topic?post=73483"},{"taxonomy":"sf_product","embeddable":true,"href":"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/sf_product?post=73483"},{"taxonomy":"sf_industry","embeddable":true,"href":"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/sf_industry?post=73483"},{"taxonomy":"sf_role","embeddable":true,"href":"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/sf_role?post=73483"},{"taxonomy":"sf_multimedia_asset","embeddable":true,"href":"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/sf_multimedia_asset?post=73483"},{"taxonomy":"sf_location","embeddable":true,"href":"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/sf_location?post=73483"},{"taxonomy":"sf_collection","embeddable":true,"href":"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/sf_collection?post=73483"},{"taxonomy":"sf_visibility","embeddable":true,"href":"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/sf_visibility?post=73483"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.salesforce.com\/news\/wp-json\/wp\/v2\/coauthors?post=73483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}