| 148 | } |
| 149 | |
| 150 | void 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 | |
| 167 | void ZVecPyParams::bind_index_params(pybind11::module_ &m) { |
| 168 | // binding base index params |
nothing calls this directly
no outgoing calls
no test coverage detected