Pythonpython-oracle

LangChain Retrieval

Compose LangChain Oracle components with all-MiniLM retrieval on Oracle AI Database.

Vector SearchAI AgentsTestcontainers#AI#LangChain#Oracle Text#python#Testcontainers#Vector Search
What this sample helps you learn

This sample shows how several `langchain-oracledb` components work together in one small support-runbook workflow on Oracle AI Database.

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.

Testcontainers

Disposable Oracle AI Database Free containers for repeatable local and integration tests.

Use when tests need real database behavior without sharing a long-lived development instance.

Highlights

  • Python 3.13+
  • Poetry
  • Docker compatible environment
  • Network access on first run so sentence-transformers can download sentence-transformers/all-MiniLM-L6-v2, unless the model is already cached