jeevesagent.loader.csv

CSV / TSV loaders → markdown table.

Uses the stdlib csv module. The first row is treated as the header. Each row becomes a markdown table row. For very large CSVs (hundreds of thousands of rows), prefer pandas + manual chunking; this loader is intended for documents an LLM will read end-to-end.

Functions

load_csv(→ jeevesagent.loader.base.Document)

Load a comma-separated file → markdown table.

load_tsv(→ jeevesagent.loader.base.Document)

Load a tab-separated file → markdown table.

Module Contents

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

Load a comma-separated file → markdown table.

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

Load a tab-separated file → markdown table.