Skip to main content

Interface: CsvRead

Defined in: packages/agentos/src/cognition/library/readers/csv.ts:38

What readCsv answers.

Properties​

breaksMadeSpaces​

breaksMadeSpaces: boolean

Defined in: packages/agentos/src/cognition/library/readers/csv.ts:53

True when a line break inside a quoted cell the table holds was made a space.


columns​

columns: number

Defined in: packages/agentos/src/cognition/library/readers/csv.ts:47

The columns the table holds.


cut​

cut: boolean

Defined in: packages/agentos/src/cognition/library/readers/csv.ts:51

True when rows or columns past the bounds were left out.


empty​

empty: boolean

Defined in: packages/agentos/src/cognition/library/readers/csv.ts:55

True for a text with no row.


markdown​

markdown: string

Defined in: packages/agentos/src/cognition/library/readers/csv.ts:43

One table block: the first row as the header, a separator line, then the rows; a cell is one line, its line breaks made spaces and its bars made slashes, its characters escaped where they would read as a mark. '' with no row.


rows​

rows: number

Defined in: packages/agentos/src/cognition/library/readers/csv.ts:45

The rows the table holds, its header row among them.


separator​

separator: CsvSeparator

Defined in: packages/agentos/src/cognition/library/readers/csv.ts:49

The separator the text was read with.