select_ai documentation¶
select_ai is a Python module which enables integrating DBMS_CLOUD_AI
PL/SQL package into Python workflows. It bridges the gap between PL/SQL package’s AI capabilities
and Python’s rich ecosystem.
Getting Started¶
Actions¶
Privileges¶
Provider¶
Credential¶
Profile Attributes¶
Profile¶
- 1. Profile lifecycle
- 2. Profile actions
- 2.1. Profile Object Model
- 2.2. Base
ProfileAPI - 2.3.
ProfileAPI - 2.4. Create Profile
- 2.5. Reuse Profile
- 2.6. Update Profile
- 2.7. Delete Profile
- 2.8. Narrate
- 2.9. Show SQL
- 2.10. Explain SQL
- 2.11. Show Prompt
- 2.12. Run SQL
- 2.13. Chat
- 2.14. Streaming chat
- 2.15. Summarize
- 2.16. Translate
- 2.17. List profiles
Async Profile¶
- 1. Async profile lifecycle
- 2. Async profile actions
- 2.1.
AsyncProfileAPI - 2.2. Async Profile creation
- 2.3. Reuse Async Profile
- 2.4. Update Async Profile
- 2.5. Delete Async Profile
- 2.6. Async explain SQL
- 2.7. Async run SQL
- 2.8. Async show SQL
- 2.9. Async show prompt
- 2.10. Async concurrent SQL
- 2.11. Async chat
- 2.12. Async streaming chat
- 2.13. Summarize
- 2.14. Translate
- 2.15. Async pipeline
- 2.16. List profiles asynchronously
- 2.1.
Conversation¶
Vector Index¶
- 1. Vector Index
- 2.
VectorIndexObject Model - 3.
VectorIndexAttributes - 4.
VectorIndexAPIVectorIndexVectorIndex.create()VectorIndex.delete()VectorIndex.delete_index()VectorIndex.disable()VectorIndex.enable()VectorIndex.fetch()VectorIndex.get_attributes()VectorIndex.get_next_refresh_timestamp()VectorIndex.get_profile()VectorIndex.list()VectorIndex.set_attribute()VectorIndex.set_attributes()
- 4.1. Create vector index
- 4.2. List vector index
- 4.3. Fetch vector index
- 4.4. Update vector index attributes
- 4.5. RAG using vector index
- 4.6. Delete vector index
- 5.
AsyncVectorIndexAPIAsyncVectorIndexAsyncVectorIndex.create()AsyncVectorIndex.delete()AsyncVectorIndex.delete_index()AsyncVectorIndex.disable()AsyncVectorIndex.enable()AsyncVectorIndex.fetch()AsyncVectorIndex.get_attributes()AsyncVectorIndex.get_next_refresh_timestamp()AsyncVectorIndex.get_profile()AsyncVectorIndex.list()AsyncVectorIndex.set_attribute()AsyncVectorIndex.set_attributes()
- 5.1. Async create vector index
- 5.2. Async list vector index
- 5.3. Async fetch vector index
- 5.4. Async update vector index attributes
- 5.5. Async RAG using vector index
Synthetic Data¶
Summary¶
AI Agent¶
Async AI Agent¶
- 1.
AsyncToolAsyncToolAsyncTool.create()AsyncTool.create_built_in_tool()AsyncTool.create_email_notification_tool()AsyncTool.create_pl_sql_tool()AsyncTool.create_rag_tool()AsyncTool.create_slack_notification_tool()AsyncTool.create_sql_tool()AsyncTool.create_websearch_tool()AsyncTool.delete()AsyncTool.delete_tool()AsyncTool.disable()AsyncTool.enable()AsyncTool.fetch()AsyncTool.list()AsyncTool.set_attribute()AsyncTool.set_attributes()
- 1.1. Create Tool
- 1.2. List Tools
- 2.
AsyncTask - 3.
AsyncAgent - 4. AsyncTeam
- 5. Async AI agent examples