OpenAI

The OpenAI connector is used to create interfaces with its various language models using the Chat component.

Prerequisites

To set up an OpenAI connection, you'll need an API key. You can generate API keys from the OpenAI user settings screen. For more information, see API keys.

Configuration

For information about creating a connection, see Create a connection.

After you create the OpenAI connection, configure the following connection-specific settings:

  1. Click Authentication.

  2. Under Authentication method, select API Key Authentication.

  3. Under API key, you can:

    • Select an existing connection variable.

    • Click Create a variable and add your OpenAI API key as a new Secret connection variable. For more information, see Create a connection variable. Then, confirm that the new connection variable is selected in the API key field.

  4. Under Send in, select Request header.
  5. Add the following key-value pair:
    • Key: Authorization
    • Value: Bearer {{$Auth.API_key}}

  6. Click Save.

Usage

This Connector supports only the Chat component.