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 Zhao0530f59968e0
diff --git a/mineru/utils/llm_aided.py b/mineru/utils/llm_aided.pyindex d185eec9..b071e88d 100644--- a/mineru/utils/llm_aided.py+++ b/mineru/utils/llm_aided.py@@ -90,8 +90,8 @@ Corrected title list:content_pieces = []for chunk in completion:if chunk.choices:- content_pieces.append(chunk.choices[0].delta.content.strip())- content = "".join(content_pieces)+ content_pieces.append(chunk.choices[0].delta.content)+ content = "".join(content_pieces).strip()# logger.info(f"Title completion: {content}")if "</think>" in content:idx = content.index("</think>") + len("</think>")