AI Research Copilot
A FastAPI research assistant that routes every question through a LangGraph state machine, deciding
per-query whether to answer from the active PDF's FAISS index, fall back to a DuckDuckGo web search,
or blend both into a hybrid response. Each logged-in user gets an isolated document store and vector
cache under data/users/<username>, so multiple people can run separate knowledge
bases against the same backend without their context bleeding into each other. Runs on Groq for
inference, HuggingFace for embeddings, with a vanilla-JS frontend for upload, document switching,
and chat served directly off FastAPI.