MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / user

Method user

web/pgadmin/llm/models.py:96–98  ·  view source on GitHub ↗

Create a user message.

(cls, content: str)

Source from the content-addressed store, hash-verified

94
95 @classmethod
96 def user(cls, content: str) -> 'Message':
97 """Create a user message."""
98 return cls(role=Role.USER, content=content)
99
100 @classmethod
101 def assistant(cls, content: str,

Callers 14

generateFunction · 0.80
validate_connectionMethod · 0.80
chat_with_databaseFunction · 0.80
test_within_budgetMethod · 0.80
test_drops_low_valueMethod · 0.80
test_tool_pairsMethod · 0.80
_planning_stageMethod · 0.80

Calls

no outgoing calls