mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-20 21:18:13 +02:00
chore: bump embedding cache chunker version to 2
This commit is contained in:
parent
c57ee978e6
commit
65b7d1b01a
1 changed files with 2 additions and 1 deletions
|
|
@ -953,8 +953,9 @@ class Config:
|
|||
os.getenv("EMBEDDING_CACHE_ENABLED", "false").strip().lower() == "true"
|
||||
)
|
||||
# Bump to invalidate every cached embedding set after a chunker change.
|
||||
# v2: chunks became exact (raw) slices of source_markdown for citation spans.
|
||||
EMBEDDING_CACHE_CHUNKER_VERSION = int(
|
||||
os.getenv("EMBEDDING_CACHE_CHUNKER_VERSION", "1")
|
||||
os.getenv("EMBEDDING_CACHE_CHUNKER_VERSION", "2")
|
||||
)
|
||||
EMBEDDING_CACHE_TTL_DAYS = int(os.getenv("EMBEDDING_CACHE_TTL_DAYS", "90"))
|
||||
EMBEDDING_CACHE_MAX_TOTAL_MB = int(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue