Skip to content

LLM Integration

You must configure the integration with a pre-built or custom LLM or Kore.ai XO GPT Module to use LLM and Generative AI features.

Review the model and feature support matrix for the Co-Pilot features and Dynamic Conversation features.

Pre-built LLM Integration

The XO Platform offers seamless integration with leading AI services like Azure OpenAI, OpenAI, and Anthropic. Utilizing pre-configured prompts and APIs, you can effortlessly tap into the core capabilities of these services. Although you can customize certain elements, the overall structure adheres to a standardized format for simplicity. You can quickly realize the potential of LLM with the XO platform’s plug-and-play integration with premium AI services. Along with pre-configured or default prompts, you can craft your own custom prompt optimized for their specific purposes.

Configure Pre-built LLM Integration

Steps to configure a pre-built LLM:

  1. Go to Generative AI Tools > Models Library. Models Library

  2. Choose the LLM you want to configure.

    1. Steps to configure Azure OpenAI:
      1. Click Configure Now for Azure OpenAI. Azure OpenAI
      2. On the Authorization tab, enter the details like API Key and the User Sub Doman. Toggle on the required model and enter Deployment ID.
      3. Read the Policy Guidelines, select the checkbox, and click Save.
    2. Steps to configure OpenAI:
      1. Click Configure Now for OpenAI. OpenAI
      2. On the Authorization tab, enter the API Key.
      3. Read the Policy Guidelines, select the checkbox, and click Save.
    3. Steps to configure Anthropic:
      1. Click Configure Now for Anthropic. alt_text
      2. On the Authorization tab, enter the API Key.
      3. Read the Policy Guidelines, select the checkbox, and click Save.
  3. The configured model is listed in the Models Library section. The status changed to X/Y models configured, where X is the number of the model(s) configured, and Y is the number of model(s) supported. Model Configured

  4. If you want to configure another model, click + New Model and select the model. + New  Model

  5. The next step is to enable Co-Pilot and Dynamic Conversations features.

Custom LLM Integration Framework

The XO Platform now enables enterprises to power up their virtual assistants with any Large Language Model (LLM) of their preference. The bring-your-own (BYO) model framework supports integrations with externally hosted models by third parties as well as models hosted by the enterprises themselves. It allows the creation of custom prompts that are optimized for their specific purposes and models. This generic framework works seamlessly with the Auth Profiles module of the platform, enabling enterprises to use the authentication mechanism of their choice.

Note

Generative AI features are available for English and non-English NLU and VA languages on the Kore.ai XO Platform. However, custom LLM-specific features are currently limited to English.

Configure Custom LLM Integration

You can integrate a custom LLM and build your Prompts and Requests Library for specific features.

Steps to integrate a Custom LLM:

  1. Go to Generative AI Tools > Models Library.
  2. Click Custom LLM.

    Models Library

    If you have already configured a model, click + New Model > Custom Integration.

    + New  Model

  3. On the Configuration tab, enter the details like Integration Name, Model Name, Endpoint, and Headers.

    alt_text

  4. On the Auth tab, select an existing authorization profile from the drop-down or create a new profile to use for this request. For more information, see the Bot Authorization Overview article. alt_text

    Note

    OAuthv2.0 and Kerberos SPNEGO auth profiles are supported for the Custom LLM integration.

  5. Click Test. The Request Body to test LLM Connection pop-up is displayed.

    alt_text

  6. Enter the test payload and then click Test to check the connection. If the LLM connection is successful during the test call, it displays a confirmation message. If not, it shows an error message.

    alt_text

  7. Please Read Policy Guidelines, select the check box, and then click Save.

  8. The success confirmation message is displayed on the screen. The configured model is listed in the LLM Integration section. The status changed to X/Y models configured, where X is the number of the model(s) configured, and Y is the number of model(s) supported. Model Configured

  9. The next step is to add Prompts.

Kore.ai XO GPT Integration

The new Kore.ai XO GPT Models module provides fine-tuned large language models optimized for enterprise conversational AI applications. These models have been evaluated and fine-tuned to be accurate, safe, and efficient for production deployment. Current capabilities include Conversation Summarization, User Query Rephrasing, Vector Generation and Answer Generation.

Note

The Kore.ai XO GPT Module is currently available only for English language interactions. The respective models are available only in our global deployment (US Cloud – https://bots.kore.ai).

Enable Kore.ai XO GPT Integration

Steps to enable Kore.ai XO GPT Models.

  1. Go to Generative AI Tools > Models Library..

  2. Click Enable Now for Kore.ai XO GPT. Models Library

    If you have already configured a model, click + New Model > Kore.ai XO GPT. XO GPT

  3. On the Models tab, toggle on the models as required. Kore.ai XO GPT

  4. Read the Policy Guidelines, select the checkbox, and click Save.

  5. The success confirmation message is displayed on the screen. The configured model is listed in the LLM Integration section. The status changes to X/Y models configured, where X is the number of the model(s) configured, and Y is the number of model(s) supported. Model Configured

  6. You can now use these models in Co-Pilot and Dynamic Conversations features.

Reset/Delete the Configured LLM Integration

If not using a configured LLM, you can reset/delete the LLM-specific integration using the Reset Configuration/Delete option. You can reset the pre-built integration and delete the custom integrations.

When you reset/delete the integration, the system does the following:

  • Removes all the integration details like keys, endpoints, deployment names, etc.
  • The system removes the model from the selection list of supported LLM features and turns off the respective feature. You can select another configured and supported LLM for that feature.
  • Deletes the related Prompts and Responses.

Note

This change impacts only the in-development copy of the VA. The changes will apply to the published version when you later publish the VA with NLP configurations.

Reset Configured Pre-build LLM Integration

Steps to reset an integration:

  1. Go to Generative AI Tools > Models Library.
  2. Click three dots (more icons) and then click the Reset Configuration for the model you want to reset. Reset Configuration

  3. Click Reset in the confirmation dialog.
    Reset Configuration

  4. The success message is displayed.

Delete Configured Custom LLM Integration

Steps to delete an integration:

  1. Go to Generative AI Tools > Models Library.
  2. Click three dots (more icons) and then click Delete for the integration you want to delete. reset-custom

  3. Click Delete in the confirmation dialog.
    Delete Configuration

  4. The success message is displayed.

Reset Configured Kore.ai XO GPT Integration

Steps to reset an integration:

  1. Go to Generative AI Tools > Models Library.
  2. Click three dots (more icons) for Kore.ai XO GPT and then click the Reset Configuration for the integration you want to reset. Reset XO GPT

  3. Click Reset in the confirmation dialog.
    Reset Configuration

  4. The success message is displayed.