Prompt Engineering Flashcards

(41 cards)

1
Q

A set of detailed instructions sent to a LLM to produce a response. It utilizes various ingredients, guidelines and grounding.

A

Prompt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Allows drafting a prompt and grounding it with data using merge fields. The Preview section allows testing the resolved template.

A

Prompt Template Workspace

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Prompt Template Types:

A
  1. Contextual Service Replies
  2. Field Generation
  3. Flex
  4. Grounded Service Replies
  5. Knowledge Answers
  6. Record Summary
  7. Sales Email
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A reusable detailed prompt that can be created and managed in Prompt Builder

A

Prompt Template

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Natural Language instructions that describe a specific task for the LLM

A

Prompt Instructions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What key prompt ingredients should be included in an effective prompt?

A
  1. Participants
  2. Setting
  3. Goal
  4. Relationships
  5. Data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Name 4 prompt guidelines.

A
  1. Limits
  2. Language
  3. Style
  4. Tone
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Adds relevant data, context and personalization to prompts and output.

A

Grounding

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is used to create, test, revise, customize and manage prompt templates?

A

Prompt Builder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How is prompt builder enabled?

A

Set up Einstein Generative AI and assign permissions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What permission set allows users to create and manage prompt templates?

A

Prompt Template Manager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What permission set allows users to access and run prompt templates?

A

Prompt Template User

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

In the Prompt Builder Workspace, where is the LLM selected?

A

Template Properties

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What type of prompt template is used to generate content for a record field.

A

Field Generation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What type of prompt template could be used to dynamically generate a summary of key details and populate a field?

A

Field Generation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What prompt template is used to generate personalized customer emails based on record data?

A

Sales Email

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What prompt template can be used to generate personalized, targeted emails that leverage customer relationship history and insights.

18
Q

Which prompt template is used to summarize record data for a comprehensive view of a record?

A

Record Summary

19
Q

What prompt template uses the Summarize Record standard invocable action and Summarize Record standard agent action?

A

Record Summary

20
Q

This prompt template type can be used to generate content for any business purpose not covered by the other template types.

21
Q

What prompt template type can be used to generate sales proposals that use data from multiple unrelated objects?

22
Q

What type of prompt templates can be customized to adapt to an ongoing chat, using information from the customer record?

A

Contextual Service Replies

23
Q

What type of prompt templates can be used to provide responses based on knowledge articles, case histories or knowledge base?

A

Grounded Service Replies

24
Q

What type of template is used to customize how agents answer questions using knowledge?

A

Knowledge Answers

25
What permission set should be used for users who need to draft emails using a Sales Email prompt template?
Einstein Sales Emails
26
What permission set provides visibility of the AI enabled field icon for a dynamic form field?
Prompt Template user
27
Users must have what 2 permissions in order to draft sales emails?
Einstein Sales Emails permission set AND access to all the fields in the email template.
28
What are best practices for prompt templates?
1. Clear, Concise, Consistent 2. Role-play as a character 3. Instructions surrounded with triple quotes in a separate section.
29
What are prompt template limitations?
1. User and Org related lists are not supported. 2. Activities related list are not supported for Account and Case 3. No more than 5 related list merge fields can be included.
30
In order to use a field generation prompt template on a Lightning Record page what must happen first?
The Lightning record page must be upgraded to dynamic forms.
31
What is grounding?
Provides the LLM with context to create personalized responses based on accurate and up-to-date information.
32
Grounding technique used to connect a prompt template to a Salesforce object field.
Record Merge Field
33
Grounding technique used to connect a prompt template to an object's related list.
Related List Merge Fields
34
Grounding technique that can be used to launch a flow and add complex logic to a prompt template.
Flow Merge Fields
35
Grounding technique that adds an Apex class to a prompt for returning data via SOQL, API or JSON.
Apex Merge Fields
36
Grounding technique that is harmonized groupings of data created from DMOs
Data Cloud DMO Merge Fields
37
What is a DMO?
Data Model Object
38
Grounding technique that represents a single resource with data available on the user's page layout for an object.
Record Snapshots
39
Grounding technique that incorporates context from unstructured text sources organized in a vector database.
Retrieval Augmented Generation (RAG) in Data Cloud
40
What does a template triggered prompt flow do?
Brings data from unified data cloud objects into a prompt template.
41