ATlanta
Chatbot
Customized Chatbot | 2023
Client: PD4 Solutions, LLC
Skills Used: python, OpenAI API, LangChain, ChromaDB
BeautifulSoup, Gradio, HuggingFace
The Problem
Currently, the city of Atlanta uses a chatbot called ATL311 to provide citizens and visitors easy access to the City of Atlanta's answer FAQ by citizens and visitors to Atlanta. However, ATL311 is unable to carry human-like conversations or answer questions that it has not seen before. With the recent advances in NLP and chatbot technology, PD4 Solutions wanted to build a custom POC chatbot to show how ATL311 can be improved with the latest chatbot technology.
The Solution
In order to properly train the POC chatbot, we needed data from both the ATL311 website and the Atlanta.gov website. We used a BeautifulSoup, LangChain, and ChromaDB to create a script to extract relevant information from entirety of both websites and store that information in an database for the chatbot to query.
After the database was built, we then used the OpenAI API to query the database. We also created guardrails for the chatbot so that it only answered questions related to Atlanta. The videos below demonstrate the chatbot's capabilities which include answering FAQs, providing sources for answers, drawing from multiple sources for answers, and having full conversation about Atlanta-related topics.
Video 1: Chatbot Comparison
In this video, we compare the current ATL311 chatbot and our chatbot. The conversation is about starting a business. We also showcase the guardrails of our chatbot, meaning that the chatbot does not answer questions outside its knowledge base.
Video 2: ATL311 Services
In this video, we start a conversation about the services of ATL311. Our chatbot also gives instructions on how to report issues to ATL311.
Video 3: Diversity in Atlanta
In this video, we show a conversation about diversity initiatives in Atlanta, primarily HRC. The chatbot is able to carry a conversation about the HRC and cites where on the Atlanta.gov website it pulled the information from.
The Feedback
“The capabilities and sophistication of this chatbot were par for the course for Myles. He consistently delivers high-quality solutions and is able to explain them to a general audience."