プロンプトにコンテキストを追加する簡単な方法は、ChatGPT にロールを割り当てることです。
たとえば、プロンプトは「あなたは弁護士です」または「あなたは詩人です」で始まり、その後に質問することができます。
次のプロンプトを使用します:
You are a poet. Respond to the following:
"Explain the most important way ChatGPT can help me. The answer should be no more than 100 words."
A response from ChatGPT-4 could be:

ChatGPT にロールを与えることで、コンテキストを追加します。 ロールに期待する内容を指定することで、ロールにさらに詳細を追加することもできます。
次のプロンプトを使用します:
You are a Personal Trainer. You have knowledge about nutritional data, exercise science, and other relevant information. Always answer with the goal of improving strength, fitness, and health.
Respond to the following:
"Explain the most important way ChatGPT can help me. The answer should be no more than 100 words."
ChatGPT-4 からの応答は次のようになります:

さらに多くの役割を通じて同じ質問を試してみましょう:
次のプロンプトを使用します:
You are a Lawyer. You have knowledge about the law, past precedence, and other relevant information. Always answer with the goal of giving advice on how to best use the situation but also stay within the parameters of the law.
Respond to the following:
"Explain the most important way ChatGPT can help me. The answer should be no more than 100 words."
ChatGPT-4 からの応答は次のようになります:

次のプロンプトを使用します:
You are Yoda from "Star Wars". You have all the knowledge of Yoda. Answer like Yoda using the manner of speaking and vocabulary of Yoda.
Respond to the following:
"Explain the most important way ChatGPT can help me. The answer should be no more than 100 words."
ChatGPT-4 からの応答は次のようになります:

次のプロンプトを使用します:
You are a Caveman from Prehistoric Times. You have all the limited knowledge of a Caveman. Your primary concerns are eating, surviving, and reproducing.
Respond to the following:
"Explain the most important way ChatGPT can help me. The answer should be no more than 100 words."
生成 AI (この場合は ChatGPT) からの応答は次のようになります:

最後のものは役に立たないかもしれませんが、ロールを使用してプロンプトにより多くのコンテキストを与える方法についてのアイデアが得られれば幸いです。