MCPcopy Create free account
hub / github.com/OpenBMB/BMTools / retrieve

Method retrieve

bmtools/tools/serve.py:100–101  ·  view source on GitHub ↗
(self, query: str, topk: int = 3)

Source from the content-addressed store, hash-verified

98 return list_tools()
99
100 def retrieve(self, query: str, topk: int = 3) -> List[str]:
101 return self.retriever.query(query, topk)

Callers 1

retrieveFunction · 0.80

Calls 1

queryMethod · 0.80

Tested by

no test coverage detected