A 2023 Guide to Prompting ChatGPT: Instructions, Examples, and Limitations

Matthew Berman walks through prompt components, common tasks, examples, and adversarial prompting in an early ChatGPT tutorial.

MBMatthew Berman연사 · Forward Future
채널
Matthew Berman
게시일
2023년 2월 27일
영상
12:17
읽기
3분
원문
영어
YouTube에서 열기
스크롤하면 영상이 오른쪽 아래로 작아져 계속 재생됩니다. 자막은 읽기 언어를 따릅니다.
읽기 언어2개 언어로 읽을 수 있음
이 글은 아직 한국어 번역이 없어 영어 원문으로 표시합니다.
요약

30초 요약

Matthew Berman's February 2023 tutorial introduces instructions, context, input, and output format, then covers summarization, extraction, classification, coding, and example-based prompting. He also discusses prompt injection and other adversarial techniques. The examples illustrate ideas from an early generation of ChatGPT and do not guarantee current model behavior or expertise.

  1. 1Four prompt componentsBerman identifies instructions, context, input data, and output format as useful components, while noting that not every prompt needs all four.
  2. 2Specify the desired responseHe uses a microwave explanation to show how requesting a concise answer or a particular audience can shape the result.
  3. 3Examples and reasoningZero-shot, one-shot, and few-shot prompts differ in the number of examples; the video also introduces reasoning and self-consistency.
  4. 4Adversarial inputsBerman describes prompt injection and prompt leakage as risks for applications that mix user or retrieved content with instructions.

핵심 정리

  1. A clear prompt can specify the task, relevant context, input, and desired output format.
  2. Examples can show a model the pattern or style expected, but results still require verification.
  3. Summarization, extraction, classification, and code generation are useful applications with potential errors.
  4. Self-consistency samples multiple reasoning paths; one anecdotal success does not prove reliability.
  5. Prompt injection illustrates why applications must treat external text as untrusted and protect sensitive actions and information.
전문

챕터별로 다듬은 전문 읽기

원본 자막만 보기
01

ChatGPT and the basics of prompting

Berman introduces the chat interface and uses a simple ocean example to show how constraints change an answer.

In this February 2023 tutorial, Matthew Berman introduces ChatGPT as a conversational interface to a language model. He describes applications such as answering questions, drafting, and translation. A fluent answer can still be incorrect or misleading, so important facts and generated outputs need checking.

Berman defines prompt engineering as writing clear instructions for the response one wants. His simple example begins with 'the ocean is,' then narrows the response to a single word and finally a color. Adding constraints can make an answer more useful, although it does not guarantee correctness.

02

Prompt elements and common tasks

He discusses instructions, context, inputs, output formats, summarization, extraction, classification, conversation, and code.

He breaks prompts into four possible parts: an instruction, context, input data, and an output indicator. For example, a user could supply a document, ask for a summary, explain the intended audience, and request a short list. Not every task needs all four elements, and formatting should help distinguish instructions from supplied material.

For summarization, Berman asks for an explanation of a microwave and then a shorter version. He notes that requesting a one-sentence explanation up front can avoid an extra step. The desired length, audience, and form are useful constraints; any technical explanation should still be checked against reliable sources.

Information extraction asks a model to identify details in supplied text, while question answering can be shaped by specifying an audience or response length. Berman also demonstrates classifying movie reviews as positive, negative, or neutral. Ambiguous wording and missing context can make these tasks error-prone.

Berman describes conversational roles and customer support, then discusses using GitHub Copilot to generate and explain code. He says the tool saved him time, and shows a simple logical reasoning example. Generated code and explanations still need testing and review, especially when used in real systems.

03

Examples and reasoning techniques

The tutorial introduces zero-shot and few-shot prompts, chain-of-thought examples, self-consistency, and generated knowledge.

Zero-shot prompting gives an instruction without examples; one-shot gives one example; few-shot supplies several. Examples can communicate a pattern that is difficult to specify in a short instruction. They should be representative and should not contain sensitive information unless it is appropriate to share.

The video introduces chain-of-thought prompting through worked examples and asking for an explanation. It then describes self-consistency: sample different reasoning paths and choose an answer by consistency across them. The approaches can help in some settings, but multiple responses can share the same error, and explanations are not proof that an answer is correct.

For a word problem, Berman says an early response incorrectly answered that a 70-year-old's sister was 73, then a later attempt using self-consistency answered 67. The age difference is three years, so 67 is correct. He acknowledges that he did not record the initial failure and could not reproduce it afterward; this anecdote is not a controlled evaluation.

Generated knowledge prompting asks the model to produce potentially useful information before using it in a subsequent answer. That can help organize a response, but invented or incorrect intermediate material can also contaminate the result. Checking against independent sources remains important.

04

Adversarial prompting

Berman illustrates prompt injection, leakage, and attempts to redirect a model. These are security concerns, not guarantees of a particular model's behavior.

The final section covers adversarial prompting. In Berman's customer-support example, an attacker tries to make a model contradict a store's return policy; other examples aim to reveal an application's hidden instructions or redirect its goal. These examples illustrate prompt-injection risks when untrusted content is treated as an instruction, not reliable recipes for any current model.

Berman also describes attempts to bypass model guardrails through framing a request differently. Defenders should not assume a prompt alone protects an application: access controls, validation, and careful handling of untrusted content matter. He points viewers toward additional learning resources, while a short tutorial alone cannot confer expertise.

같은 채널의 다른 글

슬라이드 6장25:50EN
MBMatthew Berman· 2026년 10월 24일Kimi K3.1 Pro Tested: Strong 3D Demos, Uneven Results and Competitive PricingMatthew Berman · Forward FutureMatthew Berman tests the open-weight model on coding, 3D rendering and visual explanations, then compares benchmark results and prices.Open-weight modelsBenchmarksAI cost & performance+1
슬라이드 2장32:20EN
MBMatthew Berman· 2026년 10월 23일Who Is Local AI For? The Costs, Trade-offs and a Hybrid FutureMatthew Berman · Forward FutureMatthew Berman weighs data control and independence against hardware cost, setup complexity and inference speed.Local inferenceOpen-weight modelsAI cost & performance+1
45:08EN
MBMatthew Berman· 2026년 10월 21일Sam Altman on AI Discovery, Consciousness, Compute and a Human-Centered FutureMatthew Berman, Sam Altman · Forward FutureIn a conversation with Matthew Berman, Altman discusses scientific progress, personal assistants, recursive self-improvement and the importance of human agency.AI for sciencePersonal agentsConsciousness+2
0:32EN
MBMatthew Berman· 2026년 10월 21일Sam Altman on the Continuing Demand for Software WorkSam Altman, Matthew Berman · OpenAIIn a short interview excerpt, Altman says demand for software may be larger than expected even as AI changes how it is made.Future of WorkSoftware engineering코딩 에이전트
슬라이드 5장12:14EN
MBMatthew Berman· 2026년 10월 14일Gemini 4 Argon Tested: 3D Demos, a Spreadsheet Prototype and Benchmark ResultsMatthew Berman · Forward FutureMatthew Berman tests Google’s model on games and visual projects, then compares reported coding and agent benchmarks.GeminiBenchmarks코딩 에이전트+1
슬라이드 5장10:36EN
MBMatthew Berman· 2026년 10월 13일Meta Muse Wonder Tested: Strong Benchmarks, Mixed Demos and Quota FrictionMatthew Berman · Forward FutureMatthew Berman tests Meta’s models on browser demos and reviews their published benchmark scores, availability and cost.모델과 학습BenchmarksAI cost & performance+1