unstructured icon indicating copy to clipboard operation
unstructured copied to clipboard

bug/chunking table header is extracted in the text but not in the metadata.text_as_html

Open ajpanyteam opened this issue 2 years ago • 1 comments

Describe the bug Using TS SDK, chunking 'by_title'. For some tables, header is missing.

Header is extracted in the text but not in the metadata.text_as_html, instead the header has e in it.

'metadata': {'text_as_html': '<table><thead><tr><th></th><th>**e**</th><th>**e**</th></tr></thead><tbody><tr><td>R... To Reproduce

PDF File has already been shared with internal team by Ronny. I am unable to post the file publicly.

Expected behavior The header getting extracted.

Screenshots If applicable, add screenshots to help explain your problem. image

Environment Info Nodejs sdk "unstructured-client": "^0.14.0"

Additional context I suspect it has to do with the format

ajpanyteam avatar Aug 05 '24 23:08 ajpanyteam

Closing as inactive. Please feel free to reopen if you're still having trouble :)

scanny avatar Dec 16 '24 18:12 scanny