MCPcopy
hub / github.com/stanford-oval/storm / summary

Method summary

knowledge_storm/interface.py:544–557  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

542 pass
543
544 def summary(self):
545 print("***** Execution time *****")
546 for k, v in self.time.items():
547 print(f"{k}: {v:.4f} seconds")
548
549 print("***** Token usage of language models: *****")
550 for k, v in self.lm_cost.items():
551 print(f"{k}")
552 for model_name, tokens in v.items():
553 print(f" {model_name}: {tokens}")
554
555 print("***** Number of queries of retrieval models: *****")
556 for k, v in self.rm_cost.items():
557 print(f"{k}: {v}")
558
559 def reset(self):
560 self.time = {}

Callers 10

mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected