Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/zvec/model/param/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class HnswIndexParam(VectorIndexParam):
def __init__(
self,
metric_type: _zvec.typing.MetricType = ...,
m: typing.SupportsInt = 100,
m: typing.SupportsInt = 50,
ef_construction: typing.SupportsInt = 500,
quantize_type: _zvec.typing.QuantizeType = ...,
) -> None: ...
Expand Down
2 changes: 1 addition & 1 deletion src/binding/python/model/param/python_param.cc
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ encapsulates its construction hyperparameters.
Default is ``MetricType.IP`` (inner product).
m (int): Number of bi-directional links created for every new element
during construction. Higher values improve accuracy but increase
memory usage and construction time. Default is 100.
memory usage and construction time. Default is 50.
ef_construction (int): Size of the dynamic candidate list for nearest
neighbors during index construction. Larger values yield better
graph quality at the cost of slower build time. Default is 500.
Expand Down