AI Assistant Custom Widget

The AI Assistant Custom Widget is designed to enhance the request analysis workflow by using the power of multiple AI providers. 

 

 

The widget currently supports three AI providers :

 

Feature Highlights 

The AI Assistant custom widget in ServiceDesk Plus offers you benefits:

Detailed request analysis

Structured resolution plan

Ask anything about a request (Ask AI) 

Accurate image analysis (Gemini-only)

Display relevant solutions within ServiceDesk Plus (Gemini-only)

Streamlined post-incident review (PIR) 

 

  Detailed Request Analysis  

 

 

  Structured Resolution Plan  

 

 

 

 Ask Anything About Request (Ask AI)  

 

 Accurate Image Analysis (Gemini-Only)

 

 

 Relevant Solutions Within ServiceDesk Plus (Gemini-only) 

 

 

 Streamlined Post-Incident Review  (PIR) 

 

Configuring the AI Providers 

Download the custom widget zip here and extract the files.

Gemini Configuration 

Gemini provider is configured in config.json in the widget zip. Each provider has its own configuration block.

Gemini configuration requires an API key. To get the Gemini API key:

  1. Go to https://aistudio.google.com/live and sign-in with your Google credentials.

  2. Click Get API key at the top-left. 

  3. Click Create API key to generate your unique API key.

  1. Copy the generated API key. 

  2. Unzip with widget files. 

  3. Open config.json in a text editor. 

  4. Paste the API key as the value in the Gemini's API_KEY parameter.

  1. After you update the parameter, zip all the widget files together.

  2. Go to Admin > Developer Space > Custom Widget > + Custom Widget.

  3. Upload and save the zipped file to use Gemini as the AI provider for this widget.

Gemini Implementation Details 

Model Used: Gemini 1.5 Flash

Capabilities:

 

OpenAI Configuration 

To configure a connection for OpenAI in ServiceDesk Plus, 

 Step 1: Create a service 

  1. Go to Admin > Developer Space > Connections > Custom Services > Create Service.

  2. Enter the Service name and Service Link Name as openAI

The Service Name must contain only alphanumeric characters, either as a single word or in snake case. For example, openAI or open_AI.
  1. Set the Authentication Type to Basic Authentication.

  2. Click Create Service.

 Step 2: Create a connection

  1.  After you create the service, click Create Connection.

  1. Enter the Connection name and Connection Link Name as openAI (similar to the service name).

  2. Click Create and Connect.

 

 Step 3: Establish the connection 

  1. Click Connect. You will be prompted to enter the username and password. 

  1. Enter " " for username (blank username), and the password should be the OpenAI API Key. 

  2. To create/get your OpenAI API Key, check this page: https://platform.openai.com/api-keys. You can use your existing API Key or create a new secret key and then use it as the password.

  1. After you fill out the username and password, click Connect.

                                               

 Step 4: Configure the custom widget 

Do not zip the parent folder. Select all the files individually and zip them.  

Implementation Details: 

Model used: GPT-4

Capabilities: 

API Endpoint: https://api.openai.com/v1/chat/completions

 

Configuring Local LLMs with Ollama 

To use LLMs that run entirely on your local server machine, click here