Skip to content

Commit 8794940

Browse files
author
Sagar
committed
dep 6
1 parent 3ac3441 commit 8794940

2 files changed

Lines changed: 53 additions & 1 deletion

File tree

.github/workflows/main_jurisfind-app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Install dependencies
3232
run: |
3333
cd api
34-
pip install -r requirements.txt
34+
pip install -r requirements-azure.txt
3535
3636
- name: Test Azure connection
3737
run: |

api/requirements-azure.txt

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Lightweight requirements for Azure App Service (CPU-only)
2+
3+
# Core FastAPI framework and ASGI server
4+
fastapi==0.115.12
5+
uvicorn[standard]==0.34.0
6+
gunicorn==23.0.0
7+
starlette==0.46.1
8+
pydantic==2.8.2
9+
pydantic-core==2.20.1
10+
python-multipart==0.0.20
11+
12+
# Machine Learning and NLP (CPU versions)
13+
sentence-transformers==4.1.0
14+
transformers==4.49.0
15+
torch==2.6.0+cpu --find-links https://download.pytorch.org/whl/torch_stable.html
16+
tokenizers==0.21.1
17+
huggingface-hub==0.29.3
18+
safetensors==0.5.3
19+
20+
# Vector search and embeddings
21+
faiss-cpu==1.10.0
22+
numpy==1.26.4
23+
24+
# PDF processing
25+
PyMuPDF==1.24.13
26+
27+
# HTTP client and utilities
28+
httpx==0.27.0
29+
requests==2.32.3
30+
aiohttp==3.10.5
31+
32+
# LangChain ecosystem
33+
langchain==0.3.21
34+
langchain-community==0.3.20
35+
langchain-core==0.3.49
36+
langchain-text-splitters==0.3.7
37+
langchain-huggingface==0.1.2
38+
langsmith==0.3.19
39+
40+
# Groq AI integration
41+
groq==0.15.0
42+
43+
# Development and utilities
44+
python-dotenv==1.1.0
45+
pytest==8.3.4
46+
tqdm==4.66.5
47+
typing-extensions==4.11.0
48+
49+
# Azure cloud services
50+
azure-storage-blob==12.19.0
51+
azure-core==1.29.5
52+
azure-identity==1.15.0

0 commit comments

Comments
 (0)