chatbot_test / requirement.txt
minh9972t12's picture
Create requirement.txt
0216e60 verified
raw
history blame
2.61 kB
# ============================================
# Core API Framework
# ============================================
fastapi==0.115.5
uvicorn[standard]==0.32.1
python-multipart==0.0.20
pydantic>=2.0.0
# ============================================
# HTTP Requests & Client
# ============================================
requests>=2.31.0
httpx>=0.25.0
# ============================================
# Hugging Face LLM & Inference
# ============================================
huggingface-hub>=0.20.0
# For LLM inference (chatbot, tags generation)
# ============================================
# Machine Learning & Embeddings
# ============================================
# Jina CLIP v2 for multimodal embeddings
torch>=2.0.0
transformers>=4.50.0
torchvision>=0.15.0
onnxruntime==1.20.1
sentence-transformers>=2.2.2
pillow>=10.0.0
numpy>=1.24.0
# ============================================
# Vector Database - Qdrant
# ============================================
qdrant-client>=1.12.1
grpcio>=1.60.0
# ============================================
# Document Database - MongoDB
# ============================================
pymongo>=4.6.0
# ============================================
# Image Processing
# ============================================
opencv-python>=4.8.0
# ============================================
# PDF & Document Processing (Optional)
# ============================================
# Uncomment if you need PDF parsing
# PyPDF2>=3.0.0
# pdfplumber>=0.10.0
# unstructured>=0.10.0 # Advanced document parsing
# ============================================
# OCR - Text Extraction from Images (Optional)
# ============================================
# Uncomment if you need OCR capabilities
# pytesseract>=0.3.10
# easyocr>=1.7.0
# ============================================
# Text Processing & NLP
# ============================================
nltk>=3.8.0
# langchain>=0.0.335 # Advanced RAG features (optional)
# ============================================
# Gradio for Hugging Face Spaces (Optional)
# ============================================
gradio>=4.0.0
# Only needed if deploying to HF Spaces
# ============================================
# Utilities
# ============================================
python-dotenv==1.0.0
python-dateutil>=2.8.2
loguru>=0.7.0 # Better logging
# ============================================
# Data Processing
# ============================================
pandas>=2.1.0
# ============================================
# Testing (Development)
# ============================================
pytest>=7.4.0
pytest-asyncio>=0.21.0