Skip to content

Add OpenAI provider support#42

Merged
nicoloesch merged 2 commits into
mainfrom
25-openai
Jul 20, 2026
Merged

Add OpenAI provider support#42
nicoloesch merged 2 commits into
mainfrom
25-openai

Conversation

@nicoloesch

Copy link
Copy Markdown
Collaborator

Summary

Adds ProviderType.OPENAI and OpenAIProvider (implementing EmbeddingProvider), letting OpenAI-hosted embedding models be used directly via an API key with no Ollama compatibility layer. Forward-ports provider logic previously prototyped on feat/asymmetric-emb/feat/hnsw onto the current backend architecture. Updates docs and adds OpenAI-specific provider tests.

@nicoloesch

Copy link
Copy Markdown
Collaborator Author

Lint PR is failing because it is not adhering to our current CI/CD. Related to #39 and the decisions there.

@nicoloesch
nicoloesch requested a review from gkennos July 10, 2026 04:45
Comment thread src/omop_emb/config.py Outdated
Comment thread src/omop_emb/embeddings/embedding_providers.py
@gkennos
gkennos self-requested a review July 19, 2026 14:24
@nicoloesch nicoloesch added the feature New backwards-compatible functionality. MINOR: x.y+1.z label Jul 20, 2026
@nicoloesch
nicoloesch merged commit c8a7130 into main Jul 20, 2026
2 checks passed
@nicoloesch
nicoloesch deleted the 25-openai branch July 20, 2026 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New backwards-compatible functionality. MINOR: x.y+1.z

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add OpenAI provider support

2 participants