Skip to content
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

[Issue] embeddings model needs to be provided when using Azure API #296

Closed
axen2u opened this issue Dec 18, 2023 · 9 comments
Closed

[Issue] embeddings model needs to be provided when using Azure API #296

axen2u opened this issue Dec 18, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@axen2u
Copy link

axen2u commented Dec 18, 2023

I'm getting following message when deployed zep image using docker-compose and failed the zep container creation.

embeddings model needs to be provided when using Azure API

Do we have to use an embedding model when using Azure? Can I just use Azure Open AI for the summarizing? I have tried using Azure Embedding Model as well. When using the embedding model my bot responses get very slow.

@danielchalef
Copy link
Member

Zep embeds all chat conversations so that they may be recalled via semantic search. Are you using Azure's OpenAI embedding service or Zep's local embedding service? More about Zep's embedding configuration here: https://docs.getzep.com/deployment/embeddings/

@axen2u
Copy link
Author

axen2u commented Dec 18, 2023

I want to use long-term memory with summarization. Because my message window is about 5 messages since this a real-time rag I want to summarize the last few messages to handle the flow. So I don't need to use embeddings. However I want to use Azure Open AI models for summarization. It won't let me disable the embedding when using Azure Open AI endpoint and LLM, the following message is coming :
embeddings model needs to be provided when using Azure API

@danielchalef danielchalef added the bug Something isn't working label Dec 27, 2023
@TheAdamGalloway
Copy link

@axen2u Were you able to resolve this? I'm facing a similar issue.

@axen2u
Copy link
Author

axen2u commented Jun 19, 2024

@TheAdamGalloway I have used Azure OpenAI embedding models. You can provide deployment name there.

@TheAdamGalloway
Copy link

@axen2u Are you using environment variables? Would you mind sharing which ones I need to set? I can't seem to get past this error

@axen2u
Copy link
Author

axen2u commented Jun 19, 2024

@TheAdamGalloway You can do that in config.yaml
image

@TheAdamGalloway
Copy link

@axen2u I don't think I can modify config.yaml since I'm hosting a container of the zep image in Azure. I've tried setting the corresponding environment variables but it doesn't seem to be working.

@axen2u
Copy link
Author

axen2u commented Jun 19, 2024

@TheAdamGalloway In that case I think you should provide .env when starting the container or you should compose image from the ground and use it. I haven't much experience with containers But I'm happy to help. I will let you know If I find .env configuration for that.

@danielchalef
Copy link
Member

We've merged a fix for this in #346 and released in v0.26.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants