Dongjin1203 commited on
Commit
0953caf
ยท
1 Parent(s): c52b2cd

feat: Upgrade to Python 3.12 with latest packages

Browse files
Files changed (1) hide show
  1. requirements.txt +50 -46
requirements.txt CHANGED
@@ -1,46 +1,50 @@
1
- # ===== Python 3.12 Dockerfile =====
2
- FROM python:3.12-slim
3
-
4
- # ์‹œ์Šคํ…œ ํŒจํ‚ค์ง€ ์„ค์น˜
5
- RUN apt-get update && apt-get install -y \
6
- git \
7
- curl \
8
- && rm -rf /var/lib/apt/lists/*
9
-
10
- # ์ž‘์—… ๋””๋ ‰ํ† ๋ฆฌ
11
- WORKDIR /app
12
-
13
- # ===== ํ™˜๊ฒฝ๋ณ€์ˆ˜ ์„ค์ • =====
14
- ENV HOME=/app
15
- ENV STREAMLIT_SERVER_FILE_WATCHER_TYPE=none
16
- ENV STREAMLIT_BROWSER_GATHER_USAGE_STATS=false
17
- ENV HF_HOME=/app/.cache/huggingface
18
- ENV HF_HUB_CACHE=/app/.cache/huggingface/hub
19
- ENV HUGGINGFACE_HUB_CACHE=/app/.cache/huggingface/hub
20
- ENV OMP_NUM_THREADS=1
21
- ENV MKL_NUM_THREADS=1
22
- ENV NUMEXPR_NUM_THREADS=1
23
-
24
- # ์บ์‹œ ๋””๋ ‰ํ† ๋ฆฌ ์ƒ์„ฑ ๋ฐ ๊ถŒํ•œ ์„ค์ •
25
- RUN mkdir -p /app/.cache/huggingface /app/.streamlit && \
26
- chmod -R 777 /app/.cache /app/.streamlit
27
-
28
- # ์˜์กด์„ฑ ๋ณต์‚ฌ
29
- COPY requirements.txt .
30
-
31
- # pip ์—…๊ทธ๋ ˆ์ด๋“œ & ์˜์กด์„ฑ ์„ค์น˜
32
- RUN pip install --no-cache-dir --upgrade pip setuptools wheel && \
33
- pip install --no-cache-dir -r requirements.txt
34
-
35
- # ํ”„๋กœ์ ํŠธ ํŒŒ์ผ ๋ณต์‚ฌ
36
- COPY . .
37
-
38
- # Streamlit ํฌํŠธ
39
- EXPOSE 7860
40
-
41
- # ์‹คํ–‰
42
- CMD ["streamlit", "run", "src/visualization/chatbot_app.py", \
43
- "--server.port=7860", \
44
- "--server.address=0.0.0.0", \
45
- "--server.headless=true", \
46
- "--server.fileWatcherType=none"]
 
 
 
 
 
1
+ # ===== LangChain ์ƒํƒœ๊ณ„ =====
2
+ langchain>=0.3.0
3
+ langchain-core>=0.3.0
4
+ langchain-text-splitters>=0.3.0
5
+ langchain-openai>=0.2.0
6
+ langchain-chroma>=0.1.4
7
+ langchain-community>=0.3.0
8
+
9
+ # ===== OpenAI API =====
10
+ openai>=1.54.0
11
+
12
+ # ===== ๋ฒกํ„ฐ DB =====
13
+ chromadb>=0.5.0
14
+
15
+ # ===== ๋ฌธ์„œ ์ฒ˜๋ฆฌ =====
16
+ pypdf>=5.0.0
17
+ olefile>=0.47
18
+
19
+ # ===== ๋ฐ์ดํ„ฐ ์ฒ˜๋ฆฌ =====
20
+ pandas>=2.2.0
21
+ numpy>=1.26.0
22
+ openpyxl>=3.1.0
23
+
24
+ # ===== ๊ฒ€์ƒ‰ & ์ž„๋ฒ ๋”ฉ =====
25
+ rank-bm25>=0.2.2
26
+ torch>=2.3.0
27
+ transformers>=4.44.0
28
+ sentence-transformers>=3.0.0
29
+ rapidfuzz>=3.9.0
30
+
31
+ # ===== Hugging Face Hub =====
32
+ huggingface-hub>=0.25.0
33
+
34
+ # ===== Streamlit UI =====
35
+ streamlit>=1.39.0
36
+ plotly>=5.24.0
37
+
38
+ # ===== ๋จธ์‹ ๋Ÿฌ๋‹ ์œ ํ‹ธ =====
39
+ scikit-learn>=1.5.0
40
+ matplotlib>=3.9.0
41
+
42
+ # ===== ์œ ํ‹ธ๋ฆฌํ‹ฐ =====
43
+ tqdm>=4.66.0
44
+ python-dotenv>=1.0.0
45
+
46
+ # ===== ํ‰๊ฐ€ & ๋ชจ๋‹ˆํ„ฐ๋ง (์„ ํƒ) =====
47
+ ragas>=0.2.0
48
+ langsmith>=0.1.0
49
+ wandb>=0.18.0
50
+ datasets>=3.0.0