MCPcopy Create free account
hub / github.com/dataease/SQLBot / guess_user_question

Method guess_user_question

backend/apps/chat/models/chat_model.py:320–322  ·  view source on GitHub ↗
(self, old_questions: str = "[]")

Source from the content-addressed store, hash-verified

318 return get_guess_question_template()['system'].format(lang=self.lang, articles_number=articles_number, sqlbot_name=self.sqlbot_name)
319
320 def guess_user_question(self, old_questions: str = "[]"):
321 return get_guess_question_template()['user'].format(question=self.question, schema=self.db_schema,
322 old_questions=old_questions)
323
324 def filter_sys_question(self):
325 return get_permissions_template()['system'].format(lang=self.lang, engine=self.engine, sqlbot_name=self.sqlbot_name)

Callers 1

Calls 2

formatMethod · 0.80

Tested by

no test coverage detected