mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-11-27 15:38:14 +00:00
- Add support for reading vector_index_type, hnsw_m, hnsw_ef, and ivfflat_lists from config.ini - Maintain backward compatibility with environment variables - Update config.ini.example with new PostgreSQL vector index options - Follow existing configuration priority: env vars > config.ini > defaults
38 lines
752 B
Plaintext
38 lines
752 B
Plaintext
[neo4j]
|
|
uri = neo4j+s://xxxxxxxx.databases.neo4j.io
|
|
username = neo4j
|
|
password = your-password
|
|
connection_pool_size = 100
|
|
connection_timeout = 30.0
|
|
connection_acquisition_timeout = 30.0
|
|
max_transaction_retry_time = 30.0
|
|
max_connection_lifetime = 300.0
|
|
liveness_check_timeout = 30.0
|
|
keep_alive = true
|
|
|
|
[mongodb]
|
|
uri = mongodb+srv://name:password@your-cluster-address
|
|
database = lightrag
|
|
|
|
[redis]
|
|
uri=redis://localhost:6379/1
|
|
|
|
[qdrant]
|
|
uri = http://localhost:16333
|
|
|
|
[postgres]
|
|
host = localhost
|
|
port = 5432
|
|
user = your_username
|
|
password = your_password
|
|
database = your_database
|
|
# workspace = default
|
|
max_connections = 12
|
|
vector_index_type = HNSW # HNSW or IVFFLAT
|
|
hnsw_m = 16
|
|
hnsw_ef = 64
|
|
ivfflat_lists = 100
|
|
|
|
[memgraph]
|
|
uri = bolt://localhost:7687
|