render_role#

langchain_cohere.react_multi_hop.prompt.render_role(message: BaseMessage) str[source]#

Renders the role of a message into prompt content.

Parameters:

message (BaseMessage)

Return type:

str