Skip to content

The Oracle LangChain integration provides official LangChain support for Oracle’s Generative AI and AI Platform services, enabling developers to build intelligent, secure, and scalable applications powered by Oracle’s cloud technologies.

License

Notifications You must be signed in to change notification settings

oracle/langchain-oracle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

🦜️🔗 LangChain 🤝 Oracle

Welcome to the official repository for LangChain integration with Oracle Cloud Infrastructure (OCI) and Oracle AI Vector Search. This project provides native LangChain components for interacting with Oracle's AI services—providing support for OCI Generative AI, OCI Data Science and Oracle AI Vector Search.

Features

  • LLMs: Includes LLM classes for OCI services like Generative AI and ModelDeployment Endpoints, allowing you to leverage their language models within LangChain.
  • Agents: Includes Runnables to support Oracle Generative AI Agents, allowing you to leverage Generative AI Agents within LangChain and LangGraph.
  • Vector Search: Offers native integration with Oracle AI Vector Search through a LangChain-compatible components. This enables pipelines that can:
    • Load the documents from various sources using OracleDocLoader
    • Summarize content within/outside the database using OracleSummary
    • Generate embeddings within/outside the database using OracleEmbeddings
    • Chunk according to different requirements using Advanced Oracle Capabilities from OracleTextSplitter
    • Store, index, and query vectors using OracleVS
  • More to come: This repository will continue to expand and offer additional components for various OCI and Oracle AI services as development progresses.

This project merges and replaces earlier OCI and Oracle AI Vector Search integrations from the langchain-community repository and unifies contributions from Oracle teams. All integrations in this package assume that you have the credentials setup to connect with oci and database services.


Installation

For OCI services:

python -m pip install -U langchain-oci

For Oracle AI Vector Search services:

python -m pip install -U langchain-oracledb

Quick Start

This repository includes three main integration categories. For detailed information, please refer to the respective libraries:

Contributing

This project welcomes contributions from the community. Before submitting a pull request, please review our contribution guide

Security

Please consult the security guide for our responsible security vulnerability disclosure process

License

Copyright (c) 2025 Oracle and/or its affiliates.

Released under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl/

About

The Oracle LangChain integration provides official LangChain support for Oracle’s Generative AI and AI Platform services, enabling developers to build intelligent, secure, and scalable applications powered by Oracle’s cloud technologies.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages