Configuration (legacy AI Widget)

To configure the Cetegra AI add-on, you need to Cetegra AI Manager role.

Note that you as a Cetegra AI Manager, will, for now, have access to all available bots. Remember to not delete or modify bots or data that you are not the owner of.

Add a new data set

Start by clicking Configure which is visible by clicking the three dots in the top right corner of the Cetegra AI widget.

picture 0

Click the Datasets item in the left menu, and click Add Dataset.

picture 1

Start by defining the name of the data set, then proceed to the Add data section.

Add data

In the Add Data section, select the dataset you want to add data to.

If you added a new data set, click the Save Now button if visible:

picture 3

Drag and drop data or click to browse for data to add to the data set.

Supported file types: .txt, .md, .html, .pdf, .docx, .pptx. More types will be supported in the future.

picture 2

The data will be uploaded and indexed automatically.

Now, we have the datasets and data in place. Next, we need to define the chatbot.

Bots

To add a new bot, click the Bots section.

Click Add New to create a new bot, or select one of the existing ones to edit.

picture 6

New bots are added to the bottom of the list. Click the new, empty item to edit it.

Fill out the following:

General configuration

picture 7

  • Bot name and description: Visible for the users in the Cetegra AI widget
  • Color: Icon color for the bot in the Cetegra AI widget
  • Temperature: Choose if the bot should be more focused or more creative. This will affect the answers the bot will give
  • Max bot response length: The maximum length of the bot response
  • System prompt: The system prompt is used to instruct the bot on how to respond to the user. The system prompt is used to generate the bot response, and will not be visible to the user

Source

picture 8

  • AI Model: Select the AI model that should be used for the bot. The default is gpt-4-32k, but you can select any of the available models. The gpt-4-turbo-128k is recommended.
  • Data sets: Select the data sets that should be used for the bot (typically the data set you recently created)
  • Allow bot to use knowledge outside of selected data: If enabled, the bot will be able to use knowledge outside of the selected data sets, from the trained model data. This might give more value to the responses, but can also give unexpected results. During the test period, it gave quite good results, but it is recommended to test this thoroughly before enabling it for production use
  • Includes all previous citations in the chat as history for the bot: If enabled, the bot will use the entire chat history as the context for the response.
  • Bot documents per search: The number of documents the bot should search through to find the best response. The default is 1.

Settings

picture 9

  • Hide bot: If enabled, the bot will be hidden in the Cetegra AI widget
  • Allow saving chat history: If enabled, the user will be able to save the chat history in the Cetegra AI widget

Customize input

picture 10

  • Max user message length: The maximum length of the user message (default 4000)
  • Max message history length: The maximum length of the chat history (default 32000)
  • Allowed daily message count per user: The maximum number of messages a user can send per day (default 500)

Bot users

picture 11

Manage which users or groups should have access to the bot. The users will be able to see the bot in the Cetegra AI widget and use it.

  • Groups: Click Add New to add a new group that will have access to the bot
  • Users: Click Add User to add a new user. Click Add Me to add yourself as a user

Delete bot

picture 12

At the end of the bot configuration, you can delete the bot if it is no longer needed. Click Delete bot to delete the bot.