Agentforce and RAG: Best Practices for Better Agents
The purpose of this document is to provide best practices for powering Agentforce with unstructured data (files) and long free-text fields on structured objects. The Salesforce Platform offers a collection of integrated tools to set up and implement retrieval augmented generation (RAG)-powered solutions. RAG ensures that agent responses are more accurate, up to date, and relevant with respect to a company’s enterprise knowledge. Some of these tools are straightforward and out of the box. Some allow granular configuration for additional control over the solution’s behavior. In all cases, however, implementers are required to make choices about solution architecture and design. The purpose of this document is to guide the Salesforce admin or developer in making these design choices in the best way given their requirements. The content in this document is inspired by real-life scenarios and implementations. It describes technology that is generally available (GA) or open beta at the time of writing (see date of last update at the beginning of the document). Occasionally, roadmap items will be discussed when they are close to being released. In these cases, the content is marked as a roadmap item, if possible with an indication of the release timeline, subject to the forward-looking statements listed in the appendix. This document in no way replaces the documentation on help.salesforce.com and information on Trailhead. Both sources describe the capabilities of RAG on the Salesforce Platform. Instead, this document complements that documentation and offers guidance on how to best use these capabilities, resulting in high-performing agents. For completeness, this introduction contains a brief overview of RAG on the Salesforce Platform. However, this introduction is not complete as a beginner’s guide. Therefore, this chapter ends with a set of prerequisites needed for a sufficient understanding of the rest of this document.
Key Takeaways
- ✓ Learn about best practices for powering with unstructured data and long free-text fields on structured objects.
Download this resource
Get the full guide to read offline.
⬇ Download GuideBy downloading this guide you agree that your business details will be shared with Data 360 for follow up purposes. Read their privacy policy.
Related Resources
Data 360 Implementation Overview Guide
See how to bring data together, unify that data into unified profiles and then act on that data across Salesforce and externally with Data 360. This guide is for all roles involved in the implementation of Data 360.
Data 360 Self-Service Evaluation Guide
Test Data 360 without a lengthy proof-of-concept. Follow the Connect, Transform, Action framework to ingest external data, unify customer profiles, and automate workflows through step-by-step instructions.
Data Foundation for the Age of AI
Discover how Data 360 unifies data to power AI-driven customer experiences and learn more about Salesforce's strategic partnership with AWS, allowing zero copy to any AWS data service.