MCPcopy Index your code
hub / github.com/dataease/SQLBot / chart_user_question

Method chart_user_question

backend/apps/chat/models/chat_model.py:294–296  ·  view source on GitHub ↗
(self, chart_type: Optional[str] = '', schema: Optional[str] = '')

Source from the content-addressed store, hash-verified

292 return templates
293
294 def chart_user_question(self, chart_type: Optional[str] = '', schema: Optional[str] = ''):
295 return get_chart_template()['user'].format(lang=self.lang, sql=self.sql, question=self.question, rule=self.rule,
296 chart_type=chart_type, schema=schema)
297
298 def analysis_sys_question(self):
299 return get_analysis_template()['system'].format(lang=self.lang, terminologies=self.terminologies,

Callers 1

generate_chartMethod · 0.80

Calls 2

get_chart_templateFunction · 0.90
formatMethod · 0.80

Tested by

no test coverage detected