docrag/requirements.txt
Z User eabdadfb62 Implement full DocRAG server with OpenAI-compatible API
Features:
- FastAPI server with OpenAI-compatible endpoints (/v1/chat/completions, /v1/models)
- RAG system with document processing and vector storage
- Support for multiple document formats (PDF, DOCX, HTML, text, code)
- Streaming response support
- Tool integration with website_downloader
- Document management API endpoints
- GLM-4.7-Flash integration via z-ai-web-dev-sdk
- Works transparently with Open WebUI and other OpenAI clients

Components:
- main.py: FastAPI application with OpenAI-compatible API
- rag/: RAG system (document processor, vector store, retriever)
- tools/: Tool manager with website_downloader integration
- .env.example: Configuration template
2026-03-29 00:57:37 +00:00

32 lines
622 B
Plaintext

# Core dependencies
fastapi~=0.115.0
uvicorn[standard]~=0.32.0
pydantic~=2.10.0
python-multipart~=0.0.20
# 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
# Optional: For using z-ai-web-dev-sdk with GLM-4.7-Flash
# Uncomment the following line if you have access to the SDK
# z-ai-web-dev-sdk>=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