mirror of
https://github.com/VectifyAI/PageIndex.git
synced 2026-06-12 19:55:17 +02:00
fix(filesystem): run pifs from local venv
This commit is contained in:
parent
a70fc672be
commit
21c83b6398
2 changed files with 10 additions and 5 deletions
12
pifs
12
pifs
|
|
@ -1,6 +1,10 @@
|
|||
#!/usr/bin/env python3
|
||||
from pageindex.filesystem.cli import main
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(main())
|
||||
if [ -x "$SCRIPT_DIR/.venv/bin/python" ]; then
|
||||
exec "$SCRIPT_DIR/.venv/bin/python" -m pageindex.filesystem.cli "$@"
|
||||
fi
|
||||
|
||||
exec python3 -m pageindex.filesystem.cli "$@"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
litellm==1.83.7
|
||||
# openai-agents # optional: required for examples/agentic_vectorless_rag_demo.py
|
||||
# openai-agents==0.17.2 # optional: required for pifs chat/ask and examples/agentic_vectorless_rag_demo.py
|
||||
pymupdf==1.26.4
|
||||
PyPDF2==3.0.1
|
||||
python-dotenv==1.2.2
|
||||
pyyaml==6.0.2
|
||||
sqlite-vec>=0.1.9
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue