Skip to main content
Skip table of contents

Azure OpenAI

Introduction

Azure OpenAI Service provides REST API access to OpenAI's powerful language models including the GPT-3, Codex and Embeddings model series. In addition, the new GPT-4 and ChatGPT (gpt-35-turbo) model series have now reached general availability. These models can be easily adapted to your specific task including but not limited to content generation, summarization, semantic search, and natural language to code translation.

Functionality for Azure OpenAI Service is split into two nodes:

  1. Azure OpenAI Authoring includes APIs for fine-tuning and managing deployments of OpenAI models.

  2. Azure OpenAI Inference includes APIs for completions and search.

You can find more details and the supported operation on Azure OpenAI | qibb.

How to get started with Azure OpenAI Service integration

Before you begin, ensure that you have the necessary permissions to perform the integration. When you have your Azure OpenAI Service, you can follow the steps below to get started:

  1. Obtain your Client ID, Client Password, and Tenant ID for authentication purposes.

    1. Use the search bar on your Azure Dashboard to search for Azure Active Directory and click on the Service.

    2. Your Tenant ID is displayed on the starting page of the Azure Active Directory.

    3. In the left toolbar select App registrations.

    4. Locate your application. Your Application (client) ID is displayed here as well. Click on your application name.

    5. In the left toolbar select Certificates & secrets.

    6. Click the link for your Client credentials.

    7. Your Client Password is the Value associated with your Secret ID. Secret values can only be viewed immediately after creation. Be sure to store your secret value in a secure location for use in your project.

  2. Locate your Host URL.

  3. Make note of your Api-Version, which you will include as a query parameter. Microsoft provides this documentation: Azure OpenAI Service REST API reference.
    Note: qibb makes the Api-Version visible when editing the node settings. See the blue boxes in the screenshot for step 7.

  4. Open the qibb Workflow Editor and click on the Node Catalog button in the right sidebar. Install the Azure OpenAI nodes by clicking on the + button.

  5. Drag and drop the Azure OpenAI Auth, Azure OpenAI Authoring and Azure OpenAI Inference nodes from the left sidebar to your workflow and connect them to build the workflow you need.

  6. Enter your credentials in the Client ID, Client Password, and Tenant ID fields in the Azure OpenAI Auth node.

  7. Enter your Api-Version parameter and any other necessary parameters into the Azure OpenAI Authoring and/or Azure OpenAI Inference nodes and start using the integration!

Additional resources:

Azure OpenAI Service - Documentation, quickstarts, API reference

Importing flow examples of a node

Once you've successfully installed a node from the qibb catalog, you can easily import example flows that showcase how the nodes can be used. These example flows are directly accessible within the Flow Editor and are designed to guide users with helpful hints, including how to configure mandatory parameters and credentials.

Here's how to import examples:

  1. In the top right corner of the Flow Editor, click on the menu icon.

  2. Select Import to open the Import Dialog.

  3. Click on the Examples tab.

  4. Choose an example from the list.

  5. Confirm your selection by clicking on the Import button.

By following these steps, you are now ready to make basic API calls using the provided examples. For further exploration of what’s possible, you can find more complex examples in the Flow Catalog.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.