feat: add QDRANT_ON_DISK configuration option for Qdrant integration

This commit will allow configuring the on_disk client parameter, to reduce the memory usage.
https://qdrant.tech/documentation/concepts/storage/?q=mmap#configuring-memmap-storage
Default is false, keeping vectors in memory.
This commit is contained in:
Athanasios Oikonomou
2025-04-15 01:35:39 +03:00
committed by Athanasios Oikonomou
parent 7e0e6177e9
commit 575c12f80c
2 changed files with 4 additions and 2 deletions

View File

@@ -1693,6 +1693,7 @@ MILVUS_TOKEN = os.environ.get("MILVUS_TOKEN", None)
# Qdrant
QDRANT_URI = os.environ.get("QDRANT_URI", None)
QDRANT_API_KEY = os.environ.get("QDRANT_API_KEY", None)
QDRANT_ON_DISK = os.environ.get("QDRANT_ON_DISK", "false").lower() == "true"
# OpenSearch
OPENSEARCH_URI = os.environ.get("OPENSEARCH_URI", "https://localhost:9200")