Michele Dolfi
85304caee5
pin docling-parse 1.1.2
...
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2024-08-29 16:01:30 +02:00
Michele Dolfi
d7a447603d
skip batch_convert
...
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2024-08-29 09:05:51 +02:00
Michele Dolfi
c10f555749
reduce docs in example, since they are already in the tests
...
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2024-08-29 08:58:02 +02:00
Michele Dolfi
a700411288
package verify utils and add more tests
...
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2024-08-28 18:50:32 +02:00
Christoph Auer
e44791691f
Merge branch 'dev/add-strict-tests' of github.com:DS4SD/docling into dev/add-strict-tests
2024-08-28 14:58:29 +02:00
Christoph Auer
07ec034f1c
Validate conversion status on e2e test
...
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
2024-08-28 14:58:21 +02:00
Michele Dolfi
52b25bf030
Merge branch 'dev/add-strict-tests' of github.com:DS4SD/docling into dev/add-strict-tests
2024-08-28 14:57:14 +02:00
Christoph Auer
2cc940fbfa
Remove unnecessary code
...
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
2024-08-28 14:27:44 +02:00
Christoph Auer
c09d2bca47
Merge branch 'dev/add-strict-tests' of github.com:DS4SD/docling into dev/add-strict-tests
2024-08-28 14:22:32 +02:00
Christoph Auer
2d631439ba
Add tests and update top_level_tests using only datamodels
...
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
2024-08-28 14:21:21 +02:00
Michele Dolfi
6c9fa58155
run examples after tests
...
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2024-08-28 13:54:15 +02:00
Michele Dolfi
03fbb51566
fix examples
...
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2024-08-28 13:25:24 +02:00
Michele Dolfi
9b6b8c4ca0
raise a failure if examples fail
...
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2024-08-28 13:14:21 +02:00
Michele Dolfi
2ad85fdf97
make sure examples return failures
...
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2024-08-28 12:49:43 +02:00
Michele Dolfi
a39449d47b
run all examples in CI
...
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2024-08-28 12:43:54 +02:00
Peter Staar
e1c8d69422
Merge branch 'main' into dev/add-strict-tests
2024-08-28 12:33:32 +02:00
Michele Dolfi
f49ee825c3
fix: table cells overlap and model warnings ( #53 )
...
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2024-08-28 12:30:42 +02:00
Peter Staar
0f172cce2f
added test to verify the cells in the pages (3)
...
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
2024-08-28 10:58:41 +02:00
Peter Staar
c6440c8911
added test to verify the cells in the pages (2)
...
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
2024-08-28 10:58:19 +02:00
Peter Staar
e6ed6f4793
added test to verify the cells in the pages
...
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
2024-08-28 10:39:17 +02:00
Peter Staar
f853d0afa1
reformat code
...
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
2024-08-28 09:10:41 +02:00
Peter Staar
0d4fd90036
added verification of input cells
...
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
2024-08-28 09:09:06 +02:00
Peter Staar
3dbd6781df
commented out json verification for now
...
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
2024-08-27 17:01:29 +02:00
Christoph Auer
93bdaf063b
Fix backend tests
...
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
2024-08-27 16:34:21 +02:00
Christoph Auer
f517e63b02
Fix backend tests
...
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
2024-08-27 16:25:29 +02:00
Michele Dolfi
40d754f03d
ci: avoid duplicate runs
...
Signed-off-by: Michele Dolfi <97102151+dolfim-ibm@users.noreply.github.com>
2024-08-27 16:25:29 +02:00
Peter Staar
b548687a06
commented out the drawing
...
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
2024-08-27 16:13:37 +02:00
Christoph Auer
774704ae8c
Merge branch 'main' of github.com:DS4SD/docling into dev/add-strict-tests
2024-08-27 15:18:51 +02:00
Christoph Auer
e59ea8e04e
Fix backend tests
...
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
2024-08-27 15:18:35 +02:00
Peter Staar
4980b71185
reformatted code
...
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
2024-08-27 13:32:45 +02:00
github-actions[bot]
d0403aaebf
chore: bump version to 1.8.2 [skip ci]
2024-08-27 09:53:15 +00:00
Panos Vagenas
e46a66a176
fix: refine conversion result ( #52 )
...
- fields `output` & `assembled` need not be optional
- introduced "synonym" `ConversionResult` for `ConvertedDocument` & deprecated the latter
Signed-off-by: Panos Vagenas <35837085+vagenas@users.noreply.github.com>
2024-08-27 11:50:43 +02:00
Peter Staar
35bd7b9cff
replaced deprecated json function with model_dump_json
...
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
2024-08-26 20:38:42 +02:00
Peter Staar
08364dfa56
replaced deprecated json function with model_dump_json
...
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
2024-08-26 20:32:23 +02:00
Peter Staar
24c0b9d4c9
ran pre-commit
...
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
2024-08-26 20:22:31 +02:00
Peter Staar
c64489a82c
added first test for json and md output
...
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
2024-08-26 20:21:18 +02:00
Peter Staar
64640337a3
added the reference converted documents
...
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
2024-08-26 18:01:54 +02:00
Peter Staar
b7debe7250
need to start running all tests successfully
...
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
2024-08-26 17:50:39 +02:00
Peter Staar
2c66075390
updated the toplevel function test
...
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
2024-08-26 17:49:38 +02:00
Peter Staar
12eea8495f
renamed the test folder and added the toplevel test
...
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
2024-08-26 17:00:30 +02:00
Peter Staar
f5eb49a811
add the pytests
...
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
2024-08-26 16:26:17 +02:00
Michele Dolfi
fe817b11d7
docs: update interface in README ( #50 )
...
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2024-08-26 15:36:39 +02:00
github-actions[bot]
7052bee999
chore: bump version to 1.8.1 [skip ci]
2024-08-26 11:55:37 +00:00
Michele Dolfi
8cc147bc56
fix: align output formats ( #49 )
...
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2024-08-26 13:30:26 +02:00
github-actions[bot]
053eae4bdf
chore: bump version to 1.8.0 [skip ci]
2024-08-23 14:24:04 +00:00
Christoph Auer
a294b7e64a
feat: Page-level error reporting from PDF backend, introduce PARTIAL_SUCCESS status ( #47 )
...
* Put safety-checks for failed parse of pages
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
* Introduce page-level error checks
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
* Bump to docling-parse 1.1.1
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
* Introduce page-level error checks
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
---------
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
2024-08-23 16:18:41 +02:00
github-actions[bot]
3226b20779
chore: bump version to 1.7.1 [skip ci]
2024-08-23 11:56:02 +00:00
Christoph Auer
8808463cec
fix: Better raise exception when a page fails to parse ( #46 )
...
* Put safety-checks for failed parse of pages
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
* Bump to docling-parse 1.1.1
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
* Raise from page backend if page is not correctly parsed
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
---------
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
2024-08-23 13:51:42 +02:00
Christoph Auer
7e84533299
fix: Upgrade docling-parse to 1.1.1, safety checks for failed parse on pages ( #45 )
...
* Put safety-checks for failed parse of pages
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
* Bump to docling-parse 1.1.1
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
---------
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
2024-08-23 12:51:02 +02:00
github-actions[bot]
1930f08d4e
chore: bump version to 1.7.0 [skip ci]
2024-08-22 12:00:25 +00:00