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

Class SystemPromptMessage

backend/apps/chat/models/chat_model.py:387–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385
386
387class SystemPromptMessage(SystemMessage):
388 sqlbot_system: bool = True
389
390 def __init__(
391 self, content: Union[str, list[Union[str, dict]]], **kwargs: Any
392 ) -> None:
393 super().__init__(content=content, **kwargs)
394
395
396class HumanPromptMessage(HumanMessage):

Callers 7

init_messagesMethod · 0.90
generate_analysisMethod · 0.90
generate_predictMethod · 0.90
select_datasourceMethod · 0.90
generate_with_sub_sqlMethod · 0.90
build_table_filterMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected