nerdexam
Salesforce

AI-201 · Question #42

Universal Containers (UC) plans to implement prompt templates that utilize the standard foundation models. What should UC consider when building prompt templates in Prompt Builder?

The correct answer is B. Ask it to role-play as a character in the prompt template to provide more context to the LLM. A well-established prompting best practice for LLMs is to assign the model a persona or role (e.g., 'You are a knowledgeable Salesforce support agent') within the prompt template. This technique - sometimes called role prompting - provides the LLM with additional context about…

AI Features for Service (e.g., Einstein Bots, Next Best Action)

Question

Universal Containers (UC) plans to implement prompt templates that utilize the standard foundation models. What should UC consider when building prompt templates in Prompt Builder?

Options

  • AInclude multiple-choice questions within the prompt to test the LLM's understanding of the
  • BAsk it to role-play as a character in the prompt template to provide more context to the LLM.
  • CTrain LLM with data using different writing styles including word choice, intensifiers, emojis, and

How the community answered

(28 responses)
  • A
    18% (5)
  • B
    71% (20)
  • C
    11% (3)

Explanation

A well-established prompting best practice for LLMs is to assign the model a persona or role (e.g., 'You are a knowledgeable Salesforce support agent') within the prompt template. This technique - sometimes called role prompting - provides the LLM with additional context about the expected style, expertise level, and tone of its responses, resulting in more relevant and consistent outputs. Choice A is incorrect because embedding multiple-choice quiz questions in a prompt does not help the LLM generate better responses for users. Choice C is incorrect because foundation models used in Prompt Builder are not retrained or fine-tuned using Salesforce data; the prompts guide behavior at inference time only.

Topics

#Prompt Engineering#Prompt Builder#Foundation Models#LLM Context

Community Discussion

No community discussion yet for this question.

Full AI-201 Practice