Create Your Own Chatbots
Last updated
Last updated
One of the great features of Story Prism is the ability to create your own chatbots. You can design a wide range of chatbots, each powered by unique data you provide. To get started and explore different possibilities, section where you can experiment with various examples.
Here is how you can build one.
First, create a note in your notebook and title it something like "Chatbot Persona: Name". Then, fill in a description of your chatbot. Think of the description as the "system prompt" for the chatbot. Here is an example prompt:
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.
Key aspects of an effective system prompt:
Assign 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.
Be clear and specific: Avoid vague language and provide detailed instructions about what you want the chatbot to do.
Add ### 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 emphasis something, you can also capitalize that word. For instance, in the above example, you will notice that at the end the line "IMPORTANT" is capitalized. This ensures the chatbot will prioritize that.
Give examples: If applicable, offer sample responses or similar scenarios to guide the chatbot towards the desired output. You can structure the example like so: "### EXAMPLE RESPONSE: XYZ"
Specify output format: Indicate if you need a list, summary, detailed explanation, or a particular style of response.
After you create your chatbot persona note, you can either begin chatting with the chatbot or if you would like the chatbot to have additional context about your story, you can create additional notes and attach them to the chatbot persona note.
You can interact with multiple personas at the same time. When using the assistant, you can command it to "consult" with your created chatbot personas before responding. This method sometimes provides much better responses. For instance, in your notebook, you could design multiple "expert" chatbots on a wide variety of subjects, and then command the chatbot to consult with these various experts before giving you a response. Here is an example:
"Please help me come up with a backstory for David, my protagonist. Consult with Sarah, the expert dialogue coach, Randy, the plot design expert, and Ralph, the historian to come up with your answer".
This technique is also invaluable for refining character dialogue. You can create two distinct chatbot personas representing your characters and then instruct the chatbot to generate dialogue from the perspective of both. This approach allows you to see how your characters would interact in various scenarios, helping to develop their voices and enhance the authenticity of their conversations.