mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-06 19:25:21 +00: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