Question 11
Choose 1
Universal Containers (UC) has implemented Generative AI within Salesforce to enable summarization of a custom object called Guest. Users have reported mismatches in the generated information.
In refining its prompt design strategy, which key practices should UC prioritize?
In refining its prompt design strategy, which key practices should UC prioritize?
Correct answer:
B. Create concise, clear, and consistent prompt templates with effective grounding, contextual role- playing, clear instructions, and iterative feedback.
Explanation:
To improve summarization accuracy for the Guest custom object, Universal Containers (UC) should focus on prompt engineering best practices:
Key Practices to Prioritize
1. Effective Grounding: Ensure prompts reference the correct Guest object fields (e.g., {{Guest.Preference__c}}).
2. Contextual Role-Playing: Define the AI’s role (e.g., "You are a concierge summarizing guest preferences...").
3. Clear Instructions: Specify format/length (e.g., "Summarize in 3 bullet points").
4. Iterative Feedback: Continuously refine prompts based on user-reported mismatches.
Why Not the Other Options?
A. "Prompt test mode & user subsets":
While useful for A/B testing, it doesn’t fix core prompt design issues like poor grounding.
C. "Submit to Salesforce & playground testing":
Playground testing is helpful, but UC must first optimize prompts internally (grounding, instructions).
Implementation Steps:
Audit current prompts for vague instructions or weak grounding.
Add role-playing context (e.g., "Act as a hotel manager...").
Test in Prompt Builder with sample Guest records.
Refine based on agent feedback.
Reference:
Salesforce Help - Prompt Template Best Practices
To improve summarization accuracy for the Guest custom object, Universal Containers (UC) should focus on prompt engineering best practices:
Key Practices to Prioritize
1. Effective Grounding: Ensure prompts reference the correct Guest object fields (e.g., {{Guest.Preference__c}}).
2. Contextual Role-Playing: Define the AI’s role (e.g., "You are a concierge summarizing guest preferences...").
3. Clear Instructions: Specify format/length (e.g., "Summarize in 3 bullet points").
4. Iterative Feedback: Continuously refine prompts based on user-reported mismatches.
Why Not the Other Options?
A. "Prompt test mode & user subsets":
While useful for A/B testing, it doesn’t fix core prompt design issues like poor grounding.
C. "Submit to Salesforce & playground testing":
Playground testing is helpful, but UC must first optimize prompts internally (grounding, instructions).
Implementation Steps:
Audit current prompts for vague instructions or weak grounding.
Add role-playing context (e.g., "Act as a hotel manager...").
Test in Prompt Builder with sample Guest records.
Refine based on agent feedback.
Reference:
Salesforce Help - Prompt Template Best Practices
