# concatenate_rows

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/document_loaders/chatgpt/concatenate_rows)

Combine message information in a readable format ready to be used.
Args:
    message: Message to be concatenated
    title: Title of the conversation

## Signature

```python
concatenate_rows(
    message: dict,
    title: str,
) -> str
```

## Returns

`str`

Concatenated message

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/7c10a5fa327f6aaaf7c932822a9e5d144891406e/libs/community/langchain_community/document_loaders/chatgpt.py#L10)