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

Method textual_form_core

components/expr_parser.py:164–166  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

162 super().__init__('COMP', val, data_type, fields)
163
164 def textual_form_core(self):
165 prompt = CompNode.PROMPT_DICT[self.val]
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):

Callers

nothing calls this directly

Calls 1

textual_formMethod · 0.45

Tested by

no test coverage detected