ChatGPT System Prompts
1.0.0
該存儲庫包含了OpenAI Chatgpt最佳系統提示的精選列表,使開發人員和用戶能夠自定義其AI的行為和互動方式。
系統提示是用於引導Chatgpt的行為的特殊消息,該行為是由OpenAI開發的AI語言模型。它們允許開發人員在某些範圍內開處方AI的樣式和任務,使其更適合各種用例定制和適應。
要使用系統提示,請在對ChatGPT進行API調用時,將所需提示文件中的“系統消息”文本作為系統消息。這將指示AI模型遵循指定的行為或交互方式。
例如,要使用“區塊鏈開發導師”提示,請撥打API呼叫CHATGPT,您的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?" }
],
)如果您是通過用戶界面(例如,chat.openai.com)使用chatgpt,則可以從聊天中的第一個消息鍵入系統消息開始。例如,要使用“區塊鏈開發導師”提示,請通過鍵入開始對話:
[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許可證獲得許可的。