# 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/0e86adc8d140bf6e3da49836173bd5a50a194b63/libs/cohere/langchain_cohere/react_multi_hop/prompt.py#L358)