Commit Graph

2 Commits

Author SHA1 Message Date
Cesar Berrospi Ramis a1b0e3fd6b fix(csv): set default delimiter by default (#3005)
If the delimiter cannot be determined, assume the default delimiter (comma).
As a result, address single-column CSV, which triggered a parsing error.

Signed-off-by: Cesar Berrospi Ramis <ceb@zurich.ibm.com>
2026-02-17 20:26:05 +01:00
Tobias Strebitzer 00d9405b0a feat: Add support for CSV input with new backend to transform CSV files to DoclingDocument (#945)
* feat: Implement csv backend and format detection

Signed-off-by: Tobias Strebitzer <tobias.strebitzer@magloft.com>

* test: Implement csv parsing and format tests

Signed-off-by: Tobias Strebitzer <tobias.strebitzer@magloft.com>

* docs: Add example and CSV format documentation

Signed-off-by: Tobias Strebitzer <tobias.strebitzer@magloft.com>

* feat: Add support for various CSV dialects and update documentation

Signed-off-by: Tobias Strebitzer <tobias.strebitzer@magloft.com>

* feat: Add validation for delimiters and tests for inconsistent csv files

Signed-off-by: Tobias Strebitzer <tobias.strebitzer@magloft.com>

---------

Signed-off-by: Tobias Strebitzer <tobias.strebitzer@magloft.com>
2025-02-14 08:55:09 +01:00