Commit 916ced9f authored by myhloli's avatar myhloli
Browse files

docs(magic_pdf): update llm_aided.py prompt for title list optimization

- Clarify the expected format for the optimized title list JSON output- Emphasize the need to return only the title levels in the specified format
parent f37b14bc
......@@ -116,7 +116,9 @@ def llm_aided_title(pdf_info_dict, title_aided_config):
- 优化后的标题只保留代表该标题的层级的整数,不要保留其他信息
IMPORTANT:
请直接返回优化过的由标题层级组成的json,返回的json不需要格式化。
请直接返回优化过的由标题层级组成的json,格式如下:
{{"0":1,"1":2,"2":2,"3":3}}
返回的json不需要格式化。
Input title list:
{title_dict}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment