Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 985 Bytes

File metadata and controls

31 lines (23 loc) · 985 Bytes
name ai-vector-search
description Similarity search sample that stores embeddings in Oracle AI Database and queries them with vector search.
tags
AI
Database
Java
Vector Search
blog_post https://andersswanson.dev/2025/06/23/whats-a-vector-database/

Similarity Search using Oracle AI Database 26ai

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

Running the sample

Prerequisites:

  • Maven
  • Java 21+
  • A docker environment to support TestContainers

Run the sample from the project root directory:

mvn integration-test