Installation
To get a local copy up and running follow these steps.
-
(Optional) Start a
pgvector
instance to persist your dataDewy uses a vector database to store metadata about the documents you've loaded as well as embeddings used to provide semantic search results.
docker run -d \
-p 5432:5432 \
-e POSTGRES_DB=dewydb \
-e POSTGRES_USER=dewydbuser \
-e POSTGRES_PASSWORD=dewydbpwd \
-e POSTGRES_HOST_AUTH_METHOD=trust \
ankane/pgvectorIf you already have an instance of
pgvector
you can create a database for Dewy and configure Dewy use it using theDB
env var (see below). -
Install Dewy
pip install dewy
This will install Dewy in your local Python environment.