☁️ OCI Configuration

Oracle Cloud Infrastructure (OCI) can optionally be configured to enable additional AI Explorer functionality including:

Configuration

OCI can either be configured through the AI Explorer interface, a CLI Configuration File, or by using environment variables.
You will need to generate an API Key to obtain the required configuration values.

AI Explorer Interface

To configure the Database from the AI Explorer, navigate to Configuration -> OCI:

OCI Config OCI Config

OCI GenAI Services can be configured once OCI access has been confirmed:

OCI GenAI Config OCI GenAI Config

Provide the values obtained by generating an API Key.

Config File

During startup, the AI Explorer will look for and consume a CLI Configuration File for configuring OCI access.

In addition to the standard entries, two additional entries are required to enable OCI GenAI Services:

  • service_endpoint: the URL endpoint for the OCI GenAI Service
  • compartment_id: the compartment OCID of the OCI GenAI Service

Environment Variables

During start, the AI Explorer will use environment variables to configure OCI. Environment variables will take precedence over the CLI Configuration file.

In addition to the standard environment variables, the following variables can be set to enable OCI GenAI Services:

  • OCI_GENAI_SERVICE_ENDPOINT: the URL endpoint for the OCI GenAI Service
  • OCI_GENAI_COMPARTMENT_ID: the compartment OCID of the OCI GenAI Service