API-driven Multi-Step Query Chatbot
A LangChain + ChromaDB chatbot capable of multi-step queries over dynamic APIs
DevRev · Inter-IIT Tech Meet · Oct 2023 – Dec 2023
I led a team building a chatbot that handles multi-step user queries by orchestrating a set of APIs, with first-class support for adding, deleting, and updating those APIs at runtime.
Pipeline
- Multi-query retrieval & re-ranking over a ChromaDB index of API descriptions.
- Output generation using a dynamic, few-shot prompting strategy.
- Feedback loop that detects unanswerable queries and routes them appropriately.
Stack
LangChain · ChromaDB · HuggingFace · custom retriever-reranker stack.