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

Add lancedb and chroma into default package dependencies #605

Merged
merged 3 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
PGVECTOR_TEST_DB_URL: ${{ secrets.PGVECTOR_TEST_DB_URL }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: |
poetry install -E dev -E postgres -E local -E chroma -E lancedb
poetry install -E dev -E postgres -E local

- name: Set Poetry config
env:
Expand Down
8 changes: 0 additions & 8 deletions docs/storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ pip install 'pymemgpt[postgres]'
You will need to have a URI to a Postgres database which support [pgvector](https://github.com/pgvector/pgvector). You can either use a [hosted provider](https://github.com/pgvector/pgvector/issues/54) or [install pgvector](https://github.com/pgvector/pgvector#installation).

## Chroma
To enable the Chroma storage backend, install the dependencies with:
```
pip install `pymemgpt[chroma]`
```
You can configure Chroma with both the HTTP and persistent storage client via `memgpt configure`. You will need to specify either a persistent storage path or host/port dependending on your client choice. The example below shows how to configure Chroma with local persistent storage:
```
? Select LLM inference provider: openai
Expand All @@ -38,10 +34,6 @@ You can configure Chroma with both the HTTP and persistent storage client via `m
```

## LanceDB
To enable the LanceDB backend, make sure to install the required dependencies with:
```
pip install 'pymemgpt[lancedb]'
```
You have to enable the LanceDB backend by running
```
memgpt configure
Expand Down
Loading