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
Site Navigation
Section Navigation
chains
chat_models
common
csv_agent
embeddings
llms
rag_retrievers
react_multi_hop
rerank
sql_agent
react_multi_hop
Renders the role of a message into prompt content.
message (BaseMessage)
str