Overview #
Training your chatbot with a set of questions and answers is a great way to ensure it can respond to user queries accurately. Follow the steps below to add QA pairs for training your chatbot.
Step 1: Access the QA Page #
- From the dashboard, click on the
Train
option in the navigation bar. - You will be directed to the Train page, where you can select the QA option to begin adding questions and answers for your chatbot training.
Step 2: Add QA Pairs #
- On the QA page, you will see two fields:
- Question: Enter the question you want the chatbot to recognize.
- Answer: Enter the corresponding answer for the chatbot to provide when the question is asked.
- After entering the question and answer, click the Save button to begin training the chatbot with the provided QA pair.For example:
- Question:
What is your name?
- Answer:
My name is Chatbot.
- Question:
Step 3: Import QA from CSV File #
If you have multiple question and answer pairs, you can import them from a CSV file.
- On the QA page, click the Import File button to upload your file.
- Make sure the CSV file has two columns: one for the question and one for the answer.
- After selecting and uploading the file, the questions and answers will be added to the list automatically.
Note: Ensure that your CSV file is properly formatted before importing to avoid any errors.
Step 4: QA Pair Status Indicators #
Once the QA pairs are saved or imported, they will appear in the list with the following status indicators:
The statuses include:
- Preparing: The QA pair is being processed for training. This includes verifying the format and checking for any issues.
- Training: The QA pair is being processed for chatbot training, allowing the system to learn how to respond.
- Trained: The QA pair has been successfully trained, and the chatbot is now capable of answering related questions.
- Failed: There was an issue during training. You can check the error message for further details.
Step 5: Delete QA Pair #
To remove a QA pair, click the Delete button next to the pair you want to remove. A confirmation dialog will appear asking you to confirm the deletion.
Note: Once a QA pair is deleted, it cannot be recovered, and the training data associated with it will be removed.
Conclusion #
Now that you’ve added or imported your QA pairs, your chatbot is ready to provide accurate answers to the questions it has been trained on.
If you have any questions or need further assistance, don’t hesitate to reach out to us. We are here to help!