https://github.com/guidok91/news-analyzer
Python Streamlit app to analyze news about a given topic using LLMs.
https://github.com/guidok91/news-analyzer
ddgs llm ollama python streamlit
Last synced: 4 months ago
JSON representation
Python Streamlit app to analyze news about a given topic using LLMs.
- Host: GitHub
- URL: https://github.com/guidok91/news-analyzer
- Owner: guidok91
- Created: 2022-01-28T15:42:03.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-09-12T08:34:41.000Z (10 months ago)
- Last Synced: 2025-09-12T10:27:54.497Z (10 months ago)
- Topics: ddgs, llm, ollama, python, streamlit
- Language: Python
- Homepage:
- Size: 140 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# News analyzer
Python [Streamlit](https://streamlit.io/) app to analyze news about a given topic using LLMs.
The app:
- Performs a web search for recent news articles of a given topic using [D.D.G.S.](https://github.com/deedy5/ddgs) library.
- Summarizes them and provides the overall sentiment using an LLM.
## Running instructions
### Setup Ollama locally
First, install and run [Ollama](https://ollama.com/) in your machine and then execute the following command to pull the LLM we will use for the app:
```bash
ollama pull llama3.1:8b
```
Note: feel free to use other model of your choice.
### Run the app
Create the local env for the app:
```bash
make setup
```
Run the app:
```bash
make run
```