mirror of
https://github.com/VectifyAI/PageIndex.git
synced 2026-07-24 21:41:04 +02:00
index/utils.py mixes LLM callers with plain string/dict helpers, so any consumer of parse_pages/create_node_mapping (retrieve, page_index_md, the cloud backend's tree normalization) paid litellm's multi-second import and network fetch. The heavy imports now happen at first real use; sys.modules caches them after that. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| page_index.py | ||
| page_index_md.py | ||
| pipeline.py | ||
| utils.py | ||