Skip to main content

Training Your Conversation AI Bot in Stack

Enhance your customer interactions by training your AI bot using Stack’s advanced tools. With the Web Crawler and Custom Bot Responses, you can provide precise answers to common queries, ensuring your bot manages interactions with accuracy, consistency, and efficiency.

What is Conversation AI Bot Training?

Training your AI bot involves teaching it to deliver accurate, context-specific responses. By utilizing tools like the Web Crawler and Custom Bot Responses, you can build a comprehensive knowledge base that supports seamless customer interactions. Whether your customers have general or specific questions, a well-trained bot ensures their needs are met efficiently.

Key Benefits of Training Your Bot

  • Improved Accuracy: Your bot delivers precise responses tailored to customer questions by accessing relevant data sources.
  • Enhanced Efficiency: Automated responses reduce manual intervention, saving time for both your team and customers.
  • Consistency: Ensure customers receive the same high-quality information across all interactions.
  • Scalability: Support a growing customer base without increasing resources.

Web Crawler

The Web Crawler trains your bot using information from the internet, enabling it to deliver accurate, context-specific responses. Configure the Web Crawler to include data from exact URLs, paths, entire domains, or Google Docs.

How to Add URLs to Web Crawler

Adding URLs is crucial for creating a robust knowledge base. This allows the Web Crawler to extract specific information from websites, ensuring your bot has access to accurate and relevant data.

Steps to Add URLs:

  1. Choose Domain Type and Enter Domain:

    • Exact URLs: Crawls a specific webpage. For example, entering https://www.stack.com/ limits the crawl to that exact webpage.
    • All URLs with Path: Crawls all pages within a specific path. For example, entering https://www.stack.com/marketing includes all pages using that URL path, such as /marketing/offers.
    • All URLs in Domain: Crawls all pages within a domain. For example, entering https://www.stack.com/promo includes all pages with the root domain www.stack.com.
  2. Crawl URL:

    • After selecting your URL type and entering your URL, click the "Get Data" button to begin crawling. This process may take some time depending on the number of URLs.
  3. Select Crawled URLs:

    • All crawled URLs will appear in a list. You can select any number of URLs to use as training data for your bot. Choose "select all" or individual URLs by checking the box next to each URL.

Using Google Docs to Train Bots

Provide the bot with a Google Doc URL to use its content for training. This is ideal for detailed documentation, FAQs, or service descriptions.

Requirement for Using Google /

  • Ensure the Google Doc is set to "Public" by adjusting the share settings to "Anyone with the Link".

Custom Bot Responses (FAQs)

Custom Bot Responses allow you to define precise answers for frequently asked questions, ensuring your bot delivers consistent and accurate information.

How to Add Custom Bot Responses

  1. Adding FAQs Manually:

    • Click the "+ Add Q&A" button.
    • Enter the question and define the exact response.
    • Save the response for future use.
  2. AI Conversation Feedback:

    • Provide feedback during live conversations or within your AI test environment using the THUMBS-UP or THUMBS-DOWN options under bot-generated responses. This feedback refines future replies.

Frequently Asked Questions

  • How often should I update my bot’s training data?

    • Update quarterly or after major changes to your services to ensure accuracy.
  • Can I use multiple URLs for training the bot?

    • Yes! Combining Exact URLs, Path-specific URLs, and Domain-level URLs helps build a comprehensive knowledge base.
  • How do I ensure my bot’s responses are accurate?

    • Use the feedback mechanism and test your bot frequently by simulating customer queries. Regularly updating FAQs also ensures accuracy.
  • What happens if my bot cannot answer a question?

    • Depending on settings, the bot can ask for clarification or escalate the query to a human agent.
  • What types of information work best for Custom Bot Responses?

    • Include precise and critical information, such as pricing, policies, or instructions, to address common customer needs effectively.

Next Steps

  • Test your bot by simulating customer queries to ensure responses are accurate.
  • Refine the bot’s knowledge base and FAQs based on feedback.
  • Explore advanced features to further improve bot performance.