MCPcopy Create free account
hub / github.com/VectorDB-NTU/RaBitQ-Library / save

Method save

python_bindings/hnsw_bindings.cpp:121–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119 }
120
121 void save(const std::string& path) const {
122 if (!built_) {
123 throw std::runtime_error("HnswIndex must be built or loaded before save");
124 }
125 index_->save(path.c_str());
126 }
127
128 static HnswIndex load(const std::string& path) {
129 HnswIndex wrapper;

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected