mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 07:40:12 +01:00
feat: unify settings for vector and nodestore connections to PostgreSQL (#1730)
* Unify pgvector and postgres connection settings * Remove local changes * Update file pgvector->postgres
This commit is contained in:
parent
68b3a34b03
commit
63de7e4930
5 changed files with 39 additions and 45 deletions
|
|
@ -55,6 +55,7 @@ embedding:
|
|||
# Should be matching the value above in most cases
|
||||
mode: huggingface
|
||||
ingest_mode: simple
|
||||
embed_dim: 384 # 384 is for BAAI/bge-small-en-v1.5
|
||||
|
||||
huggingface:
|
||||
embedding_hf_model_name: BAAI/bge-small-en-v1.5
|
||||
|
|
@ -68,16 +69,6 @@ nodestore:
|
|||
qdrant:
|
||||
path: local_data/private_gpt/qdrant
|
||||
|
||||
pgvector:
|
||||
host: localhost
|
||||
port: 5432
|
||||
database: postgres
|
||||
user: postgres
|
||||
password: postgres
|
||||
embed_dim: 384 # 384 is for BAAI/bge-small-en-v1.5
|
||||
schema_name: private_gpt
|
||||
table_name: embeddings
|
||||
|
||||
postgres:
|
||||
host: localhost
|
||||
port: 5432
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue