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