# 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/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/document_loaders/chatgpt.py#L10)