Chapter 6 Flashcards

(14 cards)

1
Q

what is prompting

A

Providing input (a question, command, or instruction) to a generative AI model to get a desired output.

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

why prompting matters

A

Good prompts unlock better responses.

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

what is prompting Analogy

A

Giving directions to a highly intelligent but literal assistant.

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

The Core Principles of a Good Prompt

A
  • Clarity: Use precise, simple language.
  • Context: Provide background information.
  • Specificity: Be detailed (e.g., ask for ‘blue moon poem’).
  • Format: Define structure (e.g., list, table, paragraph).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is a vague prompt

A

Too broad, AI may give a long, unfocused answer.

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

what is a better prompt

A

More focused, easier for AI to answer clearly.

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

what is a specific prompt

A

Clear role, structure, and details → AI gives a precise,
useful answer.

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

Advanced Techniques

A

1: Role-based Prompting
2: Few-Shot Prompting
3: Chain-of-Thought Prompting
4: Using Constraints

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

what is Role-based Prompting

A

*You can tell AI to “pretend” to be someone. This changes
how it answers and makes the response more useful.

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

what is Few-Shot Prompting

A
  • Concept: Show the AI a few examples so it learns the style or pattern.
  • Why: Helps the AI give answers in the format you want
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what is Chain-of-Thought Prompting

A
  • Concept: Break a complex problem into smaller steps, guiding the AI to reason step by step.
  • Why it helps: Makes answers clearer, more accurate, and
    easier to follow
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what is using constraints

A
  • Concept: Constraints are rules that guide AI responses.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

differentiate the types of constraints

A
  • Positive Constraint → Tell AI what must be included.
  • Negative Constraint → Tell AI what must not be included.
  • Length Constraint → Limit the number of words or sentences
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Common Prompting Mistakes to Avoid

A
  1. Vague or Too Broad
  2. No Context
  3. Overloaded Prompt
  4. Unrealistic Expectation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly