This example is a basic "hello world" of using LangChain with Ollama.
Ensure you have the llama3.1 model installed:
llama3.1
ollama pull llama3.1
Install the Python Requirements.
pip install -r requirements.txt
Run the example:
python main.py