Skip to content

feat: allow to use more embedding models via OpenAI API#31

Open
mgoltzsche wants to merge 1 commit into
zilliztech:mainfrom
mgoltzsche:allow-using-other-embedding-models-via-openai-api
Open

feat: allow to use more embedding models via OpenAI API#31
mgoltzsche wants to merge 1 commit into
zilliztech:mainfrom
mgoltzsche:allow-using-other-embedding-models-via-openai-api

Conversation

@mgoltzsche
Copy link
Copy Markdown

@mgoltzsche mgoltzsche commented May 10, 2026

Allow to use more embedding models via the OpenAI API, enabling integration of other providers implementing that API but supporting different model names, e.g. ollama, LocalAI or LMStudio. Instead of the 3 known OpenAI embedding models and the name prefix convention, all models that don't contain a / within their name are expected to be served by the OpenAI API. Models that contain a / within their name are fetched from HuggingFace and run locally.

Relates to #28 and #29

Allow to use more embedding models via the OpenAI API, enabling integration with self-hosted OpenAI API implementations such as ollama, LocalAI or LMStudio which support different model names.
Instead of the 3 known OpenAI embedding models and the name prefix convention, all models that don't contain a `/` within their name are expected to be served by the OpenAI API.
Models that contain a `/` within their name are fetched from HuggingFace and run locally.

Signed-off-by: Max Goltzsche <max.goltzsche@gmail.com>
@mgoltzsche mgoltzsche changed the title feat: use other embedding models via openai api feat: allow to use more embedding models via OpenAI API May 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant