5.20.3 Managing Vector Providers
Utilize Vector Providers to create vector embeddings for a text string.
Note:
Vector Providers requires Oracle Database 23ai or later.- About Vector Providers
Learn about Vector Providers. - Creating a Vector Provider
Create a Vector Provider on the Vector Providers page in Workspace Utilities. - Editing and Deleting a Vector Provider
Edit or delete Vector Provides on the Vector Providers Detail page in Workspace Utilities. - Viewing the Vector Providers History Report
View a report of recent modifications made to Vector Provider in this workspace.
Parent topic: Using Workspace Utilities
5.20.3.1 About Vector Providers
Learn about Vector Providers.
Starting with Oracle Database 23ai, you can use the VECTOR
data type to store vector embeddings alongside business data in the database. Using
embedding models, you can transform unstructured data into vector embeddings that can
then be used for semantic queries on business data.
About Vector Providers
A Vector provider enables you to convert text into an embedding. The functionality can be covered by an AI Service, but also locally by an ONNX model in the database or a user-defined PL/SQL function.
Vector Providers are stored at the workspace-level and available in all applications. When you export an application, used Vector Providers are added to the export file. When you import the application into another workspace, Oracle APEX checks whether the target workspace already contains Vector Providers with the same static ID. If a Vector Provider already exists, the application uses it. Otherwise the Vector Provider from the import file are created in the target workspace.
Retrieving and Using Embeddings
You can retrieve the embedding from a Vector Provider using the
GET_VECTOR_EMBEDDINGS
functions in APEX_AI
package. To learn more, see APEX_AI in Oracle APEX API
Reference.
Once your retrieve the embedding, you can create a Oracle Vector Search configuration based on your Vector Provider. To learn more, see Creating an Oracle Vector Search.
Parent topic: Managing Vector Providers
5.20.3.2 Creating a Vector Provider
Create a Vector Provider on the Vector Providers page in Workspace Utilities.
Note:
Vector Providers requires Oracle Database 23ai or later.To create a Vector Provider:
Parent topic: Managing Vector Providers
5.20.3.3 Editing and Deleting a Vector Provider
Edit or delete Vector Provides on the Vector Providers Detail page in Workspace Utilities.
To edit or delete a Vector Provider:
- Navigate to the Vector Provider page:
- To edit a Vector Provider:
- To delete a Vector Provider:
Parent topic: Managing Vector Providers
5.20.3.4 Viewing the Vector Providers History Report
View a report of recent modifications made to Vector Provider in this workspace.
To edit or delete a Vector Provider:
Parent topic: Managing Vector Providers