File size: 1,350 Bytes
d7649d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Core dependencies
streamlit>=1.43.0
langchain>=0.1.0
langchain-community>=0.0.13
langchain-groq>=0.1.0
python-dotenv>=1.0.0

# API Clients
serpapi-python>=0.1.0
tavily-python>=0.2.0

# Document processing
PyPDF2>=3.0.0  # For PDF processing in Streamlit app
python-docx>=0.8.11  # For DOCX processing
pillow>=10.0.0  # For image handling
fpdf>=1.7.2  # For PDF generation in Streamlit app

# Additional dependencies for Streamlit app
markdown>=3.4.0
pygments>=2.15.0

# Optional dependencies (commented out to reduce deployment size)
# PyMuPDF>=1.23.0  # Alternative PDF processing
# weasyprint>=60.0  # Alternative PDF generation
# reportlab>=4.0.0  # Alternative PDF generation
# pytesseract>=0.3.10  # For OCR capabilities

# Hugging Face specific requirements
protobuf>=3.20.0
pyarrow>=10.0.0
fpdf2>=2.7.0  # Simple PDF generation
markdown-pdf>=0.0.7  # Optional PDF from markdown

# Output formatting
markdown>=3.5  # For markdown processing
pygments>=2.16.0  # For code syntax highlighting

# Language models (at least one required)
langchain-groq>=0.1.0  # Free tier available
langchain-ollama>=0.0.1  # Free, runs locally

# Optional but recommended LLMs
langchain-openai>=0.0.2  # If using OpenAI (not free)
langchain-anthropic>=0.1.1  # If using Anthropic (not free)

# Search tools (optional)
tavily-python>=0.2.0  # Free tier available