Skip to content

docs: clarify and document --summary-token-threshold for markdown indexing - #482

Open
denis-samatov wants to merge 1 commit into
VectifyAI:mainfrom
denis-samatov:docs/markdown-summary-token-threshold
Open

docs: clarify and document --summary-token-threshold for markdown indexing#482
denis-samatov wants to merge 1 commit into
VectifyAI:mainfrom
denis-samatov:docs/markdown-summary-token-threshold

Conversation

@denis-samatov

Copy link
Copy Markdown

Summary

Changes

  1. run_pageindex.py:
    • Updated CLI argument help string for --summary-token-threshold to clearly explain the verbatim-copy behavior and how to force LLM summary generation for all nodes with 0.
  2. README.md:
    • Added Markdown CLI indexing section detailing python3 run_pageindex.py --md_path ... with descriptions for --summary-token-threshold, --if-thinning, and --thinning-threshold.
  3. pageindex/page_index_md.py:
    • Added explanatory docstring to get_node_summary().

Verification

  • Verified python3 run_pageindex.py --help output.
  • Ran test suite on markdown tests (tests/test_page_index_md.py passed).

Closes #355

…exing

- Document --summary-token-threshold semantics in README.md under Markdown CLI indexing
- Clarify in run_pageindex.py --help that nodes below threshold receive verbatim text as summary unless set to 0
- Add docstring explanation to get_node_summary in page_index_md.py

Closes VectifyAI#355
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Markdown path: below --summary-token-threshold, node text is copied verbatim into summary (undocumented; diverges from PDF path)

1 participant