Replies: 2 comments
-
Same question |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is what I did to get it working first during the Dockerfile build for RAG i changed to this;
I also was strict setting these .env variables. See my example Hope it helps someone :) |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hello LibreChat Community,
I'm experiencing an issue with the RAG API setup according to the documentation found here: RAG API Default Configuration. The documentation did not specify related configuration about the reverse proxy settings for RAG API
Problem Description
When I attempt to upload a file, I receive an "Error processing file" message. Upon inspecting the Docker error logs, it appears that the file text embeddings request is being sent directly to OpenAI's API, not through the configured reverse proxy. Notice that
HTTP Request: POST https://api.openai.com/v1/embeddings
.The error log indicates a 401 Unauthorized error, suggesting an issue with the API key or its routing.
Here are the relevant log entries:
Suspected Issue
The requests are not being routed through the
OPENAI_REVERSE_PROXY
. Instead, they are being directed tohttps://api.openai.com/v1
.Current Configuration
Here is an excerpt of the relevant
.env
configuration:Questions
OPENAI_REVERSE_PROXY
instead of the defaultapi.openai.com
?I would greatly appreciate any advice or insights you can provide to help resolve this issue.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions