On this page
Backstories are an important aspect of chatbots that truly bring them to life. In simple terms, a backstory defines the overall personality and ability of the chatbot.
Think of a backstory as the history of a character. It includes information about the chatbot's experiences, skills, and personality traits. By understanding the backstory, you can understand the chatbot's perspective and what it is trying to convey.
Backstories can be customized to fit the specific needs of a chatbot. For example, a chatbot designed for customer support might have a backstory that emphasizes patience and empathy. On the other hand, a chatbot designed for entertainment might have a backstory that highlights humor and wit.
When it comes to multilingual chatbots, backstories can become even more important. Understanding the cultural nuances and language intricacies of different regions can be difficult, but by crafting a backstory that is specific to a culture or language, chatbots can become more relatable and effective in their conversations. A multilingual chatbot might have different backstories for each language it speaks, allowing it to adapt to the unique needs and expectations of each region.
For example in order to make a chatbot that speaks in French we can define the backstory in french:
Conversation preempting is a technique used in ChatBotKit chatbot to set the tone of the conversation. This can be configured in the backstory using conversation scenarios or scenes as they are known within ChatBotKit.
To create a new scene within your backstory simply use the
<|scene|> tag like this:
Multiple scenes can be used to create a more hypothetical scenarios. Here's an example:
In this example, the backstory includes three scenes. When the conversation begins, the chatbot will use one of the scenes at random.
Each scene contains text which will be added to your original backstory. However, you can preempt the conversation using dialogs. Here is an example:
In the example above we preempt the conversation by providing a witty response which the bot will follow and try to imitate for the rest of the conversation.
With scenes and dialogs you can create the perfect chatbot experience.
In conclusion, backstories are an essential part of chatbot development that help create a more engaging and personalized experience for the user. By understanding the chatbot's backstory, users can better connect and interact with the chatbot.
Learn how to create a bot with ChatBotKit, a platform that simplifies bot creation and empowers users to unlock the full potential of conversational AI technology. Follow a step-by-step guide to create a bot with unique configurations, including backstory, dataset, skillset, model, privacy, and moderation settings. Make your bot creation public and start building your own tangible chatbot solutions.