
NewsPulse replaces traditional static news feeds with a fluid, interactive conversational AI radio host. Built from scratch with a glassmorphism Vanilla JS frontend and a lightning-fast FastAPI Python backend, it completely reimagines how we consume daily information. Key Architectural Features: 1. The Intelligent Router: Voice commands are processed through an advanced GPT-OSS-120B (Fireworks AI) router. It mathematically deduces if your voice input is a brand new SEARCH or a CONVERSATIONAL follow-up to a topic on screen. 2. Stateful Dictionary Memory: To achieve zero-latency deep dives, we implemented a custom session-based memory cache. Initial real-time Google News scrapes are stored in RAM. When a user interrupts the host to ask "Tell me more about the first topic", the backend instantly skips the web scrape, queries the RAM cache, and generates a highly detailed response. 3. Hybrid Rule-Based Fallback: To guarantee 100% uptime against LLM hallucinations, the Router features a hardcoded algorithmic fallback (similar to Siri/Alexa architecture) that intercepts ambiguous conversational triggers and forces the LLM to maintain context.
13 Jul 2026