Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
c18934a3
Commit
c18934a3
authored
Jun 06, 2025
by
myhloli
Browse files
refactor: improve dictionary formatting in output structure
parent
373900a4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
mineru/utils/llm_aided.py
mineru/utils/llm_aided.py
+6
-1
No files found.
mineru/utils/llm_aided.py
View file @
c18934a3
...
@@ -60,7 +60,12 @@ def llm_aided_title(page_info_list, title_aided_config):
...
@@ -60,7 +60,12 @@ def llm_aided_title(page_info_list, title_aided_config):
IMPORTANT:
IMPORTANT:
请直接返回优化过的由标题层级组成的字典,格式为{{标题id:标题层级}},如下:
请直接返回优化过的由标题层级组成的字典,格式为{{标题id:标题层级}},如下:
{{0:1,1:2,2:2,3:3}}
{{
0:1,
1:2,
2:2,
3:3
}}
不需要对字典格式化,不需要返回任何其他信息。
不需要对字典格式化,不需要返回任何其他信息。
Input title list:
Input title list:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment