Oracle® Select AI for Java

Select AI for Java enables Java developers to use Oracle Autonomous AI Database Select AI from Java applications. It supports operations backed by DBMS_CLOUD_AI and DBMS_CLOUD_AI_AGENT. It supports natural-language-to-SQL (NL2SQL) query generation over database data, also known as text-to-SQL. It also supports generative AI responses over trusted content through retrieval augmented generation (RAG), synthetic-data generation using large language models, context-aware conversations, summarization, translation, and related Select AI functionality.

The SDK provides public Java interfaces, typed request models, and runnable samples that bridge Java applications with the DBMS_CLOUD_AI and DBMS_CLOUD_AI_AGENT PL/SQL packages.

The public API includes:

  • Profiles, credentials, conversations, and vector indexes
  • Agents, tasks, tools, and teams through SelectAIAgent
  • Resource lifecycle, attribute, status, and execution-state operations
  • Natural-language SQL generation, SQL execution, narration, and explanation, as well as context-aware chat
  • Retrieval-augmented generation and vector-index management
  • Summarization, translation, feedback, and synthetic-data generation
  • Shared-team execution, owner-scoped access management through SelectAIAgent and Team, runtime variables, and team definition import/export
  • Typed agent, task, tool, and team models in com.oracle.database.selectai.model.agent
  • Connection management through DataSource or SDK-owned JDBC connections
  • Administrative package privileges, network ACLs, and Select AI data-access configuration through DatabaseAdmin
SDK API
Package
Description
Public API for using Oracle Select AI from Java applications.
Public synchronous interfaces for Oracle Select AI Agent resource management and workflow execution.
Typed configuration, request, and value models used by the Select AI Java API.
Configuration, request, response, status, and discovery models for Oracle Select AI Agent operations.