Pythonpython-oracle

LangChain Vector Search Sample

LangChain-based Python vector search sample for Oracle AI Database.

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

This folder contains a LangChain-based vector-search sample for Oracle AI Database. It uses `langchain-oracledb` with `OpenAIEmbeddings` to persist sample texts into Oracle AI Database and then runs a similarity search with `OracleVS`.

What this sample demonstrates

Vector Search

Store embeddings and search records by semantic similarity.

Use when users search by meaning or AI answers need grounded records.

AI Agents

Runnable AI Agents behavior on Oracle AI Database.

Use when AI Agents needs to be tested against real database behavior.

Highlights

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