Summary of DBMS_VECTOR Subprograms
The DBMS_VECTOR
package simplifies common operations with Oracle AI Vector Search, such as extracting chunks or embeddings from user data, generating text for a given prompt, and reporting on index accuracy.
This table lists the DBMS_VECTOR
subprograms and briefly describes them.
Table 12-1 DBMS_VECTOR Package Subprograms
Subprogram | Description |
---|---|
ONNX Model Related Procedures: These procedures enable you to load an ONNX model into Oracle Database and drop the ONNX model. |
|
Loads an ONNX model into the database |
|
Drops the ONNX model |
|
Chainable Utility (UTL) Functions: These functions are a set of modular and flexible functions within vector utility PL/SQL packages. You can chain these together to automate end-to-end data transformation and similarity search operations. |
|
Splits data into smaller pieces or chunks |
|
Converts data to one or more vector embeddings |
|
Generates text for a prompt (input string) |
|
Credential Helper Procedures: These procedures enable you to securely manage authentication credentials in the database. You require these credentials to enable access to third-party service providers for making REST calls. |
|
Creates a credential name |
|
Drops an existing credential name |
|
Data Access Functions: These functions enable you to retrieve data, create index, and perform simple similarity search operations. |
|
CREATE_INDEX |
Creates a vector index |
Rebuilds a vector index |
|
Perform a similarity search query |
|
Accuracy Reporting Function: These functions enable you to determine the accuracy of existing search indexes and to capture accuracy values achieved by approximate searches performed by past workloads. |
|
Verifies the accuracy of a vector index |
|
INDEX_ACCURACY_REPORT | Captures accuracy values achieved by approximate searches |
Note:
DBMS_VECTOR
is a lightweight package that does not support text processing or summarization operations. Therefore, the UTL_TO_TEXT
and UTL_TO_SUMMARY
chainable utility functions and all the chunker helper procedures are available only in the advanced DBMS_VECTOR_CHAIN
package.
Parent topic: Vector Search PL/SQL Packages