README.md 351 Bytes
Newer Older
mashun1's avatar
v1  
mashun1 committed
1
2
3
4
5
6
# LangChain

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

## Running the Example

xuxzh1's avatar
init  
xuxzh1 committed
7
1. Ensure you have the `llama3.1` model installed:
mashun1's avatar
v1  
mashun1 committed
8
9

   ```bash
xuxzh1's avatar
init  
xuxzh1 committed
10
   ollama pull llama3.1
mashun1's avatar
v1  
mashun1 committed
11
12
13
14
15
16
17
18
19
20
21
22
23
   ```

2. Install the Python Requirements.

   ```bash
   pip install -r requirements.txt
   ```

3. Run the example:

   ```bash
   python main.py
   ```