|
1 年之前 | |
---|---|---|
.. | ||
README.md | 5a85070c22 Update readmes, requirements, packagejsons, etc for all examples (#1452) | 1 年之前 |
main.py | 5a85070c22 Update readmes, requirements, packagejsons, etc for all examples (#1452) | 1 年之前 |
requirements.txt | e1afcb8af2 simple gen to simple | 1 年之前 |
This example is a basic "hello world" of using LangChain with Ollama.
Ensure you have the llama2
model installed:
ollama pull llama2
Install the Python Requirements.
pip install -r requirements.txt
Run the example:
python main.py