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

Class Role

web/pgadmin/llm/models.py:17–22  ·  view source on GitHub ↗

Message roles in a conversation.

Source from the content-addressed store, hash-verified

15
16
17class Role(str, Enum):
18 """Message roles in a conversation."""
19 SYSTEM = 'system'
20 USER = 'user'
21 ASSISTANT = 'assistant'
22 TOOL = 'tool'
23
24
25class StopReason(str, Enum):

Callers 3

create_roleFunction · 0.90
generateFunction · 0.90
deserialize_historyFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected