| name | ai-vector-search | ||||
|---|---|---|---|---|---|
| description | Similarity search sample that stores embeddings in Oracle AI Database and queries them with vector search. | ||||
| tags |
|
||||
| blog_post | https://andersswanson.dev/2025/06/23/whats-a-vector-database/ |
This code sample demonstrates how to use Oracle AI Database 26ai as a vector store for similarity search on text embeddings.
The OracleVectorSample implements a vector store abstraction that supports inserting embeddings into the database, and querying embeddings.
To learn more about Vector Database, read my article Intro to Vector Databases
Prerequisites:
- Maven
- Java 21+
- A docker environment to support TestContainers
Run the sample from the project root directory:
mvn integration-test