Spaces:
Build error
Build error
Commit
·
e8de95e
1
Parent(s):
a4e11b2
Backup
Browse files- Dockerfile +10 -0
- poetry.lock +0 -0
- pyproject.toml +227 -0
- requirements.txt +0 -0
Dockerfile
CHANGED
@@ -1,5 +1,15 @@
|
|
1 |
FROM python:3.10
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
RUN useradd -m -u 1000 user
|
4 |
|
5 |
WORKDIR /code
|
|
|
1 |
FROM python:3.10
|
2 |
|
3 |
+
# Install Poetry
|
4 |
+
RUN curl -sSL https://install.python-poetry.org | python3 -
|
5 |
+
|
6 |
+
# Set PATH
|
7 |
+
ENV PATH="/root/.local/bin:$PATH"
|
8 |
+
|
9 |
+
# Install dependencies
|
10 |
+
RUN poetry install --no-root
|
11 |
+
|
12 |
+
|
13 |
RUN useradd -m -u 1000 user
|
14 |
|
15 |
WORKDIR /code
|
poetry.lock
ADDED
The diff for this file is too large to render.
See raw diff
|
|
pyproject.toml
ADDED
@@ -0,0 +1,227 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[project]
|
2 |
+
name = "rag_whatsapp"
|
3 |
+
version = "0.1.0"
|
4 |
+
description = "The implementation of RAG on WhatsApp"
|
5 |
+
authors = [
|
6 |
+
{name = "deduu",email = "dedy.ariansyah1@gmail.com"}
|
7 |
+
]
|
8 |
+
license = {text = "Apache 2.0"}
|
9 |
+
readme = "README.md"
|
10 |
+
requires-python = ">=3.10,<3.13"
|
11 |
+
dependencies = [
|
12 |
+
"aiofiles (==24.1.0)",
|
13 |
+
"aiohappyeyeballs (==2.4.3)",
|
14 |
+
"aiohttp (==3.11.7)",
|
15 |
+
"aiosignal (==1.3.1)",
|
16 |
+
"annotated-types (==0.7.0)",
|
17 |
+
"anyio (==4.6.2.post1)",
|
18 |
+
"asttokens (==3.0.0)",
|
19 |
+
"async-timeout (==4.0.3)",
|
20 |
+
"attrs (==24.2.0)",
|
21 |
+
"beautifulsoup4 (==4.12.3)",
|
22 |
+
"blis (==1.1.0)",
|
23 |
+
"cachetools (==5.5.0)",
|
24 |
+
"catalogue (==2.0.10)",
|
25 |
+
"certifi (==2024.8.30)",
|
26 |
+
"cffi (==1.17.1)",
|
27 |
+
"charset-normalizer (==3.4.0)",
|
28 |
+
"click (==8.1.7)",
|
29 |
+
"cloudpathlib (==0.20.0)",
|
30 |
+
"cobble (==0.1.4)",
|
31 |
+
"colorama (==0.4.6)",
|
32 |
+
"comm (==0.2.2)",
|
33 |
+
"confection (==0.1.5)",
|
34 |
+
"cryptography (==44.0.0)",
|
35 |
+
"cymem (==2.0.10)",
|
36 |
+
"dataclasses-json (==0.6.7)",
|
37 |
+
"datasets (==3.2.0)",
|
38 |
+
"debugpy (==1.8.11)",
|
39 |
+
"decorator (==5.1.1)",
|
40 |
+
"defusedxml (==0.7.1)",
|
41 |
+
"deprecated (==1.2.15)",
|
42 |
+
"dill (==0.3.8)",
|
43 |
+
"distro (==1.9.0)",
|
44 |
+
"dnspython (==2.7.0)",
|
45 |
+
"email-validator (==2.2.0)",
|
46 |
+
"et-xmlfile (==2.0.0)",
|
47 |
+
"exceptiongroup (==1.2.2)",
|
48 |
+
"executing (==2.1.0)",
|
49 |
+
"faiss-cpu (==1.9.0.post1)",
|
50 |
+
"fastapi (==0.115.5)",
|
51 |
+
"filelock (==3.16.1)",
|
52 |
+
"frozenlist (==1.5.0)",
|
53 |
+
"fsspec (==2024.9.0)",
|
54 |
+
"google-ai-generativelanguage (==0.6.10)",
|
55 |
+
"google-api-core (==2.23.0)",
|
56 |
+
"google-api-python-client (==2.154.0)",
|
57 |
+
"google-auth (==2.36.0)",
|
58 |
+
"google-auth-httplib2 (==0.2.0)",
|
59 |
+
"google-genai (==1.1.0)",
|
60 |
+
"google-generativeai (==0.8.3)",
|
61 |
+
"googleapis-common-protos (==1.66.0)",
|
62 |
+
"greenlet (==3.1.1)",
|
63 |
+
"grpcio (==1.68.0)",
|
64 |
+
"grpcio-status (==1.68.0)",
|
65 |
+
"h11 (==0.14.0)",
|
66 |
+
"httpcore (==1.0.7)",
|
67 |
+
"httplib2 (==0.22.0)",
|
68 |
+
"httpx (==0.27.2)",
|
69 |
+
"httpx-sse (==0.4.0)",
|
70 |
+
"huggingface-hub (==0.27.0)",
|
71 |
+
"idna (==3.10)",
|
72 |
+
"iniconfig (==2.0.0)",
|
73 |
+
"ipykernel (==6.29.5)",
|
74 |
+
"ipython (==8.30.0)",
|
75 |
+
"jedi (==0.19.2)",
|
76 |
+
"jinja2 (==3.1.4)",
|
77 |
+
"jiter (==0.7.1)",
|
78 |
+
"joblib (==1.4.2)",
|
79 |
+
"jsonpatch (==1.33)",
|
80 |
+
"jsonpointer (==3.0.0)",
|
81 |
+
"jupyter-client (==8.6.3)",
|
82 |
+
"jupyter-core (==5.7.2)",
|
83 |
+
"keybert (==0.8.5)",
|
84 |
+
"langchain (==0.3.12)",
|
85 |
+
"langchain-community (==0.3.12)",
|
86 |
+
"langchain-core (==0.3.25)",
|
87 |
+
"langchain-text-splitters (==0.3.3)",
|
88 |
+
"langcodes (==3.5.0)",
|
89 |
+
"langsmith (==0.2.3)",
|
90 |
+
"language-data (==1.3.0)",
|
91 |
+
"limits (==3.14.1)",
|
92 |
+
"lxml (==5.3.0)",
|
93 |
+
"mammoth (==1.8.0)",
|
94 |
+
"marisa-trie (==1.2.1)",
|
95 |
+
"markdown-it-py (==3.0.0)",
|
96 |
+
"markdownify (==0.14.1)",
|
97 |
+
"markitdown (==0.0.1a3)",
|
98 |
+
"markupsafe (==3.0.2)",
|
99 |
+
"marshmallow (==3.23.1)",
|
100 |
+
"matplotlib-inline (==0.1.7)",
|
101 |
+
"mdurl (==0.1.2)",
|
102 |
+
"mongopy (==0.1)",
|
103 |
+
"motor (==3.6.0)",
|
104 |
+
"mpmath (==1.3.0)",
|
105 |
+
"multidict (==6.1.0)",
|
106 |
+
"multiprocess (==0.70.16)",
|
107 |
+
"murmurhash (==1.0.11)",
|
108 |
+
"mypy-extensions (==1.0.0)",
|
109 |
+
"nest-asyncio (==1.6.0)",
|
110 |
+
"networkx (==3.4.2)",
|
111 |
+
"nltk (==3.9.1)",
|
112 |
+
"nose (==1.3.7)",
|
113 |
+
"numpy (==1.26.4)",
|
114 |
+
"nvidia-cublas-cu12 (==12.4.5.8)",
|
115 |
+
"nvidia-cuda-cupti-cu12 (==12.4.127)",
|
116 |
+
"nvidia-cuda-nvrtc-cu12 (==12.4.127)",
|
117 |
+
"nvidia-cuda-runtime-cu12 (==12.4.127)",
|
118 |
+
"nvidia-cudnn-cu12 (==9.1.0.70)",
|
119 |
+
"nvidia-cufft-cu12 (==11.2.1.3)",
|
120 |
+
"nvidia-curand-cu12 (==10.3.5.147)",
|
121 |
+
"nvidia-cusolver-cu12 (==11.6.1.9)",
|
122 |
+
"nvidia-cusparse-cu12 (==12.3.1.170)",
|
123 |
+
"nvidia-nccl-cu12 (==2.21.5)",
|
124 |
+
"nvidia-nvjitlink-cu12 (==12.4.127)",
|
125 |
+
"nvidia-nvtx-cu12 (==12.4.127)",
|
126 |
+
"openai (==1.55.0)",
|
127 |
+
"openpyxl (==3.1.5)",
|
128 |
+
"orjson (==3.10.12)",
|
129 |
+
"packaging (==24.2)",
|
130 |
+
"pandas (==2.2.3)",
|
131 |
+
"parso (==0.8.4)",
|
132 |
+
"pathvalidate (==3.2.1)",
|
133 |
+
"pdfminer-six (==20240706)",
|
134 |
+
"pexpect (==4.9.0)",
|
135 |
+
"pillow (==11.0.0)",
|
136 |
+
"platformdirs (==4.3.6)",
|
137 |
+
"pluggy (==1.5.0)",
|
138 |
+
"preshed (==3.0.9)",
|
139 |
+
"prometheus-client (==0.21.1)",
|
140 |
+
"prompt-toolkit (==3.0.48)",
|
141 |
+
"propcache (==0.2.0)",
|
142 |
+
"proto-plus (==1.25.0)",
|
143 |
+
"protobuf (==5.28.3)",
|
144 |
+
"psutil (==6.1.0)",
|
145 |
+
"ptyprocess (==0.7.0)",
|
146 |
+
"pure-eval (==0.2.3)",
|
147 |
+
"puremagic (==1.28)",
|
148 |
+
"pyarrow (==18.1.0)",
|
149 |
+
"pyasn1 (==0.6.1)",
|
150 |
+
"pyasn1-modules (==0.4.1)",
|
151 |
+
"pycparser (==2.22)",
|
152 |
+
"pydantic (==2.9.2)",
|
153 |
+
"pydantic-settings (==2.6.1)",
|
154 |
+
"pydantic-core (==2.23.4)",
|
155 |
+
"pydub (==0.25.1)",
|
156 |
+
"pygments (==2.18.0)",
|
157 |
+
"pymongo (==4.9.2)",
|
158 |
+
"pyngrok (==7.2.1)",
|
159 |
+
"pyparsing (==3.2.0)",
|
160 |
+
"pytest (==8.3.4)",
|
161 |
+
"python-dateutil (==2.9.0.post0)",
|
162 |
+
"python-dotenv (==1.0.1)",
|
163 |
+
"python-multipart (==0.0.20)",
|
164 |
+
"python-pptx (==1.0.2)",
|
165 |
+
"pytz (==2024.2)",
|
166 |
+
"pyyaml (==6.0.2)",
|
167 |
+
"pyzmq (==26.2.0)",
|
168 |
+
"rank-bm25 (==0.2.2)",
|
169 |
+
"redis (==5.2.1)",
|
170 |
+
"regex (==2024.11.6)",
|
171 |
+
"requests (==2.32.3)",
|
172 |
+
"requests-toolbelt (==1.0.0)",
|
173 |
+
"rich (==13.9.4)",
|
174 |
+
"rsa (==4.9)",
|
175 |
+
"safetensors (==0.4.5)",
|
176 |
+
"scikit-learn (==1.6.0)",
|
177 |
+
"scipy (==1.14.1)",
|
178 |
+
"sentence-transformers (==3.3.1)",
|
179 |
+
"shellingham (==1.5.4)",
|
180 |
+
"six (==1.17.0)",
|
181 |
+
"slowapi (==0.1.9)",
|
182 |
+
"smart-open (==7.1.0)",
|
183 |
+
"sniffio (==1.3.1)",
|
184 |
+
"soupsieve (==2.6)",
|
185 |
+
"spacy (==3.8.3)",
|
186 |
+
"spacy-legacy (==3.0.12)",
|
187 |
+
"spacy-loggers (==1.0.5)",
|
188 |
+
"speechrecognition (==3.12.0)",
|
189 |
+
"sqlalchemy (==2.0.36)",
|
190 |
+
"srsly (==2.5.0)",
|
191 |
+
"stack-data (==0.6.3)",
|
192 |
+
"starlette (==0.41.3)",
|
193 |
+
"sympy (==1.13.1)",
|
194 |
+
"tenacity (==9.0.0)",
|
195 |
+
"thinc (==8.3.3)",
|
196 |
+
"threadpoolctl (==3.5.0)",
|
197 |
+
"tiktoken (==0.8.0)",
|
198 |
+
"tokenizers (==0.21.0)",
|
199 |
+
"tomli (==2.2.1)",
|
200 |
+
"torch (==2.5.1)",
|
201 |
+
"tornado (==6.4.2)",
|
202 |
+
"tqdm (==4.67.0)",
|
203 |
+
"traitlets (==5.14.3)",
|
204 |
+
"transformers (==4.47.1)",
|
205 |
+
"triton (==3.1.0)",
|
206 |
+
"typer (==0.15.1)",
|
207 |
+
"typing-inspect (==0.9.0)",
|
208 |
+
"typing-extensions (==4.12.2)",
|
209 |
+
"tzdata (==2024.2)",
|
210 |
+
"uritemplate (==4.1.1)",
|
211 |
+
"urllib3 (==2.2.3)",
|
212 |
+
"uvicorn (==0.32.0)",
|
213 |
+
"wasabi (==1.1.3)",
|
214 |
+
"wcwidth (==0.2.13)",
|
215 |
+
"weasel (==0.4.1)",
|
216 |
+
"websockets (==14.2)",
|
217 |
+
"wrapt (==1.17.0)",
|
218 |
+
"xlsxwriter (==3.2.0)",
|
219 |
+
"xxhash (==3.5.0)",
|
220 |
+
"yarl (==1.18.0)",
|
221 |
+
"youtube-transcript-api (==0.6.3)"
|
222 |
+
]
|
223 |
+
|
224 |
+
|
225 |
+
[build-system]
|
226 |
+
requires = ["poetry-core>=2.0.0,<3.0.0"]
|
227 |
+
build-backend = "poetry.core.masonry.api"
|
requirements.txt
CHANGED
Binary files a/requirements.txt and b/requirements.txt differ
|
|