LangChain Python API Reference — 🦜🔗 LangChain documentation

Welcome to the LangChain v0.3 Python API reference. This is a reference for all langchain-x packages.

Danger

These pages refer to the the v0.3 versions of LangChain packages and integrations. To visit the documentation for the latest versions of LangChain, visit https://docs.langchain.com and https://reference.langchain.com/python/ (for references.)

For the legacy API reference (<v0.3) hosted on ReadTheDocs see https://api.python.langchain.com/.

Base packages#

Core

langchain-core: 0.3.79

core/index.html

Langchain

langchain: 0.3.27

langchain/index.html

Text Splitters

langchain-text-splitters: 0.3.11

text_splitters/index.html

Community

langchain-community: 0.3.31

community/index.html

Standard Tests

langchain-tests: 0.3.22

standard_tests/index.html

Integrations#

OpenAI

langchain-openai 0.3.35

openai/index.html

Anthropic

langchain-anthropic 0.3.22

anthropic/index.html

Google VertexAI

langchain-google-vertexai 2.1.2

google_vertexai/index.html

AWS

langchain-aws 0.2.35

aws/index.html

Huggingface

langchain-huggingface 0.3.1

huggingface/index.html

MistralAI

langchain-mistralai 0.2.12

mistralai/index.html

See the full list of integrations in the Section Navigation.