Skip to content

Commit

Permalink
Add lancedb and chroma into default package dependencies (#605)
Browse files Browse the repository at this point in the history
* add lancedb and chroma info default dependencies

* Update tests.yml

---------

Co-authored-by: Charles Packer <packercharles@gmail.com>
  • Loading branch information
sarahwooders and cpacker authored Dec 11, 2023
1 parent f76c352 commit 34e914a
Show file tree
Hide file tree
Showing 4 changed files with 338 additions and 350 deletions.
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

0 comments on commit 34e914a

Please sign in to comment.