### how to 

```python
from pageindex import page_index
import json

result = page_index(
    doc="tests/pdfs/earthmover.pdf",
    model="gpt-4.1-mini-fiit",
    api_key="YOUR-API-KEY",
    api_base="https://litellm.blockfinlab.xyz",
)

print(json.dumps(result, indent=2, ensure_ascii=False))
```
