5.8 Create an OpenAI Connection
The OpenAI Connector in Data Transforms simplifies connection configuration by allowing the use of existing profiles and resources.
- For Marketplace Data Transforms instance - Before you create an OpenAI connection make sure that you have an OpenAI API key. You need to add the key when you create the connection.
- For Data Transforms on Autonomous AI Database - The Autonomous AI Database connection you select must point to the same database where the Autonomous AI Database Data Transforms instance is hosted. This is because the profile here uses the credential that is stored in the credential store. For example, the Data Transforms instance on ADB1 can only access the credential store in ADB1.
To define an OpenAI Connection:
- From the left pane of the Home page, click the Connections tab.
Connections page appears.
- Click Create Connection.
Create Connection page slides in.
- For Select Type,
- In the Name field, enter the name of the newly created connection.
- Select Services as the type of connection.
- Select OpenAI, and Next.
- Select the Autonomous Database connection where this service will be used from the Select ADB Connection drop down. The Properties panel is displayed.
- To select a profile do one of the following:
- Select an existing profile from the drop down.
- Click
to create a new profile.
In the Create Profile page, enter a name for the new profile and select the AI model that you want to associate with this profile. You can select the model from available options in the drop down or key in one if the one you want to use is not listed here.
To configure the credential, select an existing one from the drop down or click
. In the Create Credential page, enter a name for the credential and enter your OpenAI API Token.
The Profile Preview section appears on the page that displays the configured settings.
- Click Test Connection to test the established connection.
- Click Create.
The new connection is created.
The newly created connection is displayed in the Connections page.
Parent topic: Connections