jeevesagent.loader.excel

Excel (.xlsx / .xlsm) loader → markdown.

Uses openpyxl (lazy import). Each sheet becomes a markdown section with the sheet name as an # heading and the cell grid as a markdown table. Empty rows / columns at the edges are trimmed.

For very wide / tall sheets, the markdown output can balloon — prefer pandas + tailored summarization for spreadsheets that exceed an LLM’s comfortable context. This loader is intended for the common case (config sheets, lookup tables, structured records).

Functions

load_excel(→ jeevesagent.loader.base.Document)

Load an Excel workbook → markdown.

Module Contents

jeevesagent.loader.excel.load_excel(path: str | pathlib.Path) jeevesagent.loader.base.Document[source]

Load an Excel workbook → markdown.

Each sheet becomes ## {sheet_name} with the cell grid as a markdown table. Formula cells return their cached values (data_only=True).

Requires openpyxl: pip install 'jeevesagent[loader-excel]'.