langchain_community.document_loaders.chatgpt.concatenate_rows¶

langchain_community.document_loaders.chatgpt.concatenate_rows(message: dict, title: str) str[source]¶

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

Returns

Concatenated message

Parameters
  • message (dict) –

  • title (str) –

Return type

str