openai langchain streamlit python-dotenv PyPDF2 os json traceback