Files
langchain/libs/partners/ollama
2025-10-16 22:54:16 -04:00
..
2024-07-20 00:43:29 +00:00
2024-07-20 00:43:29 +00:00
2025-08-22 16:40:03 -04:00
2025-10-08 21:17:53 -04:00
2025-10-02 18:46:26 -04:00

langchain-ollama

PyPI - Version PyPI - License PyPI - Downloads Twitter

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.1
  • deepseek-r1:1.5b
  • gpt-oss:20b

Install these models by running:

ollama pull <name-of-model>