memoryscope.enumeration.message_role_enum
- class memoryscope.enumeration.message_role_enum.MessageRoleEnum(value)[source]
Bases:
str
,Enum
Enumeration for different message roles within a conversation context.
This enumeration includes predefined roles such as User, Assistant, and System, which can be used to categorize messages in chat interfaces, AI interactions, or any system that involves distinct participant roles.
- USER = 'user'
- ASSISTANT = 'assistant'
- SYSTEM = 'system'