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 (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