Train Your AI

Goal: Train your chatbot to provide accurate responses to players based on your website and docs.

Steps: Enable Large Language Model (LLM), instruct your chatbot, sync your website and docs, test and optimise it.

1. Enable Large Language Model (LLM)

Enabling LLM allows the AI to provide intelligent, natural responses based on training sources you'll setup in step 3.

  1. Navigate to the Chatbots module.

  2. Go to the Settings tab.

  3. Locate Fallback to GPT-4o and toggle it ON.

  4. Confirm your action to activate the LLM for the chatbot.

  5. Click the button Save.

2. Instruct Your Chatbot

This is similar to all the behavioral guidelines you provide new agents during their training e.g. give consise responses rooted in X values, be formal or more informal in different situations, and so on.

Still under settings, once the LLM is enabled, the Prompts text box will appear, this already has a default set of instructions and you can change it as you wish.

Examples of Common Instructions

  • "Don't ever try to address responsible gambling, account closure and addiction related issues, instead, trigger intent [number and name of the intent you created for livechat, tickets, etc]" e.g. "intent #3 Livechat"

  • “Respond with concise answers, prioritising X company values.”

  • “Be formal in cases of technical support but more conversational when addressing promotions.”

  • “Always include links for account troubleshooting.”

If you've heard of it, the fancy name for the instructions you'll provide your chatbot is "prompt", OpenAI has a complete documentation on best practices you might want to consult so your chatbot provides best responses.

3. Sync Your Website And Docs

  1. Still in the Chatbots module, navigate to the section Data Sources.

  2. Choose one of the following options:

    • Website URL: Train the chatbot on the content from websites. See more instructions here, specially if you need to trhoubleshoot a failed sync that generally occurs if your website is behind a firewall.

    • Upload File: Add PDFs, Word docs, or FAQs.

    • Snippet: Quickly train the chatbot on text, useful for information that changes frequently and is not on your website e.g. exclusive promos, working hours, etc.

  3. Wait for the system to process and sync the data.

  4. Test a sample query to ensure the content is properly indexed.

4. Test and Optimise

Similarly to training an agent, it's also important to test the chatbot and fine tune the instructions or provide additional instructions until the responses are accurate.

  1. Open the demo page under Apps > Webchat > Setup > Test.

  2. Ask relevant questions to verify responses.

  3. Review AI answers for accuracy and adjust:

    • Instructions as per step 2.

    • Data sources as per step 3.

Setting Up a ChatbotTraining a ChatbotIntents and Chatbot ActionsTest a Chatbot

Last updated