Skip to content
AI

Chatgpt Prompting Essentials

🤖 AI-generated
📖 About this deck → 📚 Textbook — Generating…

Master Chatgpt Prompting Essentials with 201 free flashcards. Study using spaced repetition and focus mode for effective learning in AI.

201 cards · ~101 min · Advanced · Updated

Sample card

What is a prompt in the context of ChatGPT?

A prompt is the natural-language input—question, instruction, or context—a user provides to a language model to elicit a response. It frames the task and guides the model's behavior and output format.

Share: 𝕏 Twitter LinkedIn WhatsApp ☆ Save deck

🎯 What You'll Learn

Preview cards

Q · 1 of 201

What is a prompt in the context of ChatGPT?

Q · 2 of 201

What does the role pattern in a prompt do?

Q · 3 of 201

How does few-shot prompting work?

+9 more cards →

Preview Questions

12 shown

What is a prompt in the context of ChatGPT?

Show ▼

A prompt is the natural-language input—question, instruction, or context—a user provides to a language model to elicit a response. It frames the task and guides the model's behavior and output format.

What does the role pattern in a prompt do?

Show ▼

The role pattern assigns the model a persona or function (e.g., 'You are a senior copyeditor'). It conditions tone, vocabulary, and reasoning style, often improving relevance for domain-specific tasks.

How does few-shot prompting work?

Show ▼

Few-shot prompting supplies a small number of input–output examples within the prompt before the new query, demonstrating the desired pattern, format, or reasoning so the model can generalize from the demonstrations.

What is zero-shot prompting?

Show ▼

Zero-shot prompting asks the model to perform a task using only the instructions in the prompt, with no examples. It relies on the model's pretrained knowledge to interpret and complete the request.

Define chain-of-thought (CoT) prompting.

Show ▼

Chain-of-thought prompting encourages the model to produce intermediate reasoning steps before the final answer, improving accuracy on multi-step problems in arithmetic, logic, and commonsense tasks.

What is self-consistency in prompting?

Show ▼

Self-consistency samples multiple independent chain-of-thought rationales for the same prompt and selects the most frequent final answer, reducing variance and improving accuracy on reasoning benchmarks.

What is a hallucination in LLM outputs?

Show ▼

A hallucination is a model-generated statement that is fluent and plausible but factually incorrect, fabricated, or unsupported by the source or training data, often presented with high confidence.

Name three techniques to reduce hallucinations.

Show ▼

Grounding responses with retrieved documents (RAG), explicitly instructing the model to say 'I don't know' when uncertain, and requiring citations or quoted evidence for factual claims.

What is retrieval-augmented generation (RAG)?

Show ▼

RAG combines a retriever that fetches relevant external documents with a generator (LLM) that conditions its answer on those documents, improving factual accuracy and allowing up-to-date knowledge.

What is a system message used for?

Show ▼

The system message sets high-level behavior, persona, constraints, and formatting rules for the entire conversation, taking priority over later user instructions within the same thread.

How do temperature and top-p affect outputs?

Show ▼

Temperature scales the logits before sampling; higher values increase randomness. Top-p (nucleus) sampling restricts the token pool to the smallest set whose cumulative probability exceeds p.

What is the 'as if' framing technique?

Show ▼

The 'as if' framing asks the model to respond 'as if' it were a specific expert or in a specific scenario, leveraging role conditioning to elicit more accurate, context-appropriate answers.

🎓 Start studying Chatgpt Prompting Essentials

🎮 Study Modes Available

🔄

Flashcards

Flip to reveal

🧠

Focus Mode

Spaced repetition

Multiple Choice

Test your knowledge

⌨️

Type Answer

Active recall

📚

Learn Mode

Multi-round mastery

🎯

Match Game

Memory challenge

Related Topics in AI

📖 Learning Resources