Skip to content

Commit 4d34baf

Browse files
committed
fix: rename chapter structure to document tree structure in query prompt
1 parent bebfbdb commit 4d34baf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openkb/agent/query.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
4. When you need detailed source content, check the summary's full_text field:
2525
- Short documents (full_text ends in .md): read_file(full_text) for the full text.
2626
- PageIndex documents (full_text ends in .json): use get_page_content(doc_name, pages)
27-
to read specific pages. The summary shows chapter structure with page ranges.
27+
to read specific pages. The summary shows document tree structure with page ranges.
2828
5. Synthesise a clear, well-cited answer grounded in wiki content.
2929
3030
If you cannot find relevant information, say so clearly.
@@ -49,7 +49,7 @@ def read_file(path: str) -> str:
4949
def get_page_content_tool(doc_name: str, pages: str) -> str:
5050
"""Get text content of specific pages from a long document.
5151
Use this when you need detailed content from a document. The summary
52-
page shows chapter structure with page ranges.
52+
page shows document tree structure with page ranges.
5353
Args:
5454
doc_name: Document name (e.g. 'attention-is-all-you-need').
5555
pages: Page specification (e.g. '3-5,7,10-12').

0 commit comments

Comments
 (0)