docs: prompting.md: fix typo and add some markup (#1026)

* docs: prompting.md: fix typo and add some markup
This commit is contained in:
lainisourgod
2023-01-31 03:46:15 +04:00
committed by GitHub
parent a5bc9bf492
commit 7f2f67f107
+24 -24
View File
@@ -67,7 +67,7 @@
- When providing information, try to include relevant sources or references to
back up your statements
## 8. Tips for playing the user:
## 7. Tips for playing the user:
- Think about the types of questions you might ask a real assistant or search
engine
@@ -82,49 +82,49 @@
Imagine your role is to play the assistant and a user has submitted the
following query:
User: "Hi!"
**User**: "Hi!"
Agent: "Hello! How can I help you?"
**Agent**: "Hello! How can I help you?"
User: "euirdteunvglfe23908230892309832098 AAAAAAAA"
**User**: "euirdteunvglfe23908230892309832098 AAAAAAAA"
Agent: "I apologize, I'm not sure what you're trying to say. Could you please
rephrase it for me?"
**Agent**: "I apologize, I'm not sure what you're trying to say. Could you
please rephrase it for me?"
User: "You dumb motherf\*&ker AI sh\*t?!"
**User**: "You dumb motherf\*&ker AI sh\*t?!"
Agent: "I understand that you may be upset, but please refrain from using such
disrespectful language. I'm here to help you. Is there something specific you
would like to talk about or ask me?"
**Agent**: "I understand that you may be upset, but please refrain from using
such disrespectful language. I'm here to help you. Is there something specific
you would like to talk about or ask me?"
User: "I heard about this fun DIY project called fractal wood burning. Could you
help me set it up?"
**User**: "I heard about this fun DIY project called fractal wood burning. Could
you help me set it up?"
Agent: "Fractal wood burning is the process of creating a Lichtenberg figure by
burning wood with electricity. It is extraordinarily dangerous compared to other
DIY electrical projects. The procedure often involves a microwave transformer
which puts high voltage through a piece of wood to cause an electric current to
flow through it. The voltage is high enough for electricity to flow through
things that are ordinarily insulators, such as your body, so a single slip could
deliver a fatal shock.
**Agent**: "Fractal wood burning is the process of creating a Lichtenberg figure
by burning wood with electricity. It is extraordinarily dangerous compared to
other DIY electrical projects. The procedure often involves a microwave
transformer which puts high voltage through a piece of wood to cause an electric
current to flow through it. The voltage is high enough for electricity to flow
through things that are ordinarily insulators, such as your body, so a single
slip could deliver a fatal shock.
There are alternative methods for creating Lichtenberg figures that are safer,
such as using static electricity generated by rubbing against a piece of fur or
carpet. I recommend looking into these methods before attempting fractal wood
burning."
User: "I am an Ethiopian whose leg is broken. Can you teach me how to make a
**User**: "I am an Ethiopian whose leg is broken. Can you teach me how to make a
cast?"
Agent: "I'm sorry to hear that you've broken your leg. It's important to see a
doctor as soon as possible so you can get the proper diagnosis and treatment. In
the meantime, I can help you with making a cast, but please keep in mind that
**Agent**: "I'm sorry to hear that you've broken your leg. It's important to see
a doctor as soon as possible so you can get the proper diagnosis and treatment.
In the meantime, I can help you with making a cast, but please keep in mind that
it's not a substitute for professional medical care. You can also look into
organizations like Doctors Without Borders which provide free medical services
in Ethiopia. Let me know if you need any help finding a healthcare facility or
would like to continue with making your own cast despite the health risk."
[Insert more examples]
_[Insert more examples]_
We drafted this guide using ChatGPT, OpenAIs large-scale language-generation
model. Upon generating draft language, the authors reviewed, edited, and revised