AI Chatbot

This help page takes you through how to setup and make use of your AI Chatbot.

For the chatbot to work, you'll need an OpenAI API key, and go through the following steps:

  1. Create an API key
  2. Adding your pages and training your chatbot
  3. Activate your chatbot
This feature requires a business plan.

Creating an OpenAI API Key and Integrating it with Limecube

This help video show you where to find your animation settings in Limecube.

Step 1: Create an OpenAI Account

  1. Visit OpenAI's Signup Page.
  2. Enter your email address, create a password, and verify your email.
  3. Log in to your new OpenAI account.
  4. Enter Credit Card Details: Navigate to the billing section and enter your credit card information to enable API usage.

Step 2: Generate an API Key

  1. Go to the API Keys Page.
  2. Click on "Create new secret key."
  3. Copy the generated API key.

Step 3: Enter the API Key in Limecube

  1. In Limecube's admin menu, go to Administration > AI Chatbot.
  2. Navigate to the Setup tab.
  3. Paste the OpenAI API key into the OpenAI API Key field.
  4. Save your changes.

Your AI chatbot is now connected to your OpenAI account.

AI Chatbot Training: Adding pages and training your chatbot

Once you have added your API key, head back to the first tab 'Chatbot pages'. Here you have the options to:

  1. Scan your whole site, and bring in all URLs (it doesn't mean you have to use all URLs for training)
  2. Add individual pages 1-by-1 for training.

To train your AI chatbot:

  1. Enter Your Site URL: This can be the URL of the site where the chatbot will be used or an external site.
  2. Get Links for Training: Click this button to scan your website and list all available pages.
  3. Train on All Links: If you want the AI to learn from all pages, select this option.
  4. Choose Specific Pages: Use the "Create New Page" button to add individual pages for training.

Managing Trained Pages:

View all trained pages, search for specific ones, deactivate, delete, or retrain them as needed.

Activate/deactivate You can deactivate a page if you don't want to delete it, but also don't want the chatbot giving responses based on that page.
Edit Mostly used if you want to change the title for easier reference. 
Retrain This is an important function to use when you update content on a page, to make sure the chatbot is trained on the new content.
Delete Removes it from your AI knowledgebase and will not return any associated results with this page anymore.
Important: Retrain pages after content updates, as the AI does not automatically search for new content.

This process ensures your chatbot stays relevant and effective with up-to-date information.

Step 3: Activate your chatbot

You can still fully test your chatbot without it being active. Active simply means it will appear on the front of your website. Until you activate it, the chatbot will only appear admin side, and can be tested under the 'Settings' tab.

To activate your chatbot:

  1. Go the the 'Settings' tab
  2. Look for the activate button and switch it on.
  3. Click the 'Save all' button.
  4. Go to the front of your website and test that your chatbot is working fine.

Additional Training

While we have trained the chatbot behind the scenes to give proper responses, each business is slightly different, and you may want to adjust the system prompt further to give results that best suit you, which can also include telling the chatbot what you don't want it to say.

To modify this system prompt go to:

  • The 'Settings' tab and scroll down to 'Additional Training'
  • Carefully read the system prompt int he additional training and consider how adjusting it would improve the results the chatbot is giving.
  • Click the 'Save all' button.

Backing up your changes: If you have modified the original prompt with your own, we always recommend keeping a backup on your own computer before you make any further changes. However if you are just looking to restore the original prompt, click the 'Restore original' button.

Chat history

Chatbot History Tab

The Chatbot History tab allows you to review interactions between the AI chatbot and visitors on your website.

Functions:

  1. Filter by Date: Set a date range to view chats within specific periods.
  2. Sort by Date: Sort the results by newest or oldest chats.
  3. View Individual Chats: Each entry shows the date and time of the chat. Click on an entry to scroll through the conversation the chatbot had with the user.

This feature helps you monitor and understand user interactions with your AI chatbot.

Using Chatbot History for Training

The Chatbot History tab isn't just for review; it's a valuable tool for improving your AI chatbot's accuracy. Here’s how:

  1. Identify Issues: Review chats to spot where the chatbot provided incorrect information.
  2. Content Gaps: If the chatbot's responses are off, it might be due to insufficient content. Consider adding more detailed or relevant content to your pages, especially if users ask questions you hadn’t anticipated.
  3. Hallucinations: Sometimes, AI may generate responses based on non-existent information. This is a known issue with AI, not specific to your chatbot. Mitigate this by regularly updating your content and retraining the chatbot with that content.

Update the System Prompt: Fine-tune the chatbot's behavior by modifying the system prompt, ensuring it aligns with your content and desired outcomes.

Remember to Retrain: After adding new content, make sure to retrain your chatbot so it can provide more accurate answers.

Chatbot greeting

This is a greeting message that will show in the chatbot popup, and the first thing that a user will see.

To modify this greeting:

  • The 'Settings' tab and scroll down to 'Chatbot Greeting'
  • Edit the message.
  • Click the 'Save all' button.

Can't find the answer you are looking for?

Try using searching below: