"examples/offline_inference/encoder_decoder.py" did not exist on "35cc35014cac8abf2ccdf03f27c7c23aabbb8a98"
Unverified Commit 1954573b authored by Xiaomeng Zhao's avatar Xiaomeng Zhao Committed by GitHub
Browse files

Merge pull request #1543 from myhloli/dev

docs(magic_pdf): update llm_aided.py prompt for title list optimization
parents e139e5bd 916ced9f
...@@ -116,7 +116,9 @@ def llm_aided_title(pdf_info_dict, title_aided_config): ...@@ -116,7 +116,9 @@ def llm_aided_title(pdf_info_dict, title_aided_config):
- 优化后的标题只保留代表该标题的层级的整数,不要保留其他信息 - 优化后的标题只保留代表该标题的层级的整数,不要保留其他信息
IMPORTANT: IMPORTANT:
请直接返回优化过的由标题层级组成的json,返回的json不需要格式化。 请直接返回优化过的由标题层级组成的json,格式如下:
{{"0":1,"1":2,"2":2,"3":3}}
返回的json不需要格式化。
Input title list: Input title list:
{title_dict} {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