Built an AI backend that thinks before it responds. Not just a wrapper around an LLM — it actually classifies your intent first, then decides what to do. Send it "2 + 2" → math engine handles it Send it "explain recursion" → explanation pipeline kicks in Send it "how's your day" → conversational flow takes over All routing is handled by a LangGraph state machine. No if-else spaghetti. Stack: → FastAPI for the API layer → LangGraph for intent routing → Groq (LLaMA 3.3-70b) for LLM inference → PostgreSQL for storing chat history per user Hardest part? Getting the intent classifier to not hallucinate random words and break the router . Next: JWT auth + persistent memory across sessions. GitHub: https://lnkd.in/dFq_nkVR #FastAPI #LangGraph #Python #BackendDevelopment #AI #OpenToWork

To view or add a comment, sign in

Explore content categories