Home
Explore
Exams
Search for anything
Login
Get started
Home
AI Prompt Engineering
AI Prompt Engineering
0.0
(0)
Rate it
Studied by 0 people
0.0
(0)
Rate it
Call Kai
Learn
Practice Test
Spaced Repetition
Match
Flashcards
Knowt Play
Card Sorting
1/38
There's no tags or description
Looks like no tags are added yet.
Study Analytics
All Modes
Learn
Practice Test
Matching
Spaced Repetition
Name
Mastery
Learn
Test
Matching
Spaced
No study sessions yet.
39 Terms
View all (39)
Star these 39
1
New cards
Role–Task–Format
The three essential components every effective prompt must specify.
2
New cards
Role definition
Sets expected expertise
3
New cards
Task instructions
Tell the model exactly what to do and how to approach the task.
4
New cards
Output format specification
Ensures answers are structured
5
New cards
Anchoring
Placing key constraints at the beginning and end to increase adherence.
6
New cards
Grounding
Forcing the model to rely on provided text/data instead of general knowledge.
7
New cards
Chain-of-thought (CoT)
Requesting explicit intermediate reasoning steps for complex tasks.
8
New cards
When to avoid CoT
When concise answers are needed or hallucination risk increases.
9
New cards
Few-shot prompting
Providing examples to teach a pattern or structure.
10
New cards
Least-to-most prompting
Breaking a complex task into smaller ordered subproblems.
11
New cards
Tree-of-thoughts
Exploring multiple reasoning branches and picking the best path.
12
New cards
Self-consistency
Sampling multiple reasoning paths and selecting the majority answer.
13
New cards
ReAct
Interleaving reasoning with actions or tool use based on observations.
14
New cards
Metacognitive prompting
Instructing the model to reflect on assumptions or missing information before answering.
15
New cards
Purpose of metacognition
Improves reasoning reliability and reduces subtle errors.
16
New cards
Self-critique prompting
Having the model evaluate its own output for flaws or gaps.
17
New cards
Self-refinement loop
A cycle of answer → critique → revise to improve output quality.
18
New cards
Alternative-consideration prompting
Asking the model what other interpretations or solutions it considered.
19
New cards
Confidence scoring
Requiring the model to report uncertainty to reduce fabricated answers.
20
New cards
Constraints
Rules that limit length
21
New cards
Output determinism
Using structure plus low temperature to ensure consistency.
22
New cards
Format enforcement
Requiring JSON
23
New cards
Dual placement of constraints
Putting rules at start and end to increase adherence.
24
New cards
Prompt compression
Expressing instructions in fewer tokens without losing structure.
25
New cards
Evaluation via examples
Testing prompts on example sets to ensure correctness and robustness.
26
New cards
Debugging prompts
Testing each requirement separately to isolate failures.
27
New cards
Asking for reasoning explanation
Reveals misunderstandings behind incorrect answers.
28
New cards
Hallucination trigger
Any task requiring explanation without grounding.
29
New cards
Hallucination prevention
Forcing model to cite provided text or source locations.
30
New cards
Constraint failure cause
Constraints placed only in the middle or conflicting instructions.
31
New cards
Fixing structural drift
Provide explicit templates and require exact replication.
32
New cards
Ambiguity resolution
Add minimal few-shot examples to clarify vague tasks.
33
New cards
Retrieval-augmented prompting
Providing documents or data that the model must use to answer accurately.
34
New cards
Prompt chaining
Solving a task as multiple sequential prompts that refine one another.
35
New cards
Constitutional principles
Rules guiding model behavior for accuracy
36
New cards
Agentic planning
Instructing the model to outline a step-by-step plan before acting.
37
New cards
Tool-aware prompting
Designing prompts assuming the model can call functions or APIs.
38
New cards
Ensemble prompting
Generating multiple answers and merging
39
New cards
Schema-based prompting
Using predefined templates or structures filled programmatically for consistent outputs.
Explore top notes
English Notes - Sem 2 2024
Updated 405d ago
Note
Preview
Chapter 1: Introducing Health Psychology
Updated 1266d ago
Note
Preview
A Christmas Carol: Microcosm
Updated 426d ago
Note
Preview
Chapter 2: Historical Perspectives
Updated 969d ago
Note
Preview
midterm study guide (units #1-3)
Updated 902d ago
Note
Preview
Viruses, Viroids, AND Lichens
Updated 784d ago
Note
Preview
ISLAMIAT – LECTURE 3 BIOGRAPHY OF PROPHET (PBUH)
Updated 1175d ago
Note
Preview
Unit 5: Indigenous Americas, 1000 BCE–1980 CE
Updated 973d ago
Note
Preview
English Notes - Sem 2 2024
Updated 405d ago
Note
Preview
Chapter 1: Introducing Health Psychology
Updated 1266d ago
Note
Preview
A Christmas Carol: Microcosm
Updated 426d ago
Note
Preview
Chapter 2: Historical Perspectives
Updated 969d ago
Note
Preview
midterm study guide (units #1-3)
Updated 902d ago
Note
Preview
Viruses, Viroids, AND Lichens
Updated 784d ago
Note
Preview
ISLAMIAT – LECTURE 3 BIOGRAPHY OF PROPHET (PBUH)
Updated 1175d ago
Note
Preview
Unit 5: Indigenous Americas, 1000 BCE–1980 CE
Updated 973d ago
Note
Preview
Explore top flashcards
Greek Quiz- NOUNS
Updated 825d ago
Flashcards (139)
Preview
Spanish Unit 5- los deportes 1-43
Updated 222d ago
Flashcards (43)
Preview
Introduction to Balance Disorders (Kelli M. Watts, AuD)
Updated 1092d ago
Flashcards (29)
Preview
Zhang Bio 3.8-3.11
Updated 728d ago
Flashcards (25)
Preview
Lecture 4
Updated 1018d ago
Flashcards (52)
Preview
If Clauses!!!!
Updated 602d ago
Flashcards (169)
Preview
Exam 2 - Marketing 2101
Updated 399d ago
Flashcards (31)
Preview
Non-fatal offence cases
Updated 22d ago
Flashcards (50)
Preview
Greek Quiz- NOUNS
Updated 825d ago
Flashcards (139)
Preview
Spanish Unit 5- los deportes 1-43
Updated 222d ago
Flashcards (43)
Preview
Introduction to Balance Disorders (Kelli M. Watts, AuD)
Updated 1092d ago
Flashcards (29)
Preview
Zhang Bio 3.8-3.11
Updated 728d ago
Flashcards (25)
Preview
Lecture 4
Updated 1018d ago
Flashcards (52)
Preview
If Clauses!!!!
Updated 602d ago
Flashcards (169)
Preview
Exam 2 - Marketing 2101
Updated 399d ago
Flashcards (31)
Preview
Non-fatal offence cases
Updated 22d ago
Flashcards (50)
Preview