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

Method textual_form_core

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

Source from the content-addressed store, hash-verified

146 super().__init__('ARG', val, data_type, fields)
147
148 def textual_form_core(self):
149 prompt = 'with most' if self.val == 'ARGMAX' else 'with least'
150 return ' '.join([self.fields[0].textual_form(), prompt, self.fields[1].textual_form()])
151
152# lt le gt ge
153class CompNode(ASTNode):

Callers

nothing calls this directly

Calls 1

textual_formMethod · 0.45

Tested by

no test coverage detected