AI Assistant

Improve the efficiency and productivity of operators with AI-powered ticket replies and summaries.

Contents

Prerequisites

The AI Assistant plugin requires the following:

Activating, Deactivating and Uninstalling

To activate the plugin, visit Add-ons -> Plugins and click on 'Activate' under the AI Assistant plugin name. The plugin must not currently be activated.

Deactivating the plugin will stop it from functioning but keep your existing settings saved. To deactivate the plugin, visit Add-ons -> Plugins and click on 'Deactivate' under the AI Assistant plugin name. The plugin must already be activated beforehand.

Uninstalling the plugin will remove the settings from your system and also delete the plugin completely. We recommend to use the deactivate option instead, unless you have absolutely no need for this plugin. To uninstall the plugin, visit Add-ons -> Plugins and click on 'Uninstall' under the AI Assistant plugin name.

Settings

To configure the plugin, visit Add-ons -> Plugins and click on 'Settings' under the AI Assistant plugin name. The plugin must already be activated beforehand.

AI Provider

To set up your API key, follow these steps:

  1. Log in at OpenAI Platform, or sign up if you don't already have an account.
  2. Click "Dashboard" and then "API Keys".
    OpenAI Dashboard
  3. Click "Create new secret key", you may need to verify your phone number if you haven't already done this.
    OpenAI Create Key Button
  4. Set a name and click "Create secret key".
    OpenAI Create Key Dialog
  5. You'll then see a screen with your secret key.
    OpenAI Secret Key
    Copy this to the API Key field in the SupportPal settings. You can also set a model to use, gpt-4o-mini is the default and cheapest to run. SupportPal AI Provider Settings

Sources

The sources are an important part of ensuring the AI assistant has the necessary context to make useful suggestions. A vector store must be configured and we recommend syncing as much of your content as possible.

Vector Store

Docker (Monolithic)

Set the Host to 127.0.0.1 and leave the API Key blank.

Docker (Microservices)

Set the Host to qdrant and leave the API Key blank.

Qdrant Cloud
  1. Sign up for a Qdrant Cloud account.
  2. Once your account has been created, follow the steps to create a free cluster. Enter a name for your cluster and click "Create Free Cluster".
    Qdrant Cloud Free Cluster
  3. While the cluster is being created, click the "Generate API Key" button.
    Qdrant Cloud Generate API Key
    Copy the key to the Vector API Key field in the SupportPal settings.
    Qdrant Cloud API Key
  4. Once the cluster has successfully been created, click the "Clusters" link in the sidebar and then on the Cluster name.
    Qdrant Cloud Clusters
    Qdrant Cloud Cluster
  5. Copy the "Endpoint" URL to the Vector Host field in the SupportPal settings.
    Qdrant Cloud Cluster Information
    SupportPal Settings Sources

Content

Using the AI Assistant

The AI Assistant is available in two forms in the ticket view.

The first as a widget, which opens when you click a button in the top right of the page.

AI Assistant Widget Button

The widget opens on the right side of the ticket view, with a message area, a dialog to ask a question and a dropdown with actions. Functionality available in the widget: Generate Reply, Summarise Ticket, and Ask Me Anything.

AI Assistant Widget

The other form is a toolbar button in the editor. Functionality available in the toolbar button: Generate Reply and Enhance Reply.

AI Assistant Toolbar Button

Generate Reply

The AI Assistant can suggest a reply to the ticket, by taking the last few messages in the ticket and using the context of previous tickets and similar content on your websites, articles and canned responses.

On the widget, click the vertical "..." button and then "General Reply". Once the reply has been generated, it will show in the messages area.

Widget Generate Reply

Widget Generated Reply

To use the reply, scroll to the bottom of it and click the "Add to Editor" button. This will insert it directly into the editor where you can edit it further and then submit the reply.

Widget Add To Editor

The sources the AI Assistant uses to generate the reply are shown, which can help if you need to optimise your content further to ensure the answer is as good as it can be.

To use the editor toolbar instead, click the "Generate Reply" option as shown. This will insert the reply directly into the editor when it has been generated.

Editor Toolbar Generate Reply

Summarise Ticket

The AI assistant can be asked to provide a summary of the ticket contents. The summary can help you quickly understand the customer's enquiry and whether there are any actionable items without reading the entire conversation.

On the widget, click the vertical "..." button and then "Summarise". Once the summary has been generated, it will show in the messages area.

Widget Summarise Ticket

Widget Ticket Summary

Enhance Reply

When writing a reply, the AI assistant can enhance your message to improve spelling and grammar, change the tone, and more. Enhanced replies improve the quality of operator responses and can make them sound less automatically generated.

Pre-enhanced Reply

More Formal Reply

Ask Me Anything

The AI Assistant widget is designed to be conversational, where each new question and answer serve as additional context to the AI Assistant. That allows you to fine-tune what you're asking. For example, you could ask it to generate a reply, then ask it to rewrite it in a different language. You can also ask a completely fresh question, which can be helpful if the user hasn't written their ticket in a way that the AI Assistant is able to generate a useful reply for.

Simply write your question in the dialog and hit enter, it will then come back with a response.

Widget Write Question

Widget Question Answer