Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,20 @@ pip install cognee

### With poetry

```bash
If adding to you project
```
poetry add cognee
Copy link
Collaborator

Choose a reason for hiding this comment

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

The poetry add command adds Cognee to someones python project and installs them.

The poetry install command reads the pyproject.toml file from the current project ( cognee for example ), resolves the dependencies, and installs them.

Might be good to have both steps differentiated in Readme.md

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, it would be good to have both, one for installation, other is for local setup of cognee for contribution.

```

If installing inside cloned repository

```bash
poetry config virtualenvs.in-project true
poetry self add poetry-plugin-shell
poetry install
poetry shell
Comment on lines +51 to +54
Copy link
Contributor

@coderabbitai coderabbitai bot Feb 12, 2025

Choose a reason for hiding this comment

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

⚠️ Potential issue

Add missing step to install cognee package.

The current poetry installation instructions are incomplete. They configure the environment but don't install the cognee package itself. This conflicts with the database-specific installation section below that uses poetry add cognee.

Add the missing step to install cognee:

 poetry config virtualenvs.in-project true
 poetry self add poetry-plugin-shell
+poetry add cognee
 poetry install
 poetry shell
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
poetry config virtualenvs.in-project true
poetry self add poetry-plugin-shell
poetry install
poetry shell
poetry config virtualenvs.in-project true
poetry self add poetry-plugin-shell
poetry add cognee
poetry install
poetry shell

Copy link
Contributor

Choose a reason for hiding this comment

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

@soobrosa does this requre add cognee too?

Copy link
Contributor

Choose a reason for hiding this comment

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

Seems like the humans are having a chat. I'll hop back into my burrow for now. If you need me again, just tag @coderabbitai in a new comment, and I'll come hopping out!

```

### With pip with specific database support

To install Cognee with support for specific databases use the appropriate command below. Replace \<database> with the name of the database you need.
Expand Down
Loading