How to configure RAG for Azure OpenAI? #3899
Replies: 4 comments 12 replies
-
All good. Figured out how to do it, thanks to the documentation in the rag project: https://github.com/danny-avila/rag_api Setting these params fixed it for us:
In love with LibreChat @danny-avila 💯 |
Beta Was this translation helpful? Give feedback.
-
@dareima @jmariquit-tvlk does it still work for you? With 0.7.8 when I want to upload a pdf to the current chat, I get the following error, even so all five env settings have been configured correctly: I'm running on an App Service and setting
|
Beta Was this translation helpful? Give feedback.
-
@rubenaster can you show all RAG specific variables you have in place in your .env? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
today we've noticed that RAG only worked since we've added an OpenAI API Key to our
.env
file.As our main endpoints are in Microsoft Azure OpenAI, we'd like to utilize our embeddings model there.
We gave the information for other providers provided in https://www.librechat.ai/docs/configuration/rag_api a go but weren't succesful.
Can someone describe which configurations we need to put in place to switch RAG to Azure OpenAI?
Any help would be much appreciated, thanks!
Beta Was this translation helpful? Give feedback.
All reactions