効果的なプロンプトの書き方

ChatGPTを理解する

James Chapman

Curriculum Manager, DataCamp

Garbage in, garbage out(入力が悪いと出力も悪い)

Garbage being thrown into a machine and producing more garbage.

ChatGPTを理解する

ChatGPTはどうやってプロンプトを解釈する?

Prompt for writing a job description.

ChatGPTを理解する

ChatGPTはどうやってプロンプトを解釈する?

Prompt for writing a job description.

1. トピックを特定する

Job description, data scientist, and New York are highlighted, ChatGPT is identifying the topic of the prompt.

ChatGPTを理解する

ChatGPTはどうやってプロンプトを解釈する?

Prompt for writing a job description.

2. プロンプトを理解する

The verb, write, is highlighted, as ChatGPT begins to understand the prompt.

ChatGPTを理解する

3. 回答を生成する

Prompt and response of a job description for a data scientist.

ChatGPTを理解する

プロンプトエンジニアリング

  • プロンプトエンジニアリングとは、回答の_品質_と関連性の最大化を目的としたプロンプト作成プロセスのこと

A prompt engineer.

ChatGPTを理解する

プロンプトエンジニアリングのためのライティングのヒント

明確かつ具体的に

  • 必要な情報を含める
  • 例: 要約タスクでは長さを指定する

A prompt engineer.

簡潔に

  • 不要な情報を取り除く

正しい文法の使用・誤字脱字をなくす

  • ChatGPTはタスク解釈の際に文法を手がかりにする
ChatGPTを理解する

例を入れる

  • 文脈を与えるより速い

: 顧客サンプルの生成

  • 形式の指定:

Full Name, Age (Occupation)

ChatGPTを理解する

Prompt and response of example names and occupations.

ChatGPTを理解する

Prompt and response of example names and occupations.

ChatGPTを理解する

練習しましょう!

ChatGPTを理解する

Preparing Video For Download...