[Tool] Prompt Engineering for ChatGPT Flashcards

1
Q

Prompt Engineering for ChatGPT

What is ChatGPT?

A

A tool for rapidly iterating and prototyping your ideas

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

Prompt Engineering for ChatGPT

5 Benefits of using ChatGPT

A
  • Give form to your ideas/thoughts
  • Explore different concepts
  • Refine them over interactions
  • Save time and resources
  • Make difficult things, easy
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Prompt Engineering for ChatGPT

3 Things you must know

A
  • It is not a one-off
  • It is not just to write essays or answer questions
  • It may have errors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Prompt Engineering for ChatGPT

What is essential for ensuring the quality of answers with ChatGPT?

A

Know the subject you are asking for.

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

Prompt Engineering for ChatGPT

What is an LLM?

A

An LLM is a type of AI model trained on vast amounts of text data to understand and generate human-like language.

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

Prompt Engineering for ChatGPT

What have LLMs learned from the Internet?

A

LLMs have learned Patterns (what came before in the text) from human language available on the Internet

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

Prompt Engineering for ChatGPT

What characterizes the output of LLMs?

A

There is inherent randomness (do not produce the same results every time).

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

Prompt Engineering for ChatGPT

What influence the accuracy of the output in an LLM?

A

The quality and training of the model.

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

Prompt Engineering for ChatGPT

How does work an LLM?

A
  1. Take the input: Sequence of words of tokens
  2. Generate the next word based on the input: Patterns/associations from a training dataset
  3. Add a generated word to the input: The updated input is used for generating the next word.
  4. Generate the next word until it generates the last word (­­­= stop).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Prompt Engineering for ChatGPT

How are Patterns in LLM influenced by the textual organization and language of a prompt?

A

Textual organization, specific words chosen, and the language used in the prompt.
Specific tokens -> stronger patterns
Generic tokens -> generic patterns.

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

Prompt Engineering for ChatGPT

What is the importance of being specific in prompts for LLMs?

SpWo-DePr -> St-Co

A

Specific words and detailed prompts contribute to shaping the structure and content of the generated output.

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

Prompt Engineering for ChatGPTHow can ChatGPT be envisioned in terms of its role as a personal assistant?

A

Takes user instructions, generates an output, and allows users to provide additional rules if the initial output is not satisfactory.

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

Prompt Engineering for ChatGPT

What is a Prompt?

A

A Prompt is a call to action for the LLM to start generating an output. It can affect current or future events, asking the model to do something now or in the future. The prompt can also be designed to prompt the user to provide information.

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

Prompt Engineering for ChatGPT

How does including phrases like “from now on” and “when I ask a question” in a ChatGPT prompt impact the LLM’s behavior?

A

Including phrases like “from now on” attaches time to the prompt, and “when I ask a question” helps the LLM remember instructions for future questions. This practice continues to influence how the LLM approaches solving questions.

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

Prompt Engineering for ChatGPT

What is the purpose of using prompt patterns with an LLM?

StPh-St -> SSPr

A

Way to document a structure of phrases and statements to solve specific problems with an LLM, leveraging the patterns it has learned during training.

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

Prompt Engineering for ChatGPT

What types of problems of the output can be addressed by modifying the pattern of a prompt?

EnSpIn-CoFo-CoBe

A
  • Ensure specific inclusions in the output
  • Control the format of the output
  • Achieve more consistent behavior
17
Q

Prompt Engineering for ChatGPT

What is the structure of the formula provided for utilizing Personas in LLM prompts?

A

The formula for utilizing personas in LLM prompts is:

Act as a persona/system/anything. [Task to perform].

18
Q

Prompt Engineering for ChatGPT

What does the Persona Pattern refer to as a Persona?

A

A Persona could be:- A professional- A kid- An animal- A system- An object- …anything

19
Q

Prompt Engineering for ChatGPT

What is the purpose of the Persona Pattern in the context of LLMs?

A

The Persona Pattern simulates a specific point of view or role, allowing the LLM to generate outputs as if it were that persona, achieved by acting as that persona and implementing a complex set of rules.

20
Q

Prompt Engineering for ChatGPT

How can Person patterns be utilized to achieve various perspectives in LLM outputs?

DiPe-InDeMa-CoDiKn

A

Person patterns help obtain different perspectives, enabling informed decision-making, and collecting diverse knowledge by simulating different points of view on a specific topic.

21
Q

Prompt Engineering for ChatGPT

List 3 strategies for optimizing interactions within the prompt budget.

InSel-S-CoPr

A
  1. Information Selection (pre-selecting relevant data)
  2. Summarization (condensing paragraphs)
  3. Contextual Prompts (guiding the model with context-specific details)
22
Q

Prompt Engineering for ChatGPT

How does conversational thinking contribute to the effectiveness of using prompts?

IR-APS

A

It enables iterative refinement and adaptive problem-solving, guiding the model through a series of prompts, adapting to challenges, and navigating complexities.

23
Q

Prompt Engineering for ChatGPT

Why are Implicit Root Prompts essential in interactions with language models?

ERW

A

They define rules to guide the model’s behavior in ethical and responsible ways.

24
Q

Prompt Engineering for ChatGPT

Explain the concept of user-defined root prompts and how they can be utilized.

Ov-EsBo-Re -> ToAr-KnLi-InIn

A

Users can customize the model’s behavior by overriding, establishing boundaries, or resetting root prompts, allowing control over topic areas, knowledge limitations, and influencing interactions.

25
Q

Prompt Engineering for ChatGPT

How to ensure effective reasoning?

D-C-R-C-A

A

Providing additional data, context, rules, conditions, or assumptions in the prompt

26
Q

Prompt Engineering for ChatGPT

What is the Prompt Budget?

A

A constraint on Prompt size

27
Q

Prompt Engineering for ChatGPT

What role does feedback play in the interaction with LLMs?

A

It informs the model about its performance, contributing to iterative refinement and enhancing the collaborative nature of ongoing interactions.