Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Python ai4sciencedocument-analysisdocxextract-datalayout-analysisocrparserpdfpdf-converterpdf-extractor-llmpdf-extractor-pretrainpdf-extractor-ragpdf-parserpptxpythonxlsx
Update mineru/utils/llm_aided.py
Xiaomeng Zhaoe5735d957bd2
diff --git a/mineru/utils/llm_aided.py b/mineru/utils/llm_aided.pyindex b071e88d..60d7f9cf 100644--- a/mineru/utils/llm_aided.py+++ b/mineru/utils/llm_aided.py@@ -89,7 +89,7 @@ Corrected title list:)content_pieces = []for chunk in completion:- if chunk.choices:+ if chunk.choices and chunk.choices[0].delta.content is not None:content_pieces.append(chunk.choices[0].delta.content)content = "".join(content_pieces).strip()# logger.info(f"Title completion: {content}")