%%{init: {'theme':'dark','themeVariables':{'primaryColor':'#C74634','primaryTextColor':'#F8FAFC','lineColor':'#475569','secondaryColor':'#0f1423','tertiaryColor':'#0a0d14','background':'#0a0d14','mainBkg':'#0f1423','nodeTextColor':'#F8FAFC'}}}%%
graph TB
LCO["langchain-oracledb"]
LCO --> OVS["OracleVS
Vector Store"]
LCO --> OEM["OracleEmbeddings
In-DB Embeddings"]
LCO --> OTS["OracleTextSplitter
Server-side Chunking"]
OVS --> SIM["Similarity Search"]
OVS --> META["Metadata Filtering"]
OEM --> MODEL["ALL_MINILM_L12_V2"]
OTS --> NORM["Text Normalization"]
style LCO fill:#C74634,stroke:#C74634,color:#fff
style OVS fill:#0f1423,stroke:#D4A853
style OEM fill:#0f1423,stroke:#D4A853
style OTS fill:#0f1423,stroke:#D4A853
Core Integration
langchain-oracledb
Three LangChain components bringing Oracle AI Database's native vector
operations into the RAG pipeline—embedding, splitting, and similarity
search all execute server-side.
# In-database embedding — no external API calls
embeddings = OracleEmbeddings(
conn=connection,
params={"provider": "database",
"model": "ALL_MINILM_L12_V2"}
)
# Server-side text normalization & chunking
splitter = OracleTextSplitter(
conn=connection,
params={"normalize": "all"}
)