---
schema_version: "1"
id: 35281fdb508e80486afc4280777b3390456507a93501bf36fa571ba36be04cbb
title: Retrieval Augmented Generation
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/generative_ai_rag.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.generative_ai_rag.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 71901ce9c0d234f4ac1ace58c0930f2336397b4b9beb62d68585d1f9d5bc283c
description: Use Retrieval Augmented Generation (RAG) in Data 360 to improve large language model (LLM) responses for agents and users. RAG is a framework for grounding prompts with relevant, accurate knowledge from unstructured data sources.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Retrieval Augmented Generation

Use Retrieval Augmented Generation (RAG) in Data 360 to improve large language model (LLM) responses for agents and users. RAG is a framework for grounding prompts with relevant, accurate knowledge from unstructured data sources.

- **[About Retrieval Augmented Generation](https://help.salesforce.com/s/articleView?id=ai.generative_ai_rag_about.htm&release=264.0.0&type=5)**  
    Learn how Retrieval Augmented Generation (RAG) in Data 360 enhances your Agentforce and Einstein generative AI solutions with knowledge.
- **[Example: Agentic RAG with Advanced Data 360 Setup](https://help.salesforce.com/s/articleView?id=ai.generative_ai_rag_example.htm&release=264.0.0&type=5)**  
    This example walks you through the end-to-end steps to implement an agent that's grounded with knowledge using Retrieval Augmented Generation (RAG) in Data 360.
- **[Troubleshooting Knowledge Retrieval for Agents](https://help.salesforce.com/s/articleView?id=ai.generative_ai_rag_troubleshoot.htm&release=264.0.0&type=5)**  
    Solve common retrieval augmented generation (RAG) issues for agents.

#### See Also

- [_Salesforce Help (Data 360)_: Search for AI, Automation, and Analytics](https://help.salesforce.com/s/articleView?id=data.c360_a_search_index_ground_ai.htm&type=5&language=en_US)
- [_Salesforce Help_: Manage Retrievers in AI Models (formerly Einstein Studio)](https://help.salesforce.com/s/articleView?id=data.c360_a_ai_retriever.htm&type=5&language=en_US)
- [Ground with Knowledge Using Retrieval Augmented Generation](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_ground_rag.htm&release=264.0.0&type=5 "Retrieval augmented generation (RAG) in Data 360 improves the quality, accuracy, and relevance of your LLM-generated responses. Enhance your prompt templates using retrievers with Einstein Search. Add relevant knowledge from unstructured text sources into your LLM prompts. Retrieve knowledge from articles, emails, chat transcripts, and other sources.")
- [_Trailhead_: Retrieval Augmented Generation: Quick Look](https://trailhead.salesforce.com/content/learn/modules/retrieval-augmented-generation-quick-look)
- [_Trailhead_: Advanced RAG with Data 360 and Agentforce](https://trailhead.salesforce.com/content/learn/modules/advanced-rag-with-data-360-and-agentforce)
- [_Video_: Improve Agentforce with RAG](https://salesforce.vidyard.com/watch/aLi8PuuPSZtXYbB4G4w75B)