PageIndex/requirements.txt
mountain 1dffa769a2 fix: sync requirements.txt with the SDK's runtime dependencies
The source-install path documented in the README (pip install -r
requirements.txt) was missing runtime deps the new SDK imports on
`import pageindex` — pydantic (config), typing-extensions (client),
requests (cloud/legacy API) — plus openai and httpx[socks]. A user
following that path hit ModuleNotFoundError before they could use even the
legacy APIs. Add them (openai-agents stays an optional install, matching the
README's agentic-demo section). Verified in a clean venv: `import pageindex`
and the legacy/core APIs now work with only requirements.txt installed.
2026-07-09 20:14:59 +08:00

11 lines
281 B
Text

litellm==1.84.0
pydantic==2.12.5
pymupdf==1.26.4
PyPDF2==3.0.1
python-dotenv==1.2.2
pyyaml==6.0.2
requests==2.33.1
httpx[socks]==0.28.1
typing-extensions==4.15.0
openai==2.30.0
# openai-agents # optional: required for local agentic query + examples/agentic_vectorless_rag_demo.py