-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: SentenceTransformersTextEmbedder supports config_kwargs
#8432
feat: SentenceTransformersTextEmbedder supports config_kwargs
#8432
Conversation
Pull Request Test Coverage Report for Build 11330940911Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a small comment regarding the linter config you changed, and please also add the release-notes.
Thanks for your contribution!
config_kwargs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks quite good to me. My only suggestion is to extend the docstring. Will also be more consistent with the DocumentEmbedder then.
haystack/components/embedders/sentence_transformers_text_embedder.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…set-ai#8432) * add config_kwargs * disable PLR0913 for a specific function * add a release note * refer to AutoConfig in config_kwargs docstring --------- Co-authored-by: David S. Batista <[email protected]> Co-authored-by: Julian Risch <[email protected]>
Related Issues
Proposed Changes:
How did you test it?
CI, update unittests
Notes for the reviewer
Checklist
fix:
,feat:
,build:
,chore:
,ci:
,docs:
,style:
,refactor:
,perf:
,test:
.