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

push new db or demo version

Browse files
Files changed (1) hide show
  1. src/constants.py +2 -2
src/constants.py CHANGED
@@ -14,10 +14,10 @@ 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": 12,
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": 256,
21
  # Max top candidates during KNN search. Higher values increase accuracy, but also increase search latency.
22
  "EF_RUNTIME": 10,
23
  }
 
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
  }