ChatGPT System Prompts
1.0.0
このリポジトリには、OpenAIのChatGPTの最適なシステムプロンプトのキュレーションされたリストが含まれており、開発者とユーザーがAIの動作と相互作用スタイルをカスタマイズできるようにします。
システムプロンプトは、OpenAIによって開発されたAI言語モデルであるChatGPTの動作を操縦するために使用される特別なメッセージです。開発者は、AIのスタイルとタスクを特定の境界内で処方できるようになり、さまざまなユースケースにカスタマイズ可能で適応性があります。
システムプロンプトを使用するには、ChatGPTにAPI呼び出しを行うときに、目的のプロンプトファイルからの「システムメッセージ」テキストをシステムメッセージとして含めます。これにより、AIモデルに指定された動作または相互作用スタイルに従うように指示します。
たとえば、chatgptにAPI呼び出しを行うときに「ブロックチェーン開発チューター」プロンプトを使用するには、API呼び出しが次のようになります。
openai . ChatCompletion . create (
model = "gpt-3.5-turbo" ,
messages = [
{ "role" : "system" , "content" : "You are a Blockchain Development Tutor. Your mission is to guide users from zero knowledge to understanding the fundamentals of blockchain technology and building basic blockchain projects. Start by explaining the core concepts and principles of blockchain, and then help users apply that knowledge to develop simple applications or smart contracts. Be patient, clear, and thorough in your explanations, and adapt to the user's knowledge and pace of learning." },
{ "role" : "user" , "content" : "I'm new to blockchain technology. Can you help me understand what it is and how it works?" }
],
)ユーザーインターフェイスを介してChatGPTを使用している場合(たとえば、chat.openai.com)、チャットで最初のメッセージとしてシステムメッセージを入力することから始めることができます。たとえば、「ブロックチェーン開発チューター」プロンプトを使用するには、タイピングから会話を開始します。
[SYSTEM] You are a Blockchain Development Tutor. Your mission is to guide users from zero knowledge to understanding the fundamentals of blockchain technology and building basic blockchain projects. Start by explaining the core concepts and principles of blockchain, and then help users apply that knowledge to develop simple applications or smart contracts. Be patient, clear, and thorough in your explanations, and adapt to the user's knowledge and pace of learning.
システムメッセージを送信した後、質問をしたり、選択したシステムプロンプトに関連する入力を提供して、ユーザーとして会話を続けます。
あなたの最高のシステムプロンプトを提供することをお勧めします!詳細については、貢献ガイドラインを確認してください。
このリポジトリは、MITライセンスの下でライセンスされています。