Skip to main content

Training Your Chatbot Using CSV

With Thinkstack's CSV training feature, you can upload structured data files to train your AI chatbot. This feature allows the chatbot to quickly learn and respond to user queries based on the data provided in your CSV file.

info

Prerequisite: Prepare a properly formatted CSV file with column names containing only letters, numbers, and underscores(do not use space). Ensure the file is within the limits of 5000 rows and 20 columns.

Steps to Train Your Chatbot Using CSV#

  1. Navigate to the Sources Section: Log in to your Thinkstack account. Select your chatbot and go to the 'Sources' tab in the top navigation bar.From the left sidebar, click on 'CSV. Navigate to sources and select sources

  2. Upload Your CSV File: Drag and drop your CSV file into the upload area or click to select it from your device. Ensure your file adheres to the formatting requirements mentioned above. Once processed, the file name will appear with its size and character count. Click 'Train' to proceed. Navigate to sources and select sources

  3. Training in Progress: Once you initiate training, the status will show as 'Training has Started. Wait for the process to complete. A validation window will display your file's column names, descriptions, and sample values. Review the auto-generated descriptions and edit them if necessary to ensure accuracy. Click on Update to finalize the changes. Training is in progress

    info

    Take a moment to review and refine the automatically generated descriptions for each column in your dataset. Providing clear and accurate column descriptions enhances the chatbot's understanding of the data's context, enabling it to retrieve information more effectively and generate precise responses with ease.

  1. Verify the Training: After the status changes to 'Trained,' test your chatbot to ensure it provides accurate responses based on the CSV data. Test the accuracy of the response of your chatbot
    tip

    Verify the accuracy of the response by cross-checking it with the data in the CSV file.

🎉 That's a wrap! You’ve successfully trained your chatbot using a CSV file. Keep refining your data and training your chatbot to improve its performance.