Using the provided OpenAIEmbeddingFunction in the chromadb JS client, it's not possible to specify a custom endpoint for the api (unlike the Python equivalent), which is necessary when using Azure OpenAI
Describe the proposed solution
the class OpenAIEmbeddingFunction should allow specifying an Azure endpoint.
Describe the problem
Using the provided
OpenAIEmbeddingFunction
in the chromadb JS client, it's not possible to specify a custom endpoint for the api (unlike the Python equivalent), which is necessary when using Azure OpenAIDescribe the proposed solution
the class
OpenAIEmbeddingFunction
should allow specifying an Azure endpoint.Alternatives considered
No response
Importance
would make my life easier
Additional Information
I made a pull request to fix this, and waiting for review: https://github.com/chroma-core/chroma/pull/2227