mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
39 lines
1.2 KiB
Markdown
39 lines
1.2 KiB
Markdown
# langchain-ollama
|
|
|
|
[](https://pypi.org/project/langchain-ollama/#history)
|
|
[](https://opensource.org/licenses/MIT)
|
|
[](https://pypistats.org/packages/langchain-ollama)
|
|
[](https://twitter.com/langchainai)
|
|
|
|
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs).
|
|
|
|
## Quick Install
|
|
|
|
```bash
|
|
pip install langchain-ollama
|
|
```
|
|
|
|
## 🤔 What is this?
|
|
|
|
This package contains the LangChain integration with Ollama
|
|
|
|
## 📖 Documentation
|
|
|
|
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/ollama) 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:
|
|
|
|
```bash
|
|
ollama pull <name-of-model>
|
|
```
|