docrag/requirements.txt
Z User b23964b35a Switch from ZAI SDK to OpenRouter with openrouter/free model
- Replace z-ai-web-dev-sdk with openai SDK
- Add OPENROUTER_API_KEY and OPENROUTER_BASE_URL config
- Update AsyncOpenAI client for OpenRouter
- Update generate_response and stream_chat_completion
- Update .env.example with OpenRouter settings
2026-03-29 04:35:54 +00:00

32 lines
546 B
Plaintext

# Core dependencies
fastapi~=0.115.0
uvicorn[standard]~=0.32.0
pydantic~=2.10.0
python-multipart~=0.0.20
python-dotenv~=1.0.0
# HTTP and async
aiohttp~=3.11.0
httpx~=0.28.0
requests~=2.32.4
# Web scraping (for website downloader)
beautifulsoup4~=4.13.4
lxml~=5.3.0
urllib3~=2.5.0
# Document processing
PyMuPDF~=1.25.0
python-docx~=1.1.0
# LLM API client (for OpenRouter)
openai~=1.0.0
# Vector store alternatives (uncomment as needed)
# chromadb~=0.5.0
# faiss-cpu~=1.9.0
# Development dependencies
# pytest~=8.3.0
# pytest-asyncio~=0.24.0