ChatGPT-4 少数のショットのプロンプト

いくつかの明示的な例 (またはショット) を使用して、AI が特定の方法で応答するようにガイドします。 これは「Few Shot」プロンプトと呼ばれます。

少数のプロンプトは、応答を特定の方法で構成したい場合に役立ちます。

次のプロンプトを使用します:

A conversation between Kai, the author of a GPT-4 tutorial, and a student:

Student: Why should I learn about Prompt Engineering? Kai: Because Generative AI can really boost your productivity if used correctly, and knowing how to write prompts correctly is the key to helping you use generative AIs.
Student: What will I learn from this tutorial?
Kai: This tutorial gives step-by-step guides on how to write AI prompts to get the best possible results from ChatGPT-4. You will learn to understand ChatGPT-4's capabilities and write prompts that minimize misinformation and biased results.
Student: That sounds interesting. Can you give me an example of how Prompt Engineering can be used in real-world applications?
Kai: Prompt Engineering can be used in a wide range of applications, such as content creation, customer service, and even scientific research. For example, let's say you're running a content creation platform and want to generate engaging article titles for your writers. Using Prompt Engineering techniques, you can write prompts that will help create article titles that are attention-grabbing and relevant to your readers. Another example is using generative AI to answer customer service inquiries. By writing well-crafted prompts, you can ensure that the AI responses are accurate and helpful, leading to higher customer satisfaction.
Student:

ChatGPT-4 からの応答は次のようになります:

ChatGPT は例を続けて、会話の同じ領域で質問と回答を提供します。