mirror of
https://github.com/VectifyAI/PageIndex.git
synced 2026-04-24 23:56:21 +02:00
fix yaml
This commit is contained in:
parent
5663d9e942
commit
8a7f8132cf
2 changed files with 5 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
|||
model: gpt-4o-2024-11-20
|
||||
model: "gpt-4o-2024-11-20"
|
||||
toc_check_page_num: 20
|
||||
max_page_num_each_node: 10
|
||||
max_token_num_each_node: 20000
|
||||
if_add_node_id: yes
|
||||
if_add_node_summary: no
|
||||
if_add_doc_description: yes
|
||||
if_add_node_id: "yes"
|
||||
if_add_node_summary: "no"
|
||||
if_add_doc_description: "yes"
|
||||
|
|
@ -1033,7 +1033,7 @@ def page_index_main(doc, opt=None):
|
|||
|
||||
|
||||
def page_index(doc, model=None, toc_check_page_num=None, max_page_num_each_node=None, max_token_num_each_node=None,
|
||||
f_add_node_id=None, if_add_node_summary=None, if_add_doc_description=None):
|
||||
if_add_node_id=None, if_add_node_summary=None, if_add_doc_description=None):
|
||||
|
||||
user_opt = {
|
||||
arg: value for arg, value in locals().items()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue