MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / __init__

Method __init__

AgentBench.old/src/tasks/knowledgegraph/task.py:100–104  ·  view source on GitHub ↗
(self, **configs)

Source from the content-addressed store, hash-verified

98
99class KnowledgeGraph(Task):
100 def __init__(self, **configs):
101 self.round = configs.pop("round", 15) # maximum round
102 self.data_fn = configs.pop("data_file", None)
103 self.sparql_executor = SparqlExecuter(configs.pop("sparql_url", None))
104 super().__init__(**configs)
105
106 @property
107 def metrics(self):

Callers

nothing calls this directly

Calls 1

SparqlExecuterClass · 0.85

Tested by

no test coverage detected