What is a Prompt
Prompt Techniques
-
Instruction: The task or command you want the dialogue model to perform. -
Context: Includes external information or additional context to guide the language model to respond better. -
Input Data: The question or content being input. -
Output Hint: Specifies the type or format of the output. For example, answer in Chinese, output code, etc.
-
Start simple and gradually add more contextual elements or instructions based on the model’s feedback. When facing more complex tasks, try breaking them down into multiple simpler sub-tasks. If you design a complex prompt from the start, you may spend more time debugging. -
For the wording of instructions, try different keywords to test which is more effective. Sometimes using English can yield better results (if you want the answer in Chinese, just specify that). -
Avoid vague and imprecise expressions, such as limiting the word count of responses or the target audience. -
Finally, clarify what should and should not be done, which acts as a reward function and can lead to better responses from the language model.
Some Interesting Prompts
-
Fortune Teller

-
Emoji Translation Robot

-
A Mindful Mentor GPT

Some Prompt Resources
-
https://flowgpt.com/ -
https://bestprompts.cn/ -
https://prompt-shortcut.writeathon.cn/ -
https://prompts.chat/ -
https://huggingface.co/spaces/merve/ChatGPT-prompt-generator
Author: Ji Suan Simulation
Selected by: Wang Huajun
Edited by: Liu Yimei