get_zep_message_role_type#
- langchain_community.chat_message_histories.zep_cloud.get_zep_message_role_type(role: str) RoleType [source]#
Get the Zep role type from the role string.
- Parameters:
role (str) – The role string. One of “human”, “ai”, “system”,
"function"
"tool".
- Returns:
The Zep role type. One of “user”, “assistant”, “system”, “function”, “tool”.
- Return type:
RoleType