Spaces:
Running
Running
push new db or demo version
Browse files- 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":
|
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":
|
21 |
# Max top candidates during KNN search. Higher values increase accuracy, but also increase search latency.
|
22 |
-
"EF_RUNTIME":
|
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
|