eacortes commited on
Commit
fcd099a
·
1 Parent(s): 4bf0203

push new db or demo version

Browse files
Files changed (1) hide show
  1. src/constants.py +3 -3
src/constants.py CHANGED
@@ -14,12 +14,12 @@ HNSW_PARAMETERS = {
14
  # Defines the initial capacity of the vector index. It helps in pre-allocating space for the index.
15
  "INITIAL_CAP": 440,
16
  # Max number of outgoing edges (connections) for each node in a graph layer.
17
- "M": 64,
18
  # Max number of connected neighbors to consider during graph building.
19
  # Higher values increase accuracy, but also increase index build time.
20
- "EF_CONSTRUCTION": 2048,
21
  # Max top candidates during KNN search. Higher values increase accuracy, but also increase search latency.
22
- "EF_RUNTIME": 10,
23
  }
24
 
25
  # Gradio launch parameters
 
14
  # Defines the initial capacity of the vector index. It helps in pre-allocating space for the index.
15
  "INITIAL_CAP": 440,
16
  # Max number of outgoing edges (connections) for each node in a graph layer.
17
+ "M": 128,
18
  # Max number of connected neighbors to consider during graph building.
19
  # Higher values increase accuracy, but also increase index build time.
20
+ "EF_CONSTRUCTION": 4096,
21
  # Max top candidates during KNN search. Higher values increase accuracy, but also increase search latency.
22
+ "EF_RUNTIME": 12,
23
  }
24
 
25
  # Gradio launch parameters