feat(nodestore): add Postgres for the doc and index store (#1706)

* Adding Postgres for the doc and index store

* Adding documentation.  Rename postgres database local->simple.  Postgres storage dependencies

* Update documentation for postgres storage

* Renaming feature to nodestore

* update docstore -> nodestore in doc

* missed some docstore changes in doc

* Updated poetry.lock

* Formatting updates to pass ruff/black checks

* Correction to unreachable code!

* Format adjustment to pass black test

* Adjust extra inclusion name for vector pg

* extra dep change for pg vector

* storage-postgres -> storage-nodestore-postgres

* Hash change on poetry lock
This commit is contained in:
Brett England 2024-03-14 12:12:33 -04:00 committed by GitHub
parent d17c34e81a
commit 68b3a34b03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 225 additions and 25 deletions

View file

@ -62,6 +62,9 @@ huggingface:
vectorstore:
database: qdrant
nodestore:
database: simple
qdrant:
path: local_data/private_gpt/qdrant
@ -75,6 +78,14 @@ pgvector:
schema_name: private_gpt
table_name: embeddings
postgres:
host: localhost
port: 5432
database: postgres
user: postgres
password: postgres
schema_name: private_gpt
sagemaker:
llm_endpoint_name: huggingface-pytorch-tgi-inference-2023-09-25-19-53-32-140
embedding_endpoint_name: huggingface-pytorch-inference-2023-11-03-07-41-36-479