Chatbot on PDF Data using Langchain and OpenAI API
Steps to run this code.
- git clone this repository and create a .env file with OPEN_API_KEY as a variable.
- Install all the dependencies from requirements.txt file
- Create a free account on OpenAI and Go to your Profile -> View API Keys. Copy and paste the key in .env
- Run streamlit run api.py on terminal.
- Upload a PDF on the UI and ask questions related to the PDF