ollama/examples/langchain-python-rag-websummary/README.md

24 lines
441 B
Markdown
Raw Normal View History

2023-08-09 18:49:22 +00:00
# LangChain Web Summarization
This example summarizes the website, [https://ollama.ai/blog/run-llama2-uncensored-locally](https://ollama.ai/blog/run-llama2-uncensored-locally)
2023-08-09 18:49:22 +00:00
## Running the Example
2023-08-09 18:49:22 +00:00
1. Ensure you have the `llama2` model installed:
2023-08-09 18:49:22 +00:00
```bash
ollama pull llama2
```
2023-08-09 18:49:22 +00:00
2. Install the Python Requirements.
```bash
pip install -r requirements.txt
```
3. Run the example:
```bash
python main.py
```