Skip to main content
FieldLabeledCSVReader is a reader class that converts CSV rows into field-labeled text documents.

Parameters

FieldLabeledCSVReader also accepts the base Reader constructor parameters, except chunk and chunking_strategy. Chunking is disabled; each CSV row becomes one document.

Methods

read()

Reads a CSV file and returns one field-labeled document per row.

async_read()

The async variant of read(). It accepts the same parameters, plus: