Enabling AI History

There are a couple of things that need to be initialised in the index utilities for AI History.

  1. Run the following script.

cd C:\InsightMaker\Utils\InsightMaker.IndexUtilities 

.\InsightMaker.IndexUtilities.exe initialise --ai-history 

You can check this was successful by logging into the Control Hub.

  1. Go to Mappings then Models.

    • You should see an Aiimi Insight Engine group with two models within it.

Configure an AI History Source

  1. Go to the configurations area of the control hub.

  2. Click new configuration and select source from the dropdown.

General Tab

  1. Configuration ID: Enter ai_history.

  2. Configuration Description: Enter AI History.

  3. Manage: Under visibility uncheck manage.

  4. Mapped Data Models: Select Aiimi Insight Engine AI from the dropdown.

Source Tab

  1. Source System: Select AI History from the dropdown.

Agents Tab

  1. Select the available agent from this tab.

  2. Select Save

Creating a New Empty Index

  1. Once the Source Configuration is set up go to the configuration page.

  2. Find the source you just configured.

  3. Select the actions menu for the source.

  4. Select Start.

  5. This will create a new empty index that you can see in Kibana.

Enabling AI History in Search Flows

  1. Within the Control Hub go to Search Flows.

  2. Select Edit of the Search Flow you want to add history to.

  3. On the General tab

  4. History Source: Select AI History from the dropdown.

  5. Save the Search Flow.

Troubleshooting

Chat Hanging

If your AI chats are hanging on the second message it is likely due to a malformed AI History index.

In Kibana

  1. Delete the corrupt source index.

  2. For example, DELETE prod_idx_ai_history_main

In the Control Hub

  1. Go to the Configuration page.

  2. Select the AI History source config.

  3. Select the actions menu for the source.

  4. Select Start.

    • This will create an empty index. You can confirm this has worked by checking in Kibana.

  5. You can now start using AI History in search flows again.

Last updated