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

Method _to_cpp_params

python/zvec/extension/rerank_function.py:33–35  ·  view source on GitHub ↗

Return C++ reranker params. Override in subclasses that use C++ path.

(self)

Source from the content-addressed store, hash-verified

31 """
32
33 def _to_cpp_params(self):
34 """Return C++ reranker params. Override in subclasses that use C++ path."""
35 raise NotImplementedError
36
37 @abstractmethod
38 def rerank(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected