Universal Containers wants to leverage the Record Snapshots grounding feature in a prompt template. What preparations are required?
Correct Answer: B
Comprehensive and Detailed In-Depth Explanation:Universal Containers (UC) aims to use Record Snapshots grounding in a prompt template to provide context from a specific record. Let's evaluate the preparation steps.
* Option A: Configure page layout of the master record type.While page layouts define field visibility for users, Record Snapshots grounding relies on field accessibility at the object level, not the layout.
The AI accesses data based on permissions and configuration, not layout alone, making this insufficient and incorrect.
* Option B: Create a field set for all the fields to be grounded.Record Snapshots in Prompt Builder allow grounding with fields from a record, but you must specify which fields to include. Creating a field set is a recommended preparation step-it groups the fields (e.g., from the object) to be passed to the prompt template, ensuring the AI has the right data. This is a documented best practice for controlling snapshot scope, making it the correct answer.
* Option C: Enable and configure dynamic form for the object.Dynamic Forms enhance UI flexibility but aren't required for Record Snapshots grounding. The feature pulls data directly from the object, not the form configuration, making this irrelevant and incorrect.
Why Option B is Correct:Creating a field set ensures the prompt template uses the intended fields for grounding, a key preparation step per Salesforce documentation.
References:
* Salesforce Agentforce Documentation: Prompt Builder > Record Snapshots- Recommends field sets for grounding.
* Trailhead: Ground Your Agentforce Prompts- Details field set preparation.
* Salesforce Help: Set Up Record Snapshots- Confirms field set usage.
Recent Comments (The most recent comments are at the top.)
A is correct, field set is not needed and even if dynamic form is created, it uses the page layout behind the dynamic form for snapshot