feat: add embedding support to LLM providers (#3)#6
Closed
ngoclam9415 wants to merge 2 commits into
Closed
Conversation
* ci: add auto-release workflow on merge to stable Tags stable with current version, creates GitHub Release, and bumps patch version on source branch. Supports bump:major and bump:minor PR labels for controlling version increment. * ci: split release workflow into bump-on-PR and tag-on-merge - bump-version-on-pr-to-stable: auto-bumps patch version on main/* when PR is opened if source version <= stable version - release-on-merge-to-stable: tags + creates GitHub Release only - For major/minor bumps, manually edit pyproject.toml before PR * chore: bump version to 0.1.2 * feat: add embedding support to LLM providers Add centralized embedding functionality to dana.common.llm: - EmbeddingResponse type, EmbeddingNotSupportedError exception - embed()/embed_batch() on OpenAI, Gemini, Azure providers - Embedder class with sync/async support, auto-provider selection - Providers without embedding (Anthropic, Moonshot) raise clear errors - Config: embedding_models per provider in config.json - Unit tests (18 tests) and live integration tests --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tags stable with current version, creates GitHub Release, and bumps patch version on source branch. Supports bump:major and bump:minor PR labels for controlling version increment.
chore: bump version to 0.1.2
feat: add embedding support to LLM providers
Add centralized embedding functionality to dana.common.llm: