Skip to content

v1.4.0#34

Merged
aosingh merged 3 commits into
mainfrom
dev/v1.4.0
Jun 5, 2026
Merged

v1.4.0#34
aosingh merged 3 commits into
mainfrom
dev/v1.4.0

Conversation

@aosingh
Copy link
Copy Markdown
Member

@aosingh aosingh commented Jun 4, 2026

Features

  • Added streaming support for LLM responses.

    • Sync and async profile APIs support stream=True.
    • Streaming reads Oracle CLOB / AsyncCLOB in chunks.
    • Added chunk_size, measured in characters.
    • Chat sessions support streaming by default through the CLI.
  • Added network ACL Python APIs in select_ai.privilege.

    • grant_network_access
    • async_grant_network_access
    • revoke_network_access
    • async_revoke_network_access
    • Wraps DBMS_NETWORK_ACL_ADMIN.APPEND_HOST_ACE and revoke behavior.
  • Added Select AI Agent team import/export APIs.

    • Team.export_team
    • Team.import_team
    • AsyncTeam.export_team
    • AsyncTeam.import_team
    • Supports exporting/importing Select AI Agent teams as specifications.
  • Added optional CLI support.

    • Optional install: python3 -m pip install 'select_ai[cli]'

    • Console command: select-ai

    • Subcommands:

      • select-ai chat
      • select-ai sql show|run|explain|narrate
      • select-ai profile list|summarize|translate
    • CLI uses click as an optional dependency.

    • README now shows base install, CLI install, and the CLI GIF.

  • Added web framework integration documentation.

    • FastAPI examples.
    • Connection pool guidance for WSGI/ASGI-style apps.
    • Added as the last section in the docs index.

Bug Fixes

  • Removed unsupported HTTP tool creation API and tests.

    • DBMS_CLOUD_AI_AGENT does not support HTTP tool creation, so create_http_tool references were removed.
  • Fixed ProfileAttributes.set_attribute() crash when provider was not initialized.

    • Setting attributes like model no longer crashes with NoneType provider access.
  • Fixed SyntheticDataAttributes params coercion behavior.

    • JSON-string params handling is now consistent with other input coercion paths.

Tests

  • Added real DB-backed tests for:
    • Streaming sync/async generate paths.
    • Network access grant/revoke APIs.
    • Agent tools, tasks, agents, teams, end-to-end agent flows.
    • Team import/export.
    • Feedback APIs.
    • Synthetic data params behavior.

Samples

  • Added streaming samples:

    • samples/profile_chat_stream.py
    • samples/async/profile_chat_stream.py
  • Added network access samples:

    • samples/grant_network_access.py
    • samples/async/grant_network_access.py
    • samples/revoke_network_access.py
    • samples/async/revoke_network_access.py
  • Added agent team import/export samples:

    • samples/agent/team_export_import.py
    • samples/agent/async/team_export_import.py

Docs

  • Added/updated docs for:

    • Streaming.
    • Grant/revoke privilege and grant/revoke network access grouping.
    • Agent team import/export with more argument detail.
    • FastAPI/web framework integration.
    • CLI in a new cli.rst.
    • README CLI installation and GIF.
  • Added CLI demo assets:

    • doc/source/image/select_ai_cli_demo.gif
    • doc/source/image/select_ai_cli_demo.png

aosingh added 3 commits June 3, 2026 13:32
 - Support for streaming LLM responses as Oracle CLOB
 - Bug 39180638 - [PYSAI][ER]: ADD PYTHON API SUPPORT FOR EXTERNAL HOST NETWORK ACCESS CONFIGURATION
 - Bug 39186946 - PROFILEATTRIBUTES.SET_ATTRIBUTE() CRASHES WHEN PROVIDER IS NOT INITIALIZED
 - Bug 39186954 - SYNTHETICDATAATTRIBUTES REJECTS STRING-FORM PARAMS INSTEAD OF HANDLING IT CONSISTENTLY
 - Bug 39201691 - [PYSAI]: CREATE_HTTP_TOOL FAILS WITH ORA-20052: INVALID VALUE FOR TOOL ATTRIBUTE TOOL_TYPE
@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 4, 2026
@aosingh aosingh requested review from ramapemmaraju and spanchum June 4, 2026 01:33
@aosingh aosingh added OCA Verified All contributors have signed the Oracle Contributor Agreement. and removed OCA Verified All contributors have signed the Oracle Contributor Agreement. labels Jun 4, 2026
Copy link
Copy Markdown

@ramapemmaraju ramapemmaraju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me.

@aosingh aosingh merged commit 8129306 into main Jun 5, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants