Building an Intelligent QA/Chatbot for Transportation with LangChain and Open Source LLMs

dc.contributor.authorDo, Ethanen
dc.contributor.authorSunkarapalli, Aneeshen
dc.contributor.authorPatil, Aarushen
dc.contributor.authorAkalwadi, Neilen
dc.contributor.authorGhaleb, Ramien
dc.date.accessioned2025-06-04T15:17:21Zen
dc.date.available2025-06-04T15:17:21Zen
dc.date.issued2025-05-02en
dc.descriptionWe hope to provide a platform that can offer context-aware assistance geared towards the user’s questions. Through seamless follow-up questions and stored conversation contexts, we believe that traffic engineers will have a tool that effectively helps them based on their situation. The ultimate goal is to improve the workflow of traffic engineers by simultaneously improving their productivity when dealing with simulation tools.en
dc.description.abstractThis project focuses on building an intelligent question-answering (QA) chatbot to assist transportation engineers who frequently use complex traffic simulation software. The chatbot helps users extract information from simulation manuals by allowing them to ask natural language questions and receive context-aware answers. It integrates LangChain for pipeline management, ChromaDB for vector-based document retrieval, and open-source Large Language Models (LLMs) for generating responses. Using a Retrieval-Augmented Generation (RAG) approach, the system improves answer accuracy by pulling relevant content from domain-specific manuals. The chatbot is deployed as a web application with features such as persistent conversation histories, organized collections of interactions, and secure user authentication. This report outlines the team’s development process, including document preprocessing and chunking, integration of open-source tools, and the milestones reached. It also discusses challenges such as maintaining conversation context and improving the user interface.en
dc.identifier.urihttps://hdl.handle.net/10919/135045en
dc.language.isoen_USen
dc.publisherVirginia Techen
dc.subjectLLMen
dc.subjectLangChainen
dc.subjectRetrieval Augmented Generation (RAG)en
dc.subjectChromaDBen
dc.subjectVector Storeen
dc.subjectEmbeddingsen
dc.subjectPrompt Engineeringen
dc.subjectMemory Moduleen
dc.subjectNatural Language Processing (NLP)en
dc.subjectSemantic Searchen
dc.subjectTraffic Simulationen
dc.subjectOpen Source LLMsen
dc.subjectGoogle Colaben
dc.subjectHuggingFaceen
dc.subjectLlamaCppen
dc.subjectReacten
dc.subjectFlasken
dc.subjectChatbot Developmenten
dc.subjectUser Authenticationen
dc.subjectConversation Historyen
dc.subjectWeb Appen
dc.subjectText Classificationen
dc.subjectMachine Learningen
dc.subjectBackend Developmenten
dc.subjectFrontend Developmenten
dc.subjectPythonen
dc.subjectSQLen
dc.titleBuilding an Intelligent QA/Chatbot for Transportation with LangChain and Open Source LLMsen
dc.typeReporten
dc.typePresentationen
dc.typeSoftwareen

Files

Original bundle
Now showing 1 - 4 of 4
Loading...
Thumbnail Image
Name:
CS4624FinalReport.pdf
Size:
1.47 MB
Format:
Adobe Portable Document Format
Description:
Final Report for Building an Intelligent QA/Chatbot for Transportation with LangChain and Open Source LLMs in pdf format.
Name:
CS4624FinalPresentation.pptx
Size:
4.43 MB
Format:
Microsoft Powerpoint XML
Description:
Final Presentation for Building an Intelligent QA/Chatbot for Transportation with LangChain and Open Source LLMs in pptx format.
Loading...
Thumbnail Image
Name:
CS4624FinalPresentation.pdf
Size:
1.43 MB
Format:
Adobe Portable Document Format
Description:
Final Presentation for Building an Intelligent QA/Chatbot for Transportation with LangChain and Open Source LLMs in pdf format.
Name:
CS4624SourceCode.zip
Size:
740.53 MB
Format:
Description:
Source Code for Building an Intelligent QA/Chatbot for Transportation with LangChain and Open Source LLMs in a zip file.
License bundle
Now showing 1 - 1 of 1
Name:
license.txt
Size:
1.5 KB
Format:
Item-specific license agreed upon to submission
Description: