|
1 سال پیش | |
---|---|---|
.. | ||
README.md | 5a85070c22 Update readmes, requirements, packagejsons, etc for all examples (#1452) | 1 سال پیش |
requirements.txt | c5c8b4b16a added python rag news summary | 1 سال پیش |
summ.py | c5c8b4b16a added python rag news summary | 1 سال پیش |
utils.py | c5c8b4b16a added python rag news summary | 1 سال پیش |
This example goes through a series of steps:
This example lets you pick from a few different topic areas, then summarize the most recent x articles for that topic. It then creates chunks of sentences from each article and then generates embeddings for each of those chunks.
Ensure you have the mistral-openorca
model installed:
ollama pull mistral-openorca
Install the Python Requirements.
pip install -r requirements.txt
Run the example:
python summ.py