AI-201 · Question #12
Universal Containers (UC) implements a custom retriever to improve the accuracy of AI- generated responses. UC notices that the retriever is returning too many irrelevant results, making the responses
The correct answer is A. Define filters to narrow the search results based on specific conditions.. In Salesforce Agentforce, a custom retriever is used to fetch relevant data (e.g., from Data Cloud's vector database or Salesforce records) to ground AI responses. UC's issue is that their retriever returns too many irrelevant results, reducing response accuracy. The best solutio
Question
Universal Containers (UC) implements a custom retriever to improve the accuracy of AI- generated responses. UC notices that the retriever is returning too many irrelevant results, making the responses less useful. What should UC do to ensure only relevant data is retrieved?
Options
- ADefine filters to narrow the search results based on specific conditions.
- BChange the search index to a different data model object (DMO).
- CIncrease the maximum number of results returned to capture a broader dataset.
How the community answered
(47 responses)- A81% (38)
- B13% (6)
- C6% (3)
Explanation
In Salesforce Agentforce, a custom retriever is used to fetch relevant data (e.g., from Data Cloud's vector database or Salesforce records) to ground AI responses. UC's issue is that their retriever returns too many irrelevant results, reducing response accuracy. The best solution is to define filters (Option A) to refine the retriever's search criteria. Filters allow UC to specify conditions (e.g., "only retrieve documents from the `Policy' category" or "records created after a certain date") that narrow the dataset, ensuring the retriever returns only relevant results. This directly improves the precision of AI-generated responses by excluding extraneous data, addressing UC's problem effectively.
Topics
Community Discussion
No community discussion yet for this question.