Install AI Agent Skills  View Python SDK

Embedding Workflows

Choose integrated embeddings or bring your own vectors to create, load, and search vector data with the Oracle VecDB Python SDK.

Both workflows use vector tables, records, metadata, and similarity search. The difference is where embeddings are generated and how the search query is supplied.

In simple terms, integrated embeddings mean that you send text and Oracle AI Database creates the vectors. BYO (bring your own) means that your application or another service creates the vectors and sends them to the database.

Integrated embedding and BYO vector workflows embed source content, store embeddings and metadata in one vector table, and query for similar vectors. Integrated embeddings use an in-database model for content and query embeddings. BYO uses an external provider for both.

Integrated Embeddings

Use integrated embeddings when Oracle AI Database should generate vectors from source content:

Bring Your Own Vectors (BYO)

Use BYO when your application or an upstream pipeline generates embeddings outside Oracle AI Database:

Reranking is an optional second stage after vector search. See Embedding and Reranking Models for model roles and rerank for the Python SDK workflow.

Related samples

Next steps

Parent topic: Concepts