danny-avila/rag_api

PDF_EXTRACT_IMAGES=true breaks when using MongoDB

jegraham-amplify opened this issue · 0 comments

I currently have everything configured to use a MongoDB database for my vector database.

Everything works as expected if I do not set PDF_EXTRACT_IMAGES or if I set it to false. However, once I set it to true, any requests to the server that include a PDF will log a 400 error.

At the very least, the README documentation for this variable should call out that it does not work when using MongoDB.