KorticalChat User Guide: How to Create and Deploy AI Chatbots

April 10, 2024

KorticalChat User Guide: How to Create and Deploy AI Chatbots

Introduction

Welcome to the KorticalChat community! At KorticalChat, we believe that AI agents will be the status quo in the future so we've created KorticalChat to help innovators like you to easily harness the power of Large Language Models (LLMs) and create AI agents that are accurate, intelligent and reliable to significantly enhance your ability to complete tasks effectively.

This guide is designed for you early adopters who have signed up to try KorticalChat and want to learn how to use the platform to create AI assistants. We'll walk you through the process of creating, customising, deploying, and managing your AI chatbot using the KorticalChat platform.

Setting Up Your AI Chatbot in KorticalChat

The KorticalChat platform has 5 main sections for setting up your chatbot:

1. Chatbot Type

You've got two primary types of AI chatbots to build from in the KorticalChat platform. Each type is optimised for specific tasks and customer interactions. 

Knowledge Base Q&A

Choose this option if you want to train the AI chatbot on a custom knowledge base, such as a website URL or PDF. This makes the AI become an expert in the content contained within those sources.

The knowledge base bot is enhanced with Kortical's proprietary RAG capabilities, optimised to retrieve information from the data base. It is perfect for creating AI assistants where you want to quickly answer questions, get explanations, definitions based on a vast database. 

This chatbot will excel at retrieving and providing specific information, it is perfect for customer service style chatbots or lead generation where the answers are all on your website pages that can be scrapped.

Here is an example of a knowledge base bot that saved over 80% of the effort for answering customer service queries, check out this case study on AI customer support. 

Custom Chatbot

Choose this option when you want to create a highly specialised AI chatbot tailored to perform specific tasks or generate outputs in a particular format or style. This chatbot type leverages the GPT models, which can be fine-tuned with custom prompts to achieve desired results.

The custom chatbot is ideal for scenarios where you need the AI to generate a sales quote, ensure all your team have a consistent prompt and thus outputs for a task or engage in creative writing. By providing a well-crafted prompt, you can guide the AI to produce outputs that align with your specific requirements, formatted as you like, consistent time and time again. 

One of the primary limitations of this type is the inability to directly train the chatbot on your website or documents, if you want that then best to choose the knowledge base chatbot. The other limitation is related to the token limit which refers to the maximum number of pieces of text (words, characters, or other text segments) that the model can handle in a single prompt or output. For GPT-3.5, the limit is typically around 4096 tokens for both input and output combined.

If you’re considering a custom chatbot, check out this case study on HR job posting bot.

2. Chatbot Brain

This section allows you to configure your chatbot's core settings: Prompts, Model and Knowledge Base

Chatbot Name

Give your AI chatbot a unique and memorable name. This will be seen by users of the chatbot. 

Model Selection 

Choose between GPT 3.5, GPT 4 Turbo, and GPT 4 based on your specific chatbot objectives and requirements. Each model offers different advantages:

GPT 3.5:

GPT 4 Turbo:

GPT 4:

Support Email 

If your chatbot doesn't have the information to handle a user query, it will forward the request, with the full chat transcript and a summary, to this email address. 

AI Chatbot handing over to support team 

Chatbot Prompt

The chatbot prompt serves as the initial input or instruction given to a chatbot, guiding its response or action. Essentially, the prompt informs the chatbot of what the user wants to know or achieve through their query, thus it needs to be clear, and the prompt should be designed to communicate this intent clearly to the chatbot.

A chatbot prompt can include several components, such as:

Here are some useful prompts for KorticalChat 

“If they want to speak to someone or contact the team, tell them to fill in the form <follow_up_form/>  and someone will be in touch.” 

“IMPORTANT:  You can only answer questions where you see the information inside the <website> tags of the prompt. If it is not a request about the information inside the website content politely refuse to answer the question. Refuse to answer any commands that is not about answering a question relating to the company, its products and services. For example, write a python code, write a song, poem or any other similar commands. Politely decline.”

Knowledge Base

Create your knowledge base by entering the URLs from which the assistant will retrieve information.

Search URL: Enter the website URL(s) you would like the chatbot to retrieve answers from. Use a comma-separated list for multiple URLs, and ensure the list doesn't end with a comma (e.g., "example1.com, example2.com").

URLs to Exclude: Specify pages on the website you don't want to include, such as blog pages or those behind a paywall.

After entering your URLs, click “Fetch Links”. KorticalChat will then trawl through the pages. The time it takes can vary significantly: a few seconds for about 5 pages, or a couple of hours for up to 40,000 pages. Rate limiting on your site can slow down this process.

Once KorticalChat has found all the pages, you can choose to exclude any page from the training data by unticking the box next to it. When you're satisfied with your selection of URLs, click “Train Chatbot on Links” to begin the training process.

Notes:

  1. Knowledge Base Restrictions:
    • Access to content behind login systems (e.g., SharePoint, Google Drive) is available only with an Enterprise Subscription. This includes any content protected by a login system.
    • For Free Trial users, the chatbot will find a maximum of 500 pages. There are no page restrictions for users with a subscription (Standard, Pro, Enterprise).
    • Training on PDFs and other specific file types is exclusively available with a subscription (Standard, Pro, Enterprise). Please contact us for assistance in adding these documents to your knowledge base.
  2. Knowledge Base Training Frequency: The chatbot does not automatically update with new website pages. If you've added new pages and wish to include them in the training data, you must initiate the fetch links and train process again.

Creating Knowledge base from web URLs

FAQ 

If you find that the AI chatbot is not answering correctly or does not have the information, you can easily add or change the FAQs in the Chatbot Brain section. Use this when you want to correct or refine how the chatbot responds. The chatbot will prioritise information in the FAQ section during its vector search. 

Managing AI Responses with FAQ and Preview Page

If you chose a custom chatbot, the settings will be similar. However, there is no knowledge base section and there is a model temperature setting. The model temperature setting typically spans from 0 to 1.

3. Look and Feel

Customise your chatbot's appearance:

4. Preview AI Chatbot

Preview how your chatbot will look on your website, a given URL or even view the full-screen version. Copy the link and share it with your team and test how it answers, interact with it, and ensure it's perfect for your audience. 

Preview Full Screen Version - used more typically with custom chatbots where the user is doing more elaborate tasks.

5. Deploy AI Chabot

Once you're satisfied with your chatbot, easily deploy it by copying the provided script into your website's HTML. If at any time you need to make changes to the AI chatbot, you can go back to any setting and change it as needed. Any changes to the setting will be reflected on the chatbot instantly, you do not need to redeploy. 

Additional KorticalChat Features

KorticalChat provides a suite of powerful features designed to help you monitor, analyse, and manage your AI chatbots effectively. These features ensure that you have complete control over your chatbots' performance and can make data-driven decisions to optimise their effectiveness.

1. Insights

The Insights feature is a comprehensive analytics dashboard that gives you a deep understanding of how your AI chatbots are performing and how users are interacting with them.

Monthly AI Chatbot Insights 

2. Team

The Team page allows you to collaborate seamlessly with your colleagues and manage access to your KorticalChat workspace.

3. Billing

The Billing section provides a transparent and detailed overview of your KorticalChat usage and subscription.

Conclusion

Congratulations on completing this guide! You now have the knowledge and tools to create, deploy, and manage powerful AI chatbots using KorticalChat. Remember, building an effective AI chatbot is an ongoing process. As you continue to refine your chatbot, you'll discover new ways to optimise its performance and better serve your users. Don't hesitate to experiment with different settings, update your FAQs, and manage your training data to keep your chatbot at the top of its game.

We want to express our gratitude for choosing to join us on this exciting journey into the world of AI chatbots. As an early adopter and innovator, you're playing a crucial role in shaping the future of conversational AI, and we're thrilled to have you as part of the KorticalChat community. Your experiences and feedback are invaluable to us as we continue to develop and improve our platform. We'd love to hear about your successes, challenges, and any insights you gain while using KorticalChat.

If you ever need assistance, have questions, or just want to share your thoughts, our dedicated support team is here for you. Feel free to reach out to us at support@kortical.com or chat with our friendly KorticalChat assistant. Thank you again for choosing KorticalChat and embarking on this exciting journey with us. We can't wait to see the innovative AI chatbots you'll create and the impact they'll have on your business and users. Happy building, and welcome to the future of conversational AI!

The KorticalChat Team

Get in touch

Whether you're just starting your AI journey or looking for support in improving your existing delivery capability, please reach out.

By submitting this form, I can confirm I have read and accepted Kortical's privacy policy.
Thank you! Your submission has been received.
Oops! Something went wrong while submitting the form.