diff --git a/pageindex/page_index.py b/pageindex/page_index.py index 9004309fb..6b32a1178 100644 --- a/pageindex/page_index.py +++ b/pageindex/page_index.py @@ -31,7 +31,7 @@ async def check_title_appearance(item, page_list, start_index=1, model=None): Reply format: {{ - "thinking": + "thinking": , "answer": "yes or no" (yes if the section appears or starts in the page_text, no otherwise) }} Directly return the final JSON structure. Do not output anything else.""" @@ -59,7 +59,7 @@ async def check_title_appearance_in_start(title, page_text, model=None, logger=N reply format: {{ - "thinking": + "thinking": , "start_begin": "yes or no" (yes if the section starts in the beginning of the page_text, no otherwise) }} Directly return the final JSON structure. Do not output anything else.""" @@ -109,7 +109,7 @@ def toc_detector_single_page(content, model=None): return the following JSON format: {{ - "thinking": + "thinking": , "toc_detected": "", }} @@ -129,7 +129,7 @@ def check_if_toc_extraction_is_complete(content, toc, model=None): Reply format: {{ - "thinking": + "thinking": , "completed": "yes" or "no" }} Directly return the final JSON structure. Do not output anything else.""" @@ -147,7 +147,7 @@ def check_if_toc_transformation_is_complete(content, toc, model=None): Reply format: {{ - "thinking": + "thinking": , "completed": "yes" or "no" }} Directly return the final JSON structure. Do not output anything else.""" @@ -210,7 +210,7 @@ def detect_page_index(toc_content, model=None): Reply format: {{ - "thinking": + "thinking": , "page_index_given_in_toc": "" }} Directly return the final JSON structure. Do not output anything else."""