CHAT BOT FOR UNIVERSITY WEBSITE
Chatbot using Retrieval Augmented Generation with Astra DB and the OpenAI Chat Model.
Build your own RAG Chatbot
- It leverages DataStax RAGStack, which is a curated stack of the best open-source software for easing implementation of the RAG pattern in production-ready applications that use Astra Vector DB or Apache Cassandra as a vector store.
- Uses OpenAI's Large Language Models for Q&A style chatbots
- Uses Streamlit to easily deploy the awesome app to the internet for everyone to see!
- Combines with the Astra DB Vector Store for additional context related to the University
- Designed for the use of the undergraduate student to ask questions provided by a word document. It contains information about the university, its locations, contact informations, term dates, various courses offered for 2024-25 applicants.
- Orchestrated LangChain integration, enabling linkage between OpenAI's LLM (ChatGPT-3) and Astra DB, streamlining semantic search processes on a serverless framework.
Python environments
In case you want to run all of the above locally, it's useful to create a Virtual Environment. Use the below to set it up:
Then activate it as follows:
source myenv/bin/activate # on Linux/Mac
myenvScriptsactivate.bat # on Windows
Now you can start installing packages:
pip3 install -r requirements.txt
In order to check which packages have been installed:
Which you can save to requirements.txt if you want:
pip3 freeze > requirements.txt
Preview of the implemented chatbot on streamlit.
Please note that this has not been deployed yet but looks like below:-

