# render_messages

> **Function** in `langchain_cohere`

📖 [View in docs](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/prompt/render_messages)

Renders one or more `BaseMessage` implementations into prompt content.

## Signature

```python
render_messages(
    messages: Sequence[BaseMessage],
) -> str
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-cohere/blob/98e3d038d365eebd6dabcf8c4d94072580f7401d/libs/cohere/langchain_cohere/react_multi_hop/prompt.py#L358)