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 Zhao369994916641
diff --git a/mineru/utils/llm_aided.py b/mineru/utils/llm_aided.pyindex c4325c8e..a69ffa9d 100644--- a/mineru/utils/llm_aided.py+++ b/mineru/utils/llm_aided.py@@ -87,10 +87,11 @@ Corrected title list:temperature=0.7,stream=True,)- content = ""+ content_pieces = []for chunk in completion:if chunk.choices:- content += chunk.choices[0].delta.content+ content_pieces.append(chunk.choices[0].delta.content)+ content = "".join(content_pieces)# logger.info(f"Title completion: {content}")if "</think>" in content:idx = content.index("</think>") + len("</think>")