Oven logo

Oven

Published

An integration package connecting Ollama and LangChain

pip install langchain-ollama

Package Downloads

Weekly DownloadsMonthly Downloads

Authors

Requires Python

<4.0.0,>=3.10.0

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>