MCPcopy Create free account
hub / github.com/alibaba/zvec / Initialize

Method Initialize

src/binding/python/model/param/python_param.cc:150–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150void ZVecPyParams::Initialize(pybind11::module_ &parent) {
151 auto m =
152 parent.def_submodule("param", "This module contains the params of Zvec");
153
154 // binding index_params [invert/hnsw/flat/ivf]
155 bind_index_params(m);
156
157 // bind query_params [hnsw/ivf]
158 bind_query_params(m);
159
160 // bind options [collection/index/optimize/column]
161 bind_options(m);
162
163 // bind vector query
164 bind_vector_query(m);
165}
166
167void ZVecPyParams::bind_index_params(pybind11::module_ &m) {
168 // binding base index params

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected