https://tarkptel.github.io/posts/chat-with-pdf/
Chat with PDF Using Streamlit, LangChain