Configuring Select AI for First Use
Perform the following steps to check the requirements and configure Select AI for first use.
-
Select AI requires the following:
-
Access to an Autonomous Database instance, such as an Always Free Autonomous Database
-
A paid API account for a supported AI provider.
-
-
The Select AI feature requires that the database allow network access to an AI Provider for a database user. The database user also needs execute privileges on the
DBMS_CLOUDandDBMS_CLOUD_AIpackages.Perform the following steps:
-
In Server Explorer, Connect to the Autonomous Database as the
ADMINuser. -
Right click on the connection in Server Explorer and select Select AI, then Configure Select AI Provider Network Access. This opens the Configure Select AI Provider Network Access Dialog.
-
Choose your AI Provider and the Database Username from the drop down lists and click the Save button.
If you do not have access to the
ADMINaccount, then you can connect to your database user account and perform the preceding steps. Instead of clicking Save, check the show SQL checkbox and provide the SQL to the person with access to theADMINuser. -
-
You will need to create a credential that stores the authentication information from your AI provider for use by Oracle Database. The authentication information is obtained by logging into the AI provider's web site. You can create more than one credential.
Perform the following steps to create a new credential:
-
In Server Explorer, Connect to the Autonomous Database as your database user.
-
Right click on the connection in Server Explorer and select Select AI, then Configure Select AI Profile. This opens the Configure Select AI Profile Dialog.
-
Go to the Create Credential tab.
-
Provide a credential name, credential type, and additional authentication details.
-
Click Save to create the credential.
Note:
You can only create a new credential. An error will be raised if you provide an existing credential name.
-
-
You will need to create a profile that specifies which AI provider, credential, and model will be used and which database schema object metadata will be provided to the LLM. You may have more than one profile.
-
In Server Explorer, right click on the connection and select Configure Select AI Profile. This opens the Configure Select AI Profile Dialog.
-
Under the Create Profile tab, enter a profile name.
Note:
You can only create a new profile. An error will be raised if you provide an existing profile name.
-
Choose a Credential Name from the drop down list.
-
Select the AI Provider from the dropdown list
-
Select the Model from the dropdown list. If you do not see the model you wish to use, then you may type the name instead.
-
Click on the button with three dots next to the Object List field. The Select AI Object List Dialog dialog will open.
-
In the Object List dialog, select Object type of Tables, Views, Materialized Views and then select the schema name from the dropdown.
-
Using the radio button choose to show either Tables, Views, or Materialized Views.
-
Choose the tables or views for which you would like to send metadata to the LLM.
-
Cick OK to accept the Object List.
-
Click Save to create the profile.
-
See Also:
For more information about configuring Select AI, see: