MCPcopy Create free account
hub / github.com/LHRLAB/ChatKBQA / EntityNode

Class EntityNode

components/expr_parser.py:168–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 return ' '.join([self.fields[0].textual_form(), prompt, self.fields[1].textual_form()])
167
168class EntityNode(ASTNode):
169 def __init__(self, val, data_type, fields):
170 super().__init__('ENTITY', val, data_type, fields)
171
172 def textual_form_core(self):
173 return self.val
174
175class SchemaNode(ASTNode):
176 def __init__(self, val, data_type, fields):

Callers 1

buildMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected