Skip to main content
info
This documentation is for version v2.4 of the product.
For the latest version(v2.7) documentation click here
Version: v2.4 print this page

Chatbots

Chatbots is one of the core component of the vertical where users have the ability to create a chatbot endpoint with in few seconds and ask questions. Chatbots at the time of creation takes Workspace(a collection of vectorized documents) and a base model as input. Using these two the chatbot answers the queries.

How to create a Chatbot?

  1. Select Chatbots from the Services in the top left corner and Click on + New Chatbot
  2. Fill in the required fields (Details listed below) and click on Create Chatbot button.

Following fields are needed to create a Chatbot:

PropertiesDetails
Chatbot NameA name for the Chatbot. This should be unique across the platform.
DescriptionDescription of the Chatbot being created.
KeywordsKeywords indexed & searchable in app. Choose meaningful keywords to flag related stores & easily find them later.
WorkspaceSelect the name of the workspace from the list from which context is to be derived.
ModelSelect a model from the list of models using which chatbot responds.
KeepActiveThis flag decides whether the chatbot is publicly available or not.

Below image shows how to create a new Chatbot Create Chatbot

Once a chatbot is created, you will find the direct link to it in the EXPORT tab. In addition to this, the Export tab will also contain code to use the chatbot as a react component or embed it in a website. Show Chatbot

Website Integrations

There are 3 ways to access the chatbot.

  1. Direct link: The URI would redirect to a chatbot interface which can be used similar to the chat playground.
  2. React component: To utilize this chatbot in a React application, users can refer to the code provided.
  3. Embed: To embed the chatbot in a website, users can download the javascript file provided and consume it in their code.
Note

Minified javascript file used for embedding the chatbot is also available in the downloads section

Note

You can't change the Name of the Chatbot after its creation.

How to edit a Chatbot?

User can edit details of a Chatbot after creation.

  1. Select the Chatbot you want to edit and CONFIGURATION tab opens.
  2. Click on the edit icon above Chatbot Metadata on right side and update the required details then click on Update Chatbot button.

Below image shows how to edit a Chatbot Edit Chatbot

All fields except for the name of the chatbot can be updated.

How to delete a Chatbot?

Users can delete a Chatbot by simply clicking on the Delete button on the top right side of the configuration tab.

Below image shows how to delete a Chatbot Delete Chatbot