concatenate_cells#

langchain_community.document_loaders.notebook.concatenate_cells(cell: dict, include_outputs: bool, max_output_length: int, traceback: bool) str[source]#

Combine cells information in a readable format ready to be used.

Parameters:
  • cell (dict) – A dictionary

  • include_outputs (bool) – Whether to include the outputs of the cell.

  • max_output_length (int) – Maximum length of the output to be displayed.

  • traceback (bool) – Whether to return a traceback of the error.

Returns:

A string with the cell information.

Return type:

str