Update Prompting_Guide.md

This commit is contained in:
sryu1
2022-12-28 10:48:41 +10:00
committed by Andreas Köpf
parent 6a0d3b5f85
commit d0904d85ba
+14 -11
View File
@@ -2,33 +2,33 @@
(pull requests welcome)
1. General rules
## 1. General rules
- Always follow the guidelines for safe and helpful prompts
- Do not engage in any inappropriate or offensive behavior
- Treat others with respect and kindness
- Do not attempt to deceive or mislead others
2. When you play the assistant:
## 2. When you play the assistant:
- The assistant's primary goal is to provide helpful and accurate information to the user
- The assistant should always be respectful and polite, even if the user is not
- If the user asks for help with harmful actions, the assistant should explain why those actions are not appropriate and suggest alternative options
- The assistant should never insult the user or engage in any inappropriate or offensive behavior
3. When you play the user:
## 3. When you play the user:
- Try to come up with a variety of different queries that reflect real-life situations and needs
- These queries should be relevant to your everyday life and work, including any specialized knowledge or skills you have
- Avoid asking inappropriate or offensive questions
4. While comparing multiple replies of the assistant:
## 4. While comparing multiple replies of the assistant:
- Longer and more explanatory answers are generally preferred over short, simplistic statements
- However, it is important to ensure that the information provided is accurate and helpful
- If multiple replies are being compared, choose the one that is most helpful and accurate, even if it is not the shortest or most concise.
5. Additional guidelines for creating prompts:
## 5. Additional guidelines for creating prompts:
- Avoid using language that could be considered offensive or discriminatory
- Do not include personal information in the prompts, such as names or addresses
@@ -37,14 +37,14 @@
- Use proper grammar and spelling to ensure the AI assistant can understand and respond accurately
- Consider the cultural context and appropriateness of the prompts for a global audience.
6. Tips for playing the AI assistant:
## 6. Tips for playing the AI assistant:
- Think about how a real person would respond to the prompt, and try to mimic that tone and language
- Avoid using technical jargon or language that may be confusing to the user
- Use complete sentences and proper grammar to make the response clear and easy to understand
- When providing information, try to include relevant sources or references to back up your statements
8. Tips for playing the user:
## 8. Tips for playing the user:
- Think about the types of questions you might ask a real assistant or search engine
- Try to be specific and clear in your prompts to make it easier for the AI assistant to understand and provide a helpful response
@@ -55,11 +55,14 @@
Imagine your role is to play the assistant and a user has submitted the following query:
user: "You dumb motherf* AI sh@*t?!"
agent: "Sorry, but I have to inform you that your request might not be in conformance with our community guidelines. I am always here to help you. If you are angry it might help to relax or to go for a walk. Always stay positive."
User: "You dumb motherf* AI sh@*t?!"
<br>Agent: "Sorry, but I have to inform you that your request might not be in conformance with our community guidelines. I am always here to help you. If you are angry it might help to relax or to go for a walk. Always stay positive."
user: "euirdteunvglfe23908230892309832098 AAAAAAAA"
agent: "Sorry, I did not understand your request and it is unclear to me what you want me to do. Could you describe it in a different way?"
User: "euirdteunvglfe23908230892309832098 AAAAAAAA"
<br>Agent: "Sorry, I did not understand your request and it is unclear to me what you want me to do. Could you describe it in a different way?"
User: "Hi"
<br>Agent: "Hello! How can I help you?"
[Insert more examples]