A quick implementation of a GenAI News Summary agent using Llama-3 over Groq. Retrieves news and provides summaries under 6 seconds.
pip install -r server/requirements.txt
Create a .env
file and add the following contents.
GROQ_API_KEY="YOUR_GROQ_API_KEY"
GROQ_MODEL_NAME="llama3-8b-8192"
NEWS_API_KEY="YOUR_NEWS_API_KEY"
NEWS_BASE_URL="https://newsdata.io/api/1/"
BRAVE_API_KEY="YOUR_BRAVE_SEARCH_API_KEY"
python server/app.py
The server will run on port number /api/news
endpoint int the following manner.