langchain_community.document_loaders.notebook.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 – A dictionary

  • include_outputs – Whether to include the outputs of the cell.

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

  • traceback – Whether to return a traceback of the error.

Returns

A string with the cell information.