Problems with loading text files #6806
mazierovictor
started this conversation in
General
Replies: 2 comments 5 replies
-
uploading files as text concerns the OCR feature, not RAG |
Beta Was this translation helpful? Give feedback.
5 replies
This comment was marked as spam.
This comment was marked as spam.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am facing a problem when loading files as text in the agents. It reports an error and when analyzing the docker log I realize that the error is in Mistral, as below.
2025-04-09 17:08:05 �[31merror�[39m: �[31m[getUserPluginAuthValue] No plugin auth OCR_BASEURL found for user 67df42a50dbd0630703ac8dc�[39m 2025-04-09 17:08:05 �[31merror�[39m: �[31m[getUserPluginAuthValue] No plugin auth OCR_API_KEY found for user 67df42a50dbd0630703ac8dc�[39m 2025-04-09 17:08:05 �[31merror�[39m: �[31mError uploading document to Mistral OCR API An error occurred while setting up the request: No plugin auth OCR_API_KEY found for user 67df42a50dbd0630703ac8dc�[39m 2025-04-09 17:08:05 �[31merror�[39m: �[31m[/files] Error processing file: Error uploading document to Mistral OCR API An error occurred while setting up the request: No plugin auth OCR_API_KEY found for user 67df42a50dbd0630703ac8dc�[39m
It turns out that I don't use Mistral AI, I only use OpenAI, including for RAG, as per the configuration below, .env:
#==================================================#
RAG
#==================================================#
More info: https://www.librechat.ai/docs/configuration/rag_api
RAG_API_URL=http://host.docker.internal:8000
RAG_OPENAI_BASEURL=
RAG_OPENAI_API_KEY=my_apy_key
EMBEDDINGS_PROVIDER=openai
EMBEDDINGS_MODEL=text-embedding-3-small
RAG_USE_FULL_CONTEXT=true
PDF_EXTRACT_IMAGES=true
Beta Was this translation helpful? Give feedback.
All reactions