How should the AI Specialist include these instructions on a new line in the prompt template?

An AI Specialist at Universal Containers is working on a prompt template to generate personalized emails for product demonstration requests from customers. It is important for the Al-generated email to adhere strictly to the guidelines, using only associated opportunity information, and to encourage the recipient to take the desired action.

How should the AI Specialist include these instructions on a new line in the prompt template?
A . Surround them with triple quotes (""").
B . Make sure merged fields are defined.
C . Use curly brackets {} to encapsulate instructions.

Answer: A

Explanation:

In Salesforce prompt templates, instructions that guide how the Large Language Model (LLM) should generate content (in this case, personalized emails) can be included by surrounding the instruction text with triple quotes ("""). This formatting ensures that the LLM adheres to the specific instructions while generating the email content.

The use of triple quotes allows the AI to understand that the enclosed text is a directive for how to approach the task, such as limiting the content to associated opportunity information or encouraging a specific action from the recipient.

Refer to Salesforce Prompt Builder documentation for detailed instructions on how to structure prompts for generative AI.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments