Skip to content

chore: deprecate Sentence Transformers components + update docs#11645

Merged
anakin87 merged 2 commits into
mainfrom
deprecate-st
Jun 16, 2026
Merged

chore: deprecate Sentence Transformers components + update docs#11645
anakin87 merged 2 commits into
mainfrom
deprecate-st

Conversation

@anakin87

@anakin87 anakin87 commented Jun 15, 2026

Copy link
Copy Markdown
Member

Related Issues

Proposed Changes:

  • deprecates sentence transformers components
  • update their docs to point to the new integration

How did you test it?

CI

Checklist

  • I have read the contributors guidelines and the code of conduct.
  • I have updated the related issue with new insights and changes.
  • I have added unit tests and updated the docstrings.
  • I've used one of the conventional commit types for my PR title: fix:, feat:, build:, chore:, ci:, docs:, style:, refactor:, perf:, test: and added ! in case the PR includes breaking changes.
  • I have documented my code.
  • I have added a release note file, following the contributors guidelines.
  • I have run pre-commit hooks and fixed any issue.

Deprecate the Sentence Transformers components that are moving to the
`sentence-transformers-haystack` package in haystack-core-integrations
(deepset-ai/haystack-core-integrations#3443), and update their docs to
point to the integration.

Deprecated components (removal in 3.0):
- SentenceTransformersTextEmbedder
- SentenceTransformersDocumentEmbedder
- SentenceTransformersDocumentImageEmbedder
- SentenceTransformersSparseTextEmbedder
- SentenceTransformersSparseDocumentEmbedder
- SentenceTransformersDiversityRanker
- SentenceTransformersSimilarityRanker

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  haystack/components/embedders
  sentence_transformers_document_embedder.py
  sentence_transformers_sparse_document_embedder.py
  sentence_transformers_sparse_text_embedder.py
  sentence_transformers_text_embedder.py
  haystack/components/embedders/image
  sentence_transformers_doc_image_embedder.py
  haystack/components/rankers
  sentence_transformers_diversity.py
  sentence_transformers_similarity.py
  haystack/core/pipeline
  async_pipeline.py
Project Total  

This report was generated by python-coverage-comment-action

@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
haystack-docs Ready Ready Preview, Comment Jun 16, 2026 9:43am

Request Review

@anakin87 anakin87 marked this pull request as ready for review June 16, 2026 09:44
@anakin87 anakin87 requested a review from a team as a code owner June 16, 2026 09:44
@anakin87 anakin87 requested review from julian-risch and removed request for a team June 16, 2026 09:44
@claude

claude Bot commented Jun 16, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@anakin87 anakin87 merged commit 6d4949d into main Jun 16, 2026
32 checks passed
@anakin87 anakin87 deleted the deprecate-st branch June 16, 2026 09:55
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.

2 participants