An integration package connecting Ollama and LangChain
Project Links
Meta
Requires Python: <4.0.0,>=3.10.0
Classifiers
langchain-ollama
Looking for the JS/TS version? Check out LangChain.js.
Quick Install
pip install langchain-ollama
๐ค What is this?
This package contains the LangChain integration with Ollama
๐ Documentation
View the documentation for more details.
Development
Running Tests
To run integration tests (make integration_tests), you will need the following models installed in your Ollama server:
llama3.1deepseek-r1:1.5bgpt-oss:20b
Install these models by running:
ollama pull <name-of-model>
1.0.0
Oct 17, 2025
1.0.0a1
Oct 02, 2025
0.3.10
Oct 02, 2025
0.3.9
Oct 02, 2025
0.3.8
Sep 11, 2025
0.3.7
Aug 22, 2025
0.3.6
Jul 22, 2025
0.3.5
Jul 16, 2025
0.3.4
Jul 08, 2025
0.3.3
May 15, 2025
0.3.2
Apr 16, 2025
0.3.1
Apr 07, 2025
0.3.0
Mar 21, 2025
0.2.3
Jan 29, 2025
0.2.2
Dec 18, 2024
0.2.2rc1
Nov 26, 2024
0.2.1
Dec 02, 2024
0.2.0
Sep 13, 2024
0.2.0.dev1
Sep 10, 2024
0.1.3
Aug 31, 2024
0.1.2
Aug 28, 2024
0.1.1
Aug 01, 2024
0.1.0
Jul 22, 2024
0.1.0rc0
Jul 18, 2024