mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-11 22:28:31 +00:00
chore: update Milvus on examples and references to deprecated method (#2664)
* docs(examples): update the set up of Milvus Lite Signed-off-by: Cesar Berrospi Ramis <ceb@zurich.ibm.com> * chore: remove references to deprecated save_as_document_tokens Signed-off-by: Cesar Berrospi Ramis <ceb@zurich.ibm.com> --------- Signed-off-by: Cesar Berrospi Ramis <ceb@zurich.ibm.com>
This commit is contained in:
committed by
GitHub
parent
ce5a099dfd
commit
54e65d9511
@@ -280,7 +280,7 @@ def export_documents(
|
||||
if export_doctags:
|
||||
fname = output_dir / f"{doc_filename}.doctags"
|
||||
_log.info(f"writing Doc Tags output to {fname}")
|
||||
conv_res.document.save_as_document_tokens(filename=fname)
|
||||
conv_res.document.save_as_doctags(filename=fname)
|
||||
|
||||
else:
|
||||
_log.warning(f"Document {conv_res.input.file} failed to convert.")
|
||||
|
||||
Reference in New Issue
Block a user