This chatbot allows users to upload documents(pdf only), and then it leverages OPEN AI ChatGPT and Langchain to answer questions based on the content of the uploaded documents. Users can engage in interactive Q&A sessions with the chatbot, making it a powerful tool for document exploration and retrieval.
Key Features
- Document upload capability.
- Interactive and user-friendly chat interface
- Potential for customization and extension.
- Clone the Git Hub Repo into your local workspace using the below code.
git clone https://github.com/ramachaitanya0/ask_pdf.git
- Create a Conda Environment.
conda create -n <env_name> python=3.11.4
- Activate the conda Environment
conda activate <env_name>
- Install all the required Packages using requirements.txt file.
pip install -r requirements.txt
- Add .env file in the Repo and add your OPEN AI Key in .env file.
OPENAI_API_KEY=<OPENAI_API_KEY>
Run the Stream lit app using below code.
streamlit run app.py