PromptPal is a simple yet powerful chatbot implemented using LangChain. It leverages vector storage to provide efficient retrieval of documents, enhancing the chatbot's ability to deliver accurate and contextually relevant responses.
- app: For streamlit app.
- chat: Chatting functionality .
- utils: utility functions.
- Document Loader: Efficiently loads and processes documents.
- Vector Store: Stores documents in a vectorized format for fast retrieval.
- LangChain Chatbot: Utilizes LangChain to set up a chatbot with advanced retrieval capabilities.
- Python 3.x
- LangChain
- NumPy
- Scikit-learn
- Faiss (for vector storage)
- Streamlit
-
Clone the repository:
git clone https://github.com/skp-github/PromptPal.git cd PromptPal -
Create a virtual environment and activate it:
source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt
streamlit run app.py