GenAI Icon

Unqork GenAI Connector

Overview

Unqork's GenAI Connector enables Creators Also known as Unqork Users, or Designer Users; is anyone who is inside the Unqork platform. to add GenAI Generative AI (GenAI) is a type of artificial intelligence (AI) that can create new content in response to written prompts. capabilities to Unqork applications. To use the GenAI Connector, Creators install the template to their environment, then connect it to the OpenAI or Google AI API APIs (application programming interfaces) are a set of protocols and definitions developers use to build and integrate application software. APIs act as the connective tissue between products and services. services. Creators can then customize LLM Large Language Models (LLM) are artificial intelligence (AI) programs that use deep learning algorithms to analyze and generate text and other content based on large amounts of data. usage using the GenAI Connector's Plug-In components. Once the connector is set up, Creators and end-users End-users, also known as Express Users, are the individuals accessing an application through Express View. In most cases, end-users are the customers using the product. can interact with the LLM in Express View Express View is how your end-user views you application. Express View also lets you preview your applications to test your configuration and view the styling. This is also the view your end-users will see when interacting with your application. After configuring a module, click Preview in the Module Builder to interact with the module in Express View..

The GenAI Connector is available for the UDesigner platform.

What Is the GenAI Connector?

The GenAI Connector is a template that provides a starting point for creating GenAI enabled applications. The template contains a sample module configuration for a chatbot A chatbot is a computer program that simulates conversation with end-users. experience that can be customized to suit your needs.

The GenAI Connector package includes the following:

Creators are responsible for acquiring an API key for the LLM provider of their choice. Never share your API key with outside sources.

Installing and Configuring the GenAI Connector

To use an LLM in Express View, you must first install and configure the GenAI Connector.

Requirements

To install and configure GenAI in Unqork, you need:

  • Access to the UDesigner Platform.

  • Subscription to OpenAI's ChatGPT or Google's Gemini AI.

  • Environment Administrator Access.

Install the GenAI Connector Template

The GenAI Connector template creates all the modules and services required to use ChatGPT or Gemini in Unqork. After installing the template, you'll connect it to your preferred service using your private LLM Large Language Models (LLM) are artificial intelligence (AI) programs that use deep learning algorithms to analyze and generate text and other content based on large amounts of data. API key.

To install the GenAI Connector template:

1. From the UDesigner Homepage, navigate to the Unqork and AI card.
2. Click Get Started.

A static image displaying the UDesigner Homepage. The Unoqrk and AI card in the discover bar is highlighted.

3. In the confirmation modal A modal is a window that appears on top of the content you are currently viewing., click Create GenAI Connector App. The Create GenAI Connector App modal displays.
4. From the Workspace* drop-down, enter or select an existing workspace.
5. In the App Name* field, enter a name for your GenAI Connector application. The App Path* populates using the App Name field value.

The App Type*, App Entrypoint* and Style values are predefined and cannot be changed at this time.

6. Click Create App from Template

A static image displaying the Create GenAI Connector App modal.

The GenAI Connector app displays in the Application Element table of the chosen workspace.

Configuring GenAI Connector Services

The GenAI Connector comes with two preconfigured services, Google's Gemini and OpenAPI's ChatGPT. You can connect one, or both services to the GenAI Connector application.

Connect the OpenAI Service

Now that the GenAI Connector template is installed to the environment, connect it to the OpenAI service using the appropriate API key.

For this example, connect the OpenAI API to Unqork using the Services Administration page:

1. From the UDesigner platform, click Administration.
2. Under Integration, click Integration Administration. The Integration Gateway page displays.

If you do not have Integration Administration enabled in your environment, click Services Administration.

3. From the left menu, click Services Administration.

In the Services list, the GenAI Connector template automatically creates the Google Gemini and OpenAI connectors.

4. From the Services list, click OpenAI - GenAI Connector 1.0.0 20XX-XX-XXT00:00:00.000Z. The date and Zulu Zulu Time (also known as Coordinated Universal Time) is an established universal time based on GMT (Greenwhich Mean Time). time correspond to the GenAI Connector template installation date.

A static image displaying the environment's services list.

The OpenAI - GenAI Connector's Service page displays.

5. At the top right, click  Edit. The service fields become available to edit.

If multiple GenAIs connectors exist in the environment, update the Service Title* field to a unique value for easier navigation.

6. From the left menu, click Service Type.
7. In the Bearer Token field, enter your Open AI API access key.

To obtain an API key, view OpenAI's documentation here: https://platform.openai.com/docs/api-reference/authentication

A static image displaying the OpenAI Connector's Service page. The Bearer token field is highlighted.

8. Click Save Changes.

The GenAI Connector's OpenAI application is now ready to use.

Connect the Google Gemini API Service

Now that the GenAI Connector template is installed to the environment, connect it to the Gemini AI service using the appropriate API key.

For this example, connect the Google Gemini API to Unqork using the Services Administration page:

1. From the UDesigner platform, click Administration.
2. Under Integration, click Integration Administration. The Integration Gateway page displays.

If you do not have Integration Administration enabled in your environment, click Services Administration.

3. From the left menu, click Services Administration.

In the Services list, the GenAI Connector template automatically creates the Google Gemini and OpenAI connectors.

4. From the Services list, click Google Gemini - GenAI Connector 1.01.0.0 20XX-XX-XXT00:00:00.000Z. The date and Zulu Zulu Time (also known as Coordinated Universal Time) is an established universal time based on GMT (Greenwhich Mean Time). time correspond to the GenAI Connector template installation date.

A static image displaying the environment's services list.

The Google Gemini connector's Service page displays.

5. In the UDesigner's top-right corner, click  Edit. The service fields become available to edit.

If multiple GenAIs connectors exist in the environment, update the Service Title* field to a unique value for easier navigation.

6. From the left menu, click Request & Response.
7. In the Request Headers table, replace the Header Value of {{YOUR_API_KEY_HERE}} with your Google Gemini API key.

To obtain an API key, view Google's documentation here: https://ai.google.dev/gemini-api/docs/api-key

A static image displaying the Google Connector's Service page. The Request and Response Header is highlighted.

8. Click Save Changes.

The GenAI Connector's Google Gemini application is now ready to use.