Skip links
🔧
Need help with installation?
Send an email to [email protected] to get a quote.

Training Chatbot

Table of Contents

In MagicAI you can create a chatbot template trained with specific knowledge on a particular topic. You can follow the steps below.

Creating a new Chatbot template

  1. Click the Add Template button on the Templates > Chat Templates page on your MagicAI dashboard.
  2. Enter the details of your chatbot template.
  3. Enter the personality details of your chatbot template.
  4. In the Chatbot Training section, you can train your chatbot with the custom data you enter. You have to enter the data in JSON format. You can add a sample set of data by clicking the Create example input button.

    There are 3 different roles you can use when training your chatbot: User, Assistant and System.
    1. User: The User role is responsible for the human input or messages in the conversation. Users interact with ChatGPT by asking questions, making requests, or providing prompts. They initiate the conversation and provide context for the Assistant to generate relevant replies.
    2. Assistant: The Assistant role represents the language model (e.g., ChatGPT) that generates responses based on user messages. It uses its training on vast amounts of text data to understand the user’s input, generate coherent and relevant responses, and maintain the conversation flow. The Assistant aims to assist, provide information, and engage in conversation with the user.
    3. System: The System role involves instructions or guidance given to the Assistant to influence its behavior during the conversation. System messages are introduced by external systems or rules and are not based on user input. They serve to provide instructions, clarify context, or guide the Assistant’s responses. System messages help steer the conversation or modify the Assistant’s behavior to achieve desired outcomes.

    By assigning these roles, GPT empowers interactive and dynamic conversations where users effectively communicate their intentions. The Assistant generates meaningful responses, while the System seamlessly provides additional context or guidance as required.

You can access the chatbot template you created via the AI Chat page.

Things to Pay Attention

  1. Make sure you enter training data in a valid JSON format. (When you click on the Create example input button, the data returned is in a valid JSON format.)
  2. Enter words like company names or group names in quotation marks. e.g., ‘MagicAI Corp.’ 
    Note: Do not use double quotation marks ( ” ), use single quotation marks ( ‘ ). Using ( ) will cause conflict in the JSON format.