Select AI Interfaces

Select AI interfaces support environments such as SQL, PL/SQL, and Python.

Select AI for SQL

Use Select AI for SQL to generate and run SQL queries using natural language input. Instead of writing queries manually, describe the data you want to access, and Select AI translates your request into SQL statements.

Select AI for SQL uses generative AI capabilities, including large language models (LLMs). It supports natural language to SQL query generation, and other advanced data interaction features.

Select AI for SQL uses the DBMS_CLOUD_AI and DBMS_CLOUD_AI_AGENT packages to process natural language prompts and execute queries directly within the database.

For more information, see the documentation for DBMS_CLOUD_AI and DBMS_CLOUD_AI_AGENT.

Select AI for Python

Select AI for Python integrates generative AI capabilities into Autonomous AI Database workflows. Select AI for Python provides a client library, select_ai, that enables you to use DBMS_CLOUD_AI capabilities in Autonomous AI Database from Python. Select AI for Python supports enhanced generative AI workflows, summarization, consistent metadata management, and agentic AI capabilities. It also supports Python 3.14 and includes an updated HTML documentation site (New)

What You Can Do

Supported Platforms

Select AI for Python is certified for Autonomous AI Database 26ai and 19c. Select AI for Python may work on other platforms, however, it is not certified.

Click https://github.com/oracle/python-select-ai/issues to report issues.

Supported Functions for Select AI Profile (Synchronous and Asynchronous)

When you send prompts through a profile, you can choose among several functions defined for AI profile objects. Some are as follows:

For a complete list of functions, see Select AI for Python guide. See also Use AI Keyword to Enter Prompts for more information on the Select AI actions.

Supported Classes

The library includes classes to manage providers, profiles, conversations, synthetic data, and agentic workflows. Both synchronous and asynchronous versions are available.

Asynchronous equivalents exist for Profile, Conversation, and VectorIndex classes.

Async Select AI Support

Select AI for Python provides asynchronous APIs that enable interaction with Autonomous AI Database. These APIs use Python’s async and await constructs and support coroutine-based applications.

Async APIs are available for the following key objects in the library:

Use select_ai.create_pool_async() to manage connections in asynchronous workflows.

These classes provide functionality equivalent to their synchronous counterparts. Async APIs are useful in applications that require concurrent operations or event-driven workflows.

For complete API reference, see Select AI for Python guide.

API and Attribute Update Enhancements

The following enhancements are available:

Privilege and HTTP Access

Privilege management is separate from HTTP access configuration.

Privilege APIs:

Privileges are updated to include:

HTTP access APIs:

Other Enhancements