PageIndex/pageindex
Ray 1170b10ee0 perf: lazy-load the legacy indexing exports from pageindex/__init__
`import pageindex` eagerly pulled the whole indexing stack — litellm
(which fetches a remote model cost map at import) and PyPDF2 — costing
~3.3s plus a network attempt for cloud-only 0.2.x users who never touch
local indexing. Legacy pre-SDK names now resolve via PEP 562
__getattr__; a TYPE_CHECKING block keeps real signatures for IDEs.
Import drops to ~0.3s with zero network and no litellm/PyPDF2 in
sys.modules until a legacy indexing name is actually used.
2026-07-24 01:28:18 +08:00
..
backend fix: drop unrecognized stream_metadata, align sort and page_count 2026-07-24 00:36:28 +08:00
index chore: trim fix-rationale comments 2026-07-22 12:33:30 +08:00
parser fix: keep the file extension in SDK doc_name, matching legacy and cloud 2026-07-21 18:46:15 +08:00
storage fix: drop unrecognized stream_metadata, align sort and page_count 2026-07-24 00:36:28 +08:00
__init__.py perf: lazy-load the legacy indexing exports from pageindex/__init__ 2026-07-24 01:28:18 +08:00
_validation.py fix: track pageindex/_validation.py 2026-07-23 23:59:55 +08:00
agent.py fix: use doc_name in agent tools, matching the cloud agent contract 2026-07-24 00:31:11 +08:00
client.py fix: drop the deprecation marker from the 0.2.x SDK methods 2026-07-24 01:00:26 +08:00
cloud_api.py fix: drop unrecognized stream_metadata, align sort and page_count 2026-07-24 00:36:28 +08:00
collection.py fix: use doc_name in agent tools, matching the cloud agent contract 2026-07-24 00:31:11 +08:00
config.py chore: trim fix-rationale comments 2026-07-22 12:33:30 +08:00
config.yaml fix: default SDK retrieve_model to gpt-5.4 instead of following model 2026-07-16 16:09:07 +08:00
errors.py fix: address max-effort review findings 2026-07-13 18:49:09 +08:00
events.py fix: enforce collection membership on cloud query doc_ids 2026-07-16 14:40:19 +08:00
page_index.py fix: drop deprecation warnings from the top-level module shims 2026-07-24 01:08:03 +08:00
page_index_md.py fix: drop deprecation warnings from the top-level module shims 2026-07-24 01:08:03 +08:00
retrieve.py chore: trim fix-rationale comments, restore --model help, drop stale gitignore entry 2026-07-19 16:16:09 +08:00
tokens.py refactor(sdk): typed returns, protocol contract, parser layering 2026-07-07 12:15:34 +08:00
types.py feat: restore status and page/line counts in local get_document 2026-07-19 15:25:25 +08:00
utils.py fix: drop deprecation warnings from the top-level module shims 2026-07-24 01:08:03 +08:00