-
Notifications
You must be signed in to change notification settings - Fork 126
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
[cohere] Add text and document embedders #80
Conversation
------ Co-authored-by: vrunm <[email protected]>
@masci I saw that you moved the PR from haystack to the haystack-core-integrations repo. Do any changes need to be made to this PR? |
@vrunm PR is good to go! |
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 very good to me, almost ready to go. I would like to have the CohereDocumentEmbedder also work with empty lists of documents and suggested a change of an if condition and the addition of a test case. Everything else is ready to be merged. 👍
integrations/cohere/src/cohere_haystack/embedders/document_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! 👍 Great to see you already removed LazyImport from the other integrations in a separate PR.
Follow up of deepset-ai/haystack#5831