fix: doc string & pyi (#41)
This commit is contained in:
parent
66657f0651
commit
ce45478dae
|
|
@ -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: ...
|
||||
|
|
|
|||
|
|
@ -307,7 +307,7 @@ Attributes:
|
|||
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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue