Simon Schampijer cfb1ddd6fc examples: update langchain-python-simple (#3591) 5 months ago
..
README.md 55ea963c9e update default model to llama3.2 (#6959) 7 months ago
main.py cfb1ddd6fc examples: update langchain-python-simple (#3591) 5 months ago
requirements.txt e1afcb8af2 simple gen to simple 1 year ago

README.md

LangChain

This example is a basic "hello world" of using LangChain with Ollama.

Running the Example

  1. Ensure you have the llama3.2 model installed:

    ollama pull llama3.2
    
  2. Install the Python Requirements.

    pip install -r requirements.txt
    
  3. Run the example:

    python main.py