MCPcopy Create free account
hub / github.com/bigdata-ustc/Agent4Edu / concept_id

Method concept_id

Code/tools/relation_graph.py:23–24  ·  view source on GitHub ↗
(self, concept: str)

Source from the content-addressed store, hash-verified

21 self.concepts = list(self.know_name.keys())
22
23 def concept_id(self, concept: str) -> int | None:
24 return self.know_name.get(normalize_concept(concept))
25
26 def course(self, concept: str) -> str | None:
27 return self.know_course.get(normalize_concept(concept))

Callers 1

is_relatedMethod · 0.95

Calls 1

normalize_conceptFunction · 0.90

Tested by

no test coverage detected