Skip to content

feat: add embedding support to LLM providers (#3)#6

Closed
ngoclam9415 wants to merge 2 commits into
stablefrom
develop
Closed

feat: add embedding support to LLM providers (#3)#6
ngoclam9415 wants to merge 2 commits into
stablefrom
develop

Conversation

@ngoclam9415
Copy link
Copy Markdown
Contributor

  • 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

ngoclam9415 and others added 2 commits March 25, 2026 09:54
* 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>
Base automatically changed from main/v0.1 to stable April 1, 2026 20:47
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