Python python-oracle

Native Python Vector Search Sample

Native Python vector search sample for Oracle AI Database using python-oracledb.

#AI#python#Vector Search
What this sample helps you learn

This folder contains a native Python vector-search sample for Oracle AI Database using `python-oracledb` and the OpenAI embeddings API. The program creates a `sample_vectors` table, builds a vector index, inserts embeddings, and runs a similarity search query with `vector_distance`.

Highlights

  • Python 3.13+
  • Poetry
  • Docker compatible environment
  • OPENAI_API_KEY set in your environment, or available for interactive prompt entry