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 Object Model
- 2. Base
ProfileAPI - 3.
ProfileAPIProfileProfile.add_negative_feedback()Profile.add_positive_feedback()Profile.chat()Profile.chat_session()Profile.create()Profile.delete()Profile.delete_feedback()Profile.delete_profile()Profile.explain_sql()Profile.fetch()Profile.generate()Profile.generate_synthetic_data()Profile.get_attributes()Profile.list()Profile.narrate()Profile.run_sql()Profile.set_attribute()Profile.set_attributes()Profile.show_prompt()Profile.show_sql()Profile.summarize()Profile.translate()
- 4. Create Profile
- 5. Narrate
- 6. Show SQL
- 7. Run SQL
- 8. Chat
- 9. Summarize
- 10. Translate
- 11. List profiles
- 12. Async Profile
Conversation¶
Vector Index¶
- 1.
VectorIndexObject Model - 2.
VectorIndexAttributes - 3.
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()
- 3.1. Create vector index
- 3.2. List vector index
- 3.3. Fetch vector index
- 3.4. Update vector index attributes
- 3.5. RAG using vector index
- 3.6. Delete vector index
- 4.
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()
- 4.1. Async create vector index
- 4.2. Async list vector index
- 4.3. Async fetch vector index
- 4.4. Async update vector index attributes
- 4.5. Async RAG using vector index