Leveraging Google Docs for training your Conversation AI bot offers numerous benefits, including efficient training processes, real-time corrections, and expanded training options. This integration provides a streamlined approach to enhancing your bot’s conversational abilities, making it easier to ensure accurate and relevant interactions. Follow these steps to use Google Docs in your bot training and take advantage of its versatile capabilities.
Benefits #
- Efficient training: Google Docs provides a straightforward and effective platform for enhancing your bots’ conversational abilities, streamlining the training process.
- Real-time corrections: This integration allows the flexibility to make corrections and refine bot responses in real time, ensuring interactions are accurate and contextually relevant.
- Expanded training options: With the addition of Google Docs, you have an alternative to website URLs for comprehensive bot training, offering more versatility in training materials.
Setting the Knowledge Base #
Check Document Permissions #
Ensure the Google Docs document is set to public permissions to allow data fetching. Adjust permissions if necessary.
Creating the Knowledge Base #
Navigate to the “Knowledge Base” section within the AI Agents tab and click “+ Create Knowledge Base.”
Enter a Name to easily identify the knowledge base. Optionally, you can add a Description as well, then click Add.
Click the Web Crawler source, then the option to add a new website.
Select the Exact URL mode (1), enter the public URL of the Google Docs document you wish to use for training (2), then click Add Website (3).
Once the knowledge base has been trained, you can view the data (1), refresh the link (2), or delete the URL (3).
Adding the Knowledge Base #
To add the knowledge base to a bot, navigate to the Conversation AI tab and edit or create a bot.
Navigate to the Bot Training tab.
Here, you can add the knowledge base to a new or existing trigger by selecting it from the drop-down menu.
Click Save in the bottom right corner, and you’re done. With the data fetched, you can now leverage Google Docs for training your Conversation AI bot.
Frequently Asked Questions #
Why use Google Docs to train my bot instead of a website? #
Google Docs gives you an easy-to-edit training source, so you can make real-time corrections and refine responses without rebuilding a web page. It is a flexible alternative to website URLs.
Does the Google Docs document need to be public? #
Yes. The document must be set to public permissions so the system can fetch its content. Adjust the sharing settings before adding it to a knowledge base.
How do I add a Google Doc to a knowledge base? #
Create a knowledge base under AI Agents > Knowledge Base, choose the Web Crawler source, add a new website, select Exact URL mode, paste the public Google Docs link, and click Add Website.
How do I connect the knowledge base to my bot? #
Open the Conversation AI tab, edit or create a bot, go to the Bot Training tab, and add the knowledge base to a new or existing trigger from the drop-down menu, then save.
Can I update the training content later? #
Yes. Because the source is a Google Doc, you can edit the document and refresh the link in the knowledge base so the bot uses the latest content.
Can I remove a Google Doc from a knowledge base? #
Yes. From the knowledge base you can view the trained data, refresh the link, or delete the URL at any time.