AAIDC Project 1
Project Overview
This project was developed as part of the Ready Tensor course.
The primary objective was to develop a straightforward RAG (Retrieval-Augmented Generation) chatbot that retrieves answers from knowledge documents and generates human-like responses.
Technologies Used
- Python
- LangChain
- OpenAI API
- FAISS Vector Database
- VS Code (development environment)
- Git & GitHub (version control and collaboration)
How I Built the Project
-
Environment Setup
- Installed Python and created a virtual environment.
- Installed required libraries such as
langchain
, openai
, and faiss
.
-
Code Development
- Loaded text documents into the program.
- Split documents into chunks using
CharacterTextSplitter
.
- Generated embeddings with OpenAI.
- Stored embeddings in a FAISS vector database.
- Built a
RetrievalQA
chain to enable question answering.
- Tested the chatbot using the command line interface.
-
Uploading to GitHub
- Created a new repository on GitHub.
- Initialized Git in the local project folder and connected it to the remote repo.
- Added and committed all project files.
- Pushed the project to GitHub using
git push
.
How to Run the Project
- Clone the repository:
https://github.com/Marium369/AAIDC_Project-1--RAG-based-Chatbot.git