Skip to content

Document extra dependencies#232

Merged
stellasia merged 22 commits intoneo4j:mainfrom
stellasia:doc/extra-deps
Dec 12, 2024
Merged

Document extra dependencies#232
stellasia merged 22 commits intoneo4j:mainfrom
stellasia:doc/extra-deps

Conversation

@stellasia
Copy link
Contributor

Description

Type of Change

  • New feature
  • Bug fix
  • Breaking change
  • Documentation update
  • Project configuration change

Complexity

Complexity: Low

How Has This Been Tested?

  • Unit tests
  • E2E tests
  • Manual tests

Checklist

The following requirements should have been met (depending on the changes in the branch):

  • Documentation has been updated
  • Unit tests have been updated
  • E2E tests have been updated
  • Examples have been updated
  • New files have copyright header
  • CLA (https://neo4j.com/developer/cla/) has been signed
  • CHANGELOG.md updated if appropriate

@stellasia stellasia requested a review from a team as a code owner December 11, 2024 15:00
raise ImportError(
"Could not import cohere python client. "
"Please install it with `pip install cohere`."
'Please install it with `pip install "neo4j-graphrag[cohere]"`.'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find it very confusing to have double quotes on the first line and single quotes on the second one, but that's a ruff thing, it seems to prefer double quotes whenever it's possible (and it's not possible on the second line because we have to use double quote for shell commands (well, I think?))

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will a multiline string work? e.g.

"""Could not import cohere python client. 
Please install it with `pip install "neo4j-graphrag[cohere]"`."""

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point :)

-> f72b79a

@stellasia stellasia merged commit b2ba9a3 into neo4j:main Dec 12, 2024
7 checks passed
@stellasia stellasia deleted the doc/extra-deps branch January 6, 2025 12:44
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