Skip to content
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

Fix wrong import in cohere.py and change model to model_name for consistency #6405

Merged
merged 6 commits into from
Nov 23, 2023

Conversation

ZanSara
Copy link
Contributor

@ZanSara ZanSara commented Nov 23, 2023

Related Issues

  • fixes failing import in haystack-ai

Proposed Changes:

  • from haystack.lazy_import --> from haystack.preview.lazy_import in cohere.py (the recently introduced CohereGenerator)
  • renames model to model_name for consistency

How did you test it?

CI

Notes for the reviewer

@bilgeyucel

Checklist

@github-actions github-actions bot added the 2.x Related to Haystack v2.0 label Nov 23, 2023
@ZanSara ZanSara added the ignore-for-release-notes PRs with this flag won't be included in the release notes. label Nov 23, 2023
@ZanSara ZanSara marked this pull request as ready for review November 23, 2023 17:37
@ZanSara ZanSara requested a review from a team as a code owner November 23, 2023 17:37
@ZanSara ZanSara requested review from masci and removed request for a team November 23, 2023 17:37
@ZanSara ZanSara changed the title Fix wrong import in cohere.py Fix wrong import in cohere.py and change model to model_name for consistency Nov 23, 2023
@ZanSara ZanSara merged commit f3b7303 into main Nov 23, 2023
20 checks passed
@ZanSara ZanSara deleted the fix-cohere-lazy-import branch November 23, 2023 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Related to Haystack v2.0 ignore-for-release-notes PRs with this flag won't be included in the release notes. topic:tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants