Dr Nic Williams e8aaea030e Update 'llama2' -> 'llama3' in most places (#4116) 1 年之前
..
README.md e8aaea030e Update 'llama2' -> 'llama3' in most places (#4116) 1 年之前
main.py e8aaea030e Update 'llama2' -> 'llama3' in most places (#4116) 1 年之前
requirements.txt e1afcb8af2 simple gen to simple 1 年之前

README.md

LangChain

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

Running the Example

  1. Ensure you have the llama3 model installed:

    ollama pull llama3
    
  2. Install the Python Requirements.

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

    python main.py