mirror of
https://github.com/ollama/ollama.git
synced 2025-03-26 17:51:48 +01:00
LangChain
This example is a basic "hello world" of using LangChain with Ollama.
Running the Example
-
Ensure you have the
llama3.1
model installed:ollama pull llama3.1
-
Install the Python Requirements.
pip install -r requirements.txt
-
Run the example:
python main.py