RoleMap#
- class langchain_prompty.parsers.RoleMap[source]#
Attributes
ROLES
Methods
get_message_class
(role)- classmethod get_message_class(role: str) Type[BaseMessage] [source]#
- Parameters:
role (str)
- Return type:
Type[BaseMessage]
Attributes
|
Methods
|
role (str)
Type[BaseMessage]