mirror of
https://github.com/VectifyAI/PageIndex.git
synced 2026-07-15 21:11:05 +02:00
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.
This commit is contained in:
parent
72f623ad5d
commit
1dffa769a2
1 changed files with 6 additions and 1 deletions
|
|
@ -1,6 +1,11 @@
|
|||
litellm==1.84.0
|
||||
# openai-agents # optional: required for examples/agentic_vectorless_rag_demo.py
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue