Introducing the AI Assistant Widget

Introducing the AI Assistant Widget

We're launching the AI Assist Custom Widget, designed to streamline request analysis by integrating multiple AI providers directly into the request details page.



Overview:

The widget currently supports three AI providers :

* Google's Gemini [Online]

* OpenAI's GPT-4 [Online]

* Ollama [Local LLMs]

Key Features of AI Assist Custom Widget

🔹 Analyse This Request

  • Examines request details, including requester sentiment, for a detailed breakdown.
  • Identifies key information, priorities, and potential concerns.
  • Helps technicians quickly understand complex requests.


🔹 Come Up With a Resolution Plan
  • Generates a structured, step-by-step resolution strategy based on request context and best practices.
  • Provides time estimates and resource requirements when applicable.
  • Helps standardize resolution approaches across teams.


🔹 Ask AI Anything About This Request

  • Enables natural language queries for contextual answers based on request data.
  • Clarifies complex aspects or technical details.
  • Supports decision-making with AI-powered insights.

🔹 Analyse an Image (Supported with Gemini alone)

  • Users can upload images and request AI assistance.
  • AI analyzes the image in the context of the request details.
  • Combines visual and textual data for a more complete understanding, helping technicians assess issues quickly.


🔹 Check for Relevant Solutions within ServiceDesk Plus (Supported with Gemini alone)
  • Searches ServiceDesk Plus (SDP) for existing solutions accessible to the technician.
  • Identifies relevant knowledge articles, reducing resolution time.

🔹 Generate a Post-Incident Review (PIR) for This Request

  • Creates detailed post-incident reports with:
    • Incident timeline
    • Impact analysis
    • Resolution steps
  • Captures key metrics and lessons learned.
  • Export as PDF option for easy report download.


Configuring the AI Providers

1️⃣ Download and Extract

2️⃣ Gemini Configuration

  • The Gemini provider is configured in the config.json file, with a dedicated configuration block for each provider.

3️⃣ Obtaining the Gemini API Key

  • Visit AI Studio and sign in with your Google credentials.
  • Click Get API Key (top-left corner).
  • Click Create API Key to generate your unique key.

After generating the API key:

  1. Unzip the widget files.
  2. Open config.json in a text editor.
  3. Paste the API key as the value for Gemini's API_KEY parameter.


After updating the API key in config.json:

  1. Zip all the widget files again.
  2. Upload the ZIP file under Admin → Developer Space → Custom Widget
This will enable Gemini as the AI provider for the widget

Implementation Details

Model Used:  Gemini 1.5 Flash

Capabilities:

Text analysis
Image analysis
Direct REST API calls
Supports multimodal inputs (text + images)


OpenAI Configuration

The OpenAI provider is configured using ServiceDesk Plus’s DRE connections feature.

Steps to Configure OpenAI Connection:

  1. Go to: Admin → Developer Space → Connections → Create New Connection.
  2. Create a new service for this connection:
    • Set Service Name and Service Link Name as openAI.
  3. Choose Basic Authentication as the authentication type.

Configuring OpenAI in ServiceDesk Plus

Steps to Create a Connection for OpenAI:

1️⃣ Go to: Admin → Developer Space → Connections
2️⃣ Click Create Connection.
3️⃣ Enter Connection Name and Link Name as openAI, then click Create and Connect.
4️⃣ When prompted:

  • Leave Username blank ("").
  • Enter your OpenAI API Key as the Password.
  • To get your API Key, visit: OpenAI API Keys.
  • Use an existing key or generate a new secret key.
    5️⃣ Click Connect to authorize the connection.
    6️⃣ Once authorized, copy the JSON of the connection for further use.


Once you've copied the JSON for the OpenAI connection:

  1. Go to the widget directory.
  2. Open the plugin-manifest.json file.
  3. Paste the copied JSON under the connections array.

After pasting the JSON in the plugin-manifest.json file:

  1. Save the file.
  2. Select and zip all the widget files again.
  3. Upload the ZIP file under Admin → Developer Space → Custom Widget to enable OpenAI
    as your AI provider for the widget.

Implementation Details:

Model used: GPT-4

Capabilities:

- Text analysis

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

- System prompt sets context as "helpful assistant that analyzes user requests"

- Messages are structured in chat format with system and user roles


Local LLMs with Ollama:

To run and make use of LLMs that run entirely in your local server machine, check out this document.
 


                  New to ADSelfService Plus?

                    • Related Articles

                    • How to adjust widget size in Dashboard

                      1. Under the Dashboard Tab, click on the 3 Horizontal Lines on the right corner and then Organize Widgets. 2. Mouseover on the bottom right corner of the application, the mouse pointer changes. Now press and drag to adjust the size.
                    • Embedding Zia Widget in MS Teams

                      Embedding Zia widget in MS Teams personal tab This article will guide you through the steps of embedding the Zia widget in the MS Teams apps' personal tab. Things to configure in ServiceDesk Plus: Head to security settings - > Advanced. Add a ...
                    • Confluence Custom Widget for ServiceDesk Plus On-Premise

                      Confluence Custom Widget for ServiceDesk Plus On-Premise Overview: The Confluence custom widget is designed to seamlessly integrate Confluence with ServiceDesk Plus. This widget enables users to access Confluence pages directly from within ...
                    • Microsoft Teams Custom Widget For ServiceDesk Plus On Premises

                      Microsoft Teams Custom Widget for ServiceDesk Plus On-Premises Overview: The Microsoft Teams widget enables technicians to create and schedule meetings directly from within ServiceDesk Plus. Setting up Azure app registration: Head to the Azure portal ...
                    • Widget-Based Solution for Importing Change Requests into ServiceDesk Plus

                      Overview: We currently do not have a built-in feature to import XLS files directly into the Change module. However, we understand that many customers need to import change requests from other tools into ServiceDesk Plus. To address this need, we have ...