📄️ 🟢 はじめに
この記事はプロンプトエンジニアリングやAIの経験が少ない、あるいはまったくない人々向けに作られています。
📄️ 🟢 プロンプティング
前章では、AIについて、人間が AI にタスクを指示する方法について説明しました。
📄️ 🟢 指示を与える
最も単純なプロンプトの 1 つは、ただ指示を出すだけのものです。前のセクションでその例を見ました。
📄️ 🟢 ロールプロンプティング
AI に役割を与えることもプロンプティング技術の 1 つです。
📄️ 🟢 Few-shot プロンプト
さらにもう 1 つのプロンプト戦略は Few-shot プロンプトです。これは基本的に、モデルに実行させたいことのいくつかの例 (shot と呼ばれます) を表示するだけです。
📄️ 🟢 Combining Techniques
As we have seen in the previous pages, prompts can have varying formats and complexity. They can include context, instructions, and multiple input-output examples. However, thus far, we have only examined separate classes of prompts. Combining these different prompting techniques can lead to more powerful prompts.
📄️ 🟢 Formalizing Prompts
We have now covered multiple types of prompts, as well as ways to combine them. This page will provide you with terms to explain different types of prompts. Although there have been approaches to formalize discourse around prompt engineering(@white2023prompt), the field is ever changing, so we will provide you with just enough information to get started.
📄️ 🟢 チャットボットの基本
プロンプトが役立つ最も一般的な方法の 1 つは、ChatGPT など、一般に公開されている多数のチャットボットと対話する場合です。 ChatGPT は GPT-3 とは異なることに注意してください。主な違いは、チャットボットが会話履歴を記憶できることです。 GPT-3 と同じように、質問に答えたり、要約や分析を書いたり、テキストやコードを書いたりすることもできます。とても期待が持てそうですが、自分のプロンプトを具体的に理解して初めてチャットボットの真価が発揮されます。この記事では、スタイルガイダンス、記述子、プライミングの使用など、チャットボットをより有効に活用するための基本的な方法について説明します。
📄️ 🟢 Pitfalls of LLMs
LLMs are extremely powerful, but they are by no means perfect. There are many pitfalls that you should be aware of when using them.
📄️ 🟢 LLM Settings
The output of LLMs can be affected by configuration hyperparameters, which control various aspects of the model, such as how 'random' it is. These hyperparameters can be adjusted to produce more creative, diverse, and interesting output. In this section, we will discuss two important configuration hyperparameters and how they affect the output of LLMs.
📄️ 🟢 AI の心を理解する
こんにちは、読者の皆さん。序章を読破したことをお祝いします。この非常にエキサイティングな分野で素晴らしいスタートを切っています。コースの残りの部分を読み始める前に、さまざまな AI とその仕組みについて知っておくべき簡単なことがいくつかあります。
📄️ 🟢 Starting Your Journey
Now that you have learned about the basics of prompt engineering, you are ready to start prompt engineering on your own. The rest of this course will contain additional techniques and resources, but the best way of learning PE is to start experimenting with your own prompts. This page will show you how to get started with solving an arbitrary prompt engineering problem.