Installation
To get a local copy up and running follow these steps.
-
(Optional) Start a
pgvectorinstance 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
pgvectoryou can create a database for Dewy and configure Dewy use it using theDBenv var (see below). -
Install Dewy
pip install dewyThis will install Dewy in your local Python environment.
