danny-avila / rag_api

ID-based RAG FastAPI: Integration with Langchain and PostgreSQL/pgvector
https://librechat.ai/
143 stars 60 forks source link

PDF upload failure #35

Closed ykare closed 1 month ago

ykare commented 1 month ago

Details: When trying to upload a PDF file in LibreChat, the upload fails. The error-XXXX-XX-XX.log contains the following message:

{"detail":"Error during file processing: cryptography>=3.1 is required for AES algorithm"}

Cause and Resolution: By connecting to the fastapi container, installing pycryptodome 3.20.0, and restarting the service, I was able to successfully upload the PDF.

Environment: