MCPcopy Create free account
hub / github.com/OpenBMB/ToolBench / __init__

Method __init__

toolbench/tooleval/automatic_eval_sample.py:35–36  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

33## !!define your method here !!
34class SampleMethod(BaseToolMethod):
35 def __init__(self):
36 super().__init__()
37 def forward(self,query:str,tools:List[Dict],tool_func:Callable)->Dict:
38 return {}
39 def convert_result_to_dict(self,result):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected