Replies: 1 comment
-
Hi @Nag9694, I assume you are using Docling v2 — to get the doctags in v2 just call result = converter.convert(source)
doc = result.document
doctags = doc.export_to_document_tokens() For more information check out Docling v2 and specifically these points. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
Earlier was able to render the extraction as below
result = converter.convert(source)
print(result.render_as_doctags()) to render as doctags.
But now unable to do the same.
Now functionality as changed to export_to_markdown() ---outputs to string.
Can you suggest what needs to done, if i want the doctags itself???
Beta Was this translation helpful? Give feedback.
All reactions