Closed yb-sid closed 3 months ago
@cyyeh , I'm guessing you haven't used Azure Openai Service. My Company has multiple instances of Azure Openai and each instance is shared by multiple teams.
Under each instance one model of chat is deployed and one model for embedding is deployed. Having Different API_BASE and API_TOKEN allows for better tracking of costs and usage. It also helps in tracing issues in applications as sometimes azure has outages in different regions for different model type.
I had to change this to 1536 for my changes to work as I do not have access to text-embedding-3-large
model.
Also I had to change the make commands in demo folder's makefile as per our discussion in discord
I had to change this to 1536 for my changes to work as I do not have access to
text-embedding-3-large
model.Also I had to change the make commands in demo folder's makefile as per our discussion in discord
@yb-sid these changes should be reflected in this PR: https://github.com/Canner/WrenAI/pull/376
we'll merge this PR soon
@cyyeh , I'm guessing you haven't used Azure Openai Service. My Company has multiple instances of Azure Openai and each instance is shared by multiple teams.
Under each instance one model of chat is deployed and one model for embedding is deployed. Having Different API_BASE and API_TOKEN allows for better tracking of costs and usage. It also helps in tracing issues in applications as sometimes azure has outages in different regions for different model type.
thanks for sharing ;)
Untested : Discussion WIP