An AI Specialist built a Field Generation prompt template that worked for many records, but users are reporting random failures with token limit errors.
What is the cause of the random nature of this error?
Correct Answer:
A
The reason behind the token limit errors lies in the dynamic nature of the prompt template used in Field Generation. In Salesforce's AI generative models, each prompt and its corresponding output are subject to a token limit, which encompasses both the input and output of the large language model (LLM). Since the prompt template dynamically adjusts based on the specific data of each record, the number of tokens varies per record. Some records may generate longer outputs based on their data attributes, pushing the token count beyond the allowable limit for the LLM, resulting in token limit errors.
This behavior explains why users experience random failures—it is dependent on the specific data used in each case. For certain records, the combined input and output may fall within the token limit, while for others, it may exceed it. This variation is intrinsic to how dynamic templates interact with large language models.
Salesforce provides guidance in their documentation, stating that prompt template design should take into account token limits and suggests testing with varied records to avoid such random errors. It does not mention switching to Flex template type as a solution, nor does it suggest that token limits fluctuate with user demand. Token limits are a constant defined by the model itself, independent of external user load.
References:
✑ Salesforce Developer Documentation onToken Limits for Generative AI Models
✑ Salesforce AI Best Practices on Prompt Design (Trailhead or Salesforce blog resources)
The sales team at a hotel resort would like to generate a guest summary about the guests' interests and provide recommendations based on their activity preferences captured in each guest profile. They want the summary to be available only on the contact record page.
Which AI capability should the team use?
Correct Answer:
B
The sales team at a hotel resort wants to generate a guest summary about guests' interests and provide recommendations based on their activity preferences captured in each guest profile. They require the summary to be availableonly on the contact record page.
Solution:
✑ UsePrompt Builderto create a prompt template that generates the desired summary and displays it on the contact record page.
✑ Prompt Builder:
✑ Implementation Steps:
✑ Why Not Einstein Copilot or Model Builder:
References:
✑ Salesforce AI Specialist Documentation -Prompt Builder Overview:
✑ Salesforce Help -Creating Field Generation Prompt Templates:
✑ Salesforce Trailhead -Customize AI Content with Prompt Builder:
Conclusion:
By utilizing Prompt Builder, the sales team can create a customized prompt template that generates personalized guest summaries and recommendations based on activity preferences. This solution meets the requirement of displaying the summary only on the contact record page, enhancing the team's ability to engage with guests effectively.
Universal Containers (UC) wants to assess Salesforce's generative features but has concerns over its company data being exposed to third- party large language models (LLMs). Specifically, UC wants the followingcapabilities to be part of Einstein's generative AI service.
No data is used for LLM training or product improvements by third- party LLMs. No data is retained outside of UC's Salesforce org.
The data sent cannot be accessed by the LLM provider.
Which property of the Einstein Trust Layer should the AI Specialist highlight to UC that addresses these requirements?
Correct Answer:
B
Universal Containers (UC)has concerns about data privacy when using
Salesforce's generative AIfeatures, particularly around preventing third-party LLMs from accessing or retaining their data. TheZero-Data Retention Policyin theEinstein Trust Layeris designed to address these concerns by ensuring that:
✑ No data is used for trainingor product improvements by third-party LLMs.
✑ No data is retainedoutside of the customer's Salesforce organization.
✑ The LLM provider cannot access any customer data.
This policy aligns perfectly with UC??s requirements for keeping their data safe while leveraging generative AI capabilities.
✑ Prompt DefenseandData Maskingare also security features, but they do not
directly address the concerns related to third-party data access and retention.
References:
✑ Salesforce Einstein Trust Layer Documentation:https://help.salesforce.com/s/articleView?id=sf.einstein_trust_layer.htm
A sales rep at Universal Containers is extremely busy and sometimes will have very long sales calls on voice and video calls and might miss key details. They are just starting to adopt new generative AI
features.
Which Einstein Generative AI feature should an AI Specialist recommend to help the rep get the details they might have missed during a conversation?
Correct Answer:
A
For a sales rep who may miss key details during long sales calls, the AI Specialist should recommend theCall Summaryfeature.Call SummaryusesEinstein Generative AIto automatically generate a concise summary of important points discussed during the call, helping the rep quickly review the key information they might have missed.
✑ Call Exploreris designed for manually searching through call data but doesn't summarize.
✑ Sales Summaryis focused more on summarizing overall sales activity, not call- specific content.
For more details, refer toSalesforce's Call Summary documentationon how AI- generated summaries can improve sales rep productivity.
Universal Containers has seen a high adoption rate of a new feature that uses generative AI to populate a summary field of a custom object, Competitor Analysis. All sales users have the same profile but one user cannot see the generative AlI-enabled field icon next to the summary field.
What is the most likely cause of the issue?
Correct Answer:
C
In Salesforce, Generative AI capabilities are controlled by specific permission sets. To use features such as generating summaries with AI, users need to have the correct permission sets that allow access to these functionalities.
✑ Generative AI User Permission Set: This is a key permission set required to enable the generative AI capabilities for a user. In this case, the missingGenerative AI Userpermission setprevents the user from seeing the generative AI-enabled field icon. Without this permission, the generative AI feature in the Competitor Analysis custom object won't be accessible.
✑ Why not A?ThePrompt Template Userpermission set relates specifically to users
who need access to prompt templates for interacting with Einstein GPT, but it's not directly related to the visibility of AI-enabled field icons.
✑ Why not B?While a prompt template might need to be activated, this is not the
primary issue here. The question states that other users with the same profile can see the icon, so the problem is more likely to be permissions-based for this particular user.
For more detailed information, you can review Salesforce documentation onpermission setsrelated to AI capabilities atSalesforce AI DocumentationandEinstein GPT permissioning guidelines.