4 Generate Vector Embeddings
Oracle AI Vector Search offers Vector Utilities (SQL and PL/SQL tools) to automatically generate vector embeddings from your unstructured data, either within or outside Oracle Database.
Embeddings are vector representations that capture the semantic meaning of your data, rather than the actual words in a document or pixels in an image (as explained in Overview of Oracle AI Vector Search). A vector embedding model creates these embeddings by assigning numerical values to each element of your data (such as a word, sentence, or paragraph).
To generate embeddings within the database, you can import and use vector embedding models in ONNX format. To generate embeddings outside the database, you can access third-party vector embedding models (remotely or locally) by calling third-party REST APIs.
- About Vector Generation
Learn about Vector Utility SQL functions and Vector Utility PL/SQL packages that help you transform unstructured data into vector embeddings. - Import Pretrained Models in ONNX Format for Vector Generation Within the Database
You can download pretrained embedding machine learning models, convert them into ONNX format if they are not already in ONNX format, import the ONNX format models into Oracle Database, and generate vector embeddings from your data within the database. - Access Third-Party Models for Vector Generation Leveraging Third-Party REST APIs
You can access third-party vector embedding models to generate vector embeddings from your data, outside the database by calling third-party REST APIs. - Vector Generation Examples
Run these end-to-end examples to see how you can generate vector embeddings, both within and outside the database.