Demo of chat with pdfs app using LangChain and OpenAI models
- Create a file
config.py
(seeconfig_template.py
for an example) and add your OpenAI API key - Install dependencies:
pip install -r requirements.txt
- Run the app:
python chat_with_pdfs.py
- Open the
LangChain Chat Example.ipynb
notebook - Add your OpenAI API key where it says
"YOUR_API_KEY"
- Run the notebook