-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] embeddings model needs to be provided when using Azure API #343
Comments
Hi there - I think there may be an issue with the Azure OpenAI implementation. You may want to try using LiteLLM as a proxy. Configure Zep to use the standard OpenAI integration and LiteLLM to use Azure OpenAI for LLM and embedding inference. |
@danielchalef Thanks for your reply. I took a look at the code at I can try LiteLLM but it looks like either a bug in the zep code or I have misconfigured somehow? FWIW, zep has served us well and the only problems we have really had have been around environment config - a bit of clarity in the docs would go a long way. Really appreciate your hard work! |
@TheAdamGalloway I've committed an Azure OpenAI config fix. Would you please try the latest |
Closing as dup of #296 |
@danielchalef I can confirm that the bug fix works. Thanks a lot for your help! |
Great to hear! |
When trying to use Azure OpenAI, I am getting the error: "embeddings model needs to be provided when using Azure API" in the console. I have tried setting:
ZEP_EXTRACTORS_DOCUMENTS_EMBEDDINGS_SERVICE= local
ZEP_EXTRACTORS_MESSAGES_EMBEDDINGS_SERVICE=local
ZEP_LLM_AZURE_OPENAI_EMBEDDING_DEPLOYMENT=text-embedding-ada-002
We have a deployment of ada, but I'm happy to use local embeddings, I just need it to work.
Can someone point me to the environment variable I need to set? I can't find anything in the documentation.
To Reproduce
Set ZEP_LLM_AZURE_OPENAI_ENDPOINT to an Azure OpenAI endpoint.
Expected behavior
Embeddings to work.
Logs
fatal msg="embeddings model needs to be provided when using Azure API"
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: