📰 NewsBot — Real-Time News Summarizer & Chatbot
A conversational AI agent that fetches, summarizes, and discusses the latest real-world news using LangChain, Groq LLM, and Tavily Search.
Features
- Real-time news search via Tavily API
- Topic summarization using Groq (Llama 3)
- Category-based news filtering (tech, sports, health, etc.)
- Multi-turn memory: remembers previous questions in the session
- Clean Gradio chatbot interface
Tools
| Tool | Description |
|---|
search_latest_news | Searches real-time web for any news query |
summarize_topic | Gives a concise 3-4 sentence summary |
search_news_by_category | Fetches top news by category |
Setup (Local)
- Clone the repo
pip install -r requirements.txt
- Set your API keys (Groq + Tavily)
python app.py