Cancelling an LLM Stream in React with AbortController
A user hits stop or switches chats and the old LLM stream keeps writing tokens and running up cost. How to cancel a streaming fetch in React the right way.
A user hits stop or switches chats and the old LLM stream keeps writing tokens and running up cost. How to cancel a streaming fetch in React the right way.
LLM tokens arrive one at a time, and re-parsing Markdown on every token flickers and drags. How to render streaming Markdown in React without the jank.
Stream LLM output token by token from a FastAPI backend with Server-Sent Events: working code, the EventSource client, proxy buffering, and failure modes.
AI-powered document creation platform pairing Claude with a live .docx / .pptx / .pdf / .xlsx preview. Chat on the left, documents render live on the right, each user gets their own isolated E2B sandbox.
Developing, Operating and extending on WMCore + Unified, so CMS Monte Carlo and reconstruction workloads stay healthy across the WLCG sites.
Partnering with MIT to build an LLM-powered RAG copilot for CMS computing operations.
Semester Project - Information Retrieval and Artificial Intelligence - CS317 & CS401 - FAST NUCES (Karachi)
Vector Space Model for Information Retrieval- Assignment 2 - CS317 - FAST NUCES (Karachi).
Inverted Index Based Boolean Information Retrieval Model - Assignment 1 - CS317 - FAST NUCES (Karachi).
NUDESK is built to provide students a platform to seek help from seniors. built using React, Python Django, PostgreSQL.
QRSMS - QR based Student Management System. built using React, Python Django, PostgreSQL.