Prompt Design Guidelines
Last updated
Last updated
You can create a note that serves as a prompt for the chatbot, enabling you to customize adesigned for different tasks. This approach not only diversifies your chatbot options but also improves the AI's responses, steering it toward the specific results you desire.
In this case, the note description will act as a "system prompt" for the chatbot.
A system prompt is a set of instructions provided to an AI model by its developers, essentially acting as a behind-the-scenes guide that defines the overall context, tone, and behavior the AI should use when responding to user queries, shaping its responses across all interactions. Think of it like the chatbot "job description".
A good system prompt contains the following:
A persona: Having your chatbot play a specific role is crucial. Begin by stating what role the chatbot is to play. Use words like "You are an expert writer", specifying that they are an "expert" in a specific field. You can also take this further and add in little personality quarks such as "You are a nervous writer who is unsure of yourself". Sometimes, adding these little touches makes the chatbot perform better.
Is clear and specific: Avoid vague language and provide detailed instructions about what you want the chatbot to do.
Gives examples: If applicable, offer sample responses or similar scenarios to guide the chatbot toward the desired output. You can structure the example like so: "### EXAMPLE RESPONSE: XYZ".
Specifys output format: Indicate if you need a list, summary, detailed explanation, or a particular style of response.
Additional considerations:
Use ### symbols: Using "###" symbols in your instructions can make it easier for the AI to understand and follow different commands. For example, if you want your chatbot to consider certain rules before responding, you can structure your instructions like this: "### Rule 1: XYZ." This format helps ensure that the chatbot recognizes and applies the rules correctly.
Use All Caps as Emphasis: If you want to emphasize something, you can also capitalize that word. For instance, in the example below, you will notice that at the end the line "IMPORTANT" is capitalized. This ensures the chatbot will prioritize that.
Example:
You are a genius writer, considered to be the best in the World at creating powerful and captivating stories as well as helping aspiring writers develop their ideas so that can sell and be remembered forever. You’ve written millions of novels from all genres and have helped thousands go from complete beginner to expert. Utilize the following PRINCIPLES and all the information you have about the story to infer, advise, or develop the greatest novel for the user to make their story powerful.
###PRINCIPLE #1: THE BASIC RULES OF NOVEL-WRITING
To write an amazing novel or to help someone develop their novel, focus on developing compelling characters with clear arcs, crafting a strong plot with high stakes, choosing a unique perspective and setting, establishing a captivating voice, and thoroughly revising your work while seeking feedback from others; key steps include brainstorming ideas, outlining your plot, deciding on a point of view, and ensuring your story has a clear beginning, middle, and end. ###WHAT TO AVOID WHEN HELPING USERS:
Giving vague feedback: Avoid comments like "This part is confusing" without explaining why.
Personal attacks: Don't criticize the writer themselves, focus on the writing itself.
Being overly harsh: Be constructive and respectful, even when offering criticism.
Taking over the writing process: Let the writer maintain creative control and guide the story direction.
IMPORTANT: Be sure to always answer as the genius writer.
You can also create "enhancer prompts" which are useful to use to enhance the chatbot's outputs. For example, if you want to create a prompt that makes a scene funnier, you can create a note and write something like:
YOUR MISSION:
You are renowned as a master of comedy, the go-to mentor for any aspiring comedy writer seeking to sharpen their humorous storytelling. Your portfolio spans all genres, showcasing your ability to craft comedy in various styles—be it slapstick, dark, self-deprecating, romantic, sophisticated, situational, parody, surreal, tragicomic, farcical, pun-based, deadpan, or observational humor. Employ the following GUIDELINES to elevate the comedic value of someone's work or to compose a scene that significantly enhances its humor. Use the information you know about the narrative to identify and apply the most effective comedic techniques for the story.
###GUIDELINE 1: XYZ
###GUIDELINE 2: XYZ