Skip to content

[Feature Request]: Allow specifying custom OpenAI endpoint for embedding with JS client (example : Azure) #2417

@github-anis-snoussi

Description

@github-anis-snoussi

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 OpenAI

Describe 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: #2227

Metadata

Metadata

Assignees

No one assigned

    Labels

    EFEmbedding FunctionsenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions