linjungz / chat-with-your-doc

Chat with your docs in PDF/PPTX/DOCX format, using LangChain and GPT4/ChatGPT from both Azure OpenAI Service and OpenAI
140 stars 48 forks source link

Bugfix: Check document metadata before access #16

Closed linjungz closed 1 year ago

linjungz commented 1 year ago

For some PDF documents, PyPDF seems not able to extract the page number. So need to check the metadata of the source. Close #15