avfranco commited on
Commit
05f7ee3
·
1 Parent(s): 69ea3ce

ea4all-agentic-companion-lgs-pmo-deployment

Browse files
Files changed (4) hide show
  1. Dockerfile +6 -1
  2. packages.txt +1 -0
  3. requirements.txt +189 -201
  4. run-ea4all-docker.sh +33 -0
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM python:3.11.3
2
 
3
  # Set up a new user named "user" with user ID 1000
4
  RUN useradd -m -u 1000 user
@@ -24,6 +24,10 @@ RUN --mount=type=secret,id=HUGGINGFACEHUB_API_TOKEN,mode=0444,required=true \
24
  RUN --mount=type=secret,id=BING_SUBSCRIPTION_KEY,mode=0444,required=true
25
  # CONFLUENCE API KEY
26
  RUN --mount=type=secret,id=CONFLUENCE_API_KEY,mode=0444,required=true
 
 
 
 
27
 
28
  # Install Git and Git LFS RUN apt-get update && apt-get install -y git-lfs # Initialize Git LFS RUN git lfs install
29
  USER root
@@ -53,4 +57,5 @@ RUN apt-get update --fix-missing \
53
  && apt-get clean
54
  USER user
55
 
 
56
  CMD ["python","app.py"]
 
1
+ FROM python:3.12.10
2
 
3
  # Set up a new user named "user" with user ID 1000
4
  RUN useradd -m -u 1000 user
 
24
  RUN --mount=type=secret,id=BING_SUBSCRIPTION_KEY,mode=0444,required=true
25
  # CONFLUENCE API KEY
26
  RUN --mount=type=secret,id=CONFLUENCE_API_KEY,mode=0444,required=true
27
+ # GOOGLE GEMINI API KEY
28
+ RUN --mount=type=secret,id=GEMINI_API_KEY,mode=0444,required=true
29
+ # LANGSMITH API KEY
30
+ RUN --mount=type=secret,id=LANGSMITH_API_KEY,mode=0444,required=true
31
 
32
  # Install Git and Git LFS RUN apt-get update && apt-get install -y git-lfs # Initialize Git LFS RUN git lfs install
33
  USER root
 
57
  && apt-get clean
58
  USER user
59
 
60
+ # Start app
61
  CMD ["python","app.py"]
packages.txt CHANGED
@@ -1 +1,2 @@
1
  graphviz
 
 
1
  graphviz
2
+ sqlite3
requirements.txt CHANGED
@@ -1,242 +1,230 @@
1
- aiofiles==23.2.1
2
- aiohttp==3.9.5
3
- aiosignal==1.3.1
4
- altair==5.3.0
5
  annotated-types==0.7.0
6
- anyio==4.4.0
7
- appnope==0.1.4
8
- argon2-cffi==23.1.0
9
- argon2-cffi-bindings==21.2.0
10
- arrow==1.3.0
11
- asttokens==2.4.1
12
- async-lru==2.0.4
13
- atlassian-python-api==3.41.16
14
- attrs==23.2.0
15
- Babel==2.15.0
16
- beautifulsoup4==4.12.3
17
- bleach==6.1.0
18
- certifi==2024.7.4
19
- cffi==1.16.0
20
- charset-normalizer==3.3.2
21
- click==8.1.7
22
- colored==2.2.4
23
- comm==0.2.2
24
- contourpy==1.2.1
25
- cycler==0.12.1
26
- data-printer==0.0.8
 
 
 
27
  dataclasses-json==0.6.7
28
- debugpy==1.8.2
29
- decorator==5.1.1
30
- deepsearch-glm==0.26.1
31
- defusedxml==0.7.1
32
- Deprecated==1.2.15
33
- dist-info==0.1.1
34
  distro==1.9.0
35
- dnspython==2.6.1
36
- docling==2.4.0
37
- docling-core==2.3.1
38
- docling-ibm-models==2.0.3
39
- docling-parse==2.0.3
40
- docutils==0.21.2
41
- easyocr==1.7.2
42
- email_validator==2.2.0
43
- et-xmlfile==1.1.0
44
- executing==2.0.1
45
- faiss-cpu==1.8.0.post1
46
- fastapi==0.115.5
47
- fastapi-cli==0.0.4
48
- fastjsonschema==2.20.0
49
- ffmpy==0.3.2
50
- filelock==3.15.4
51
  filetype==1.2.0
52
- fonttools==4.53.1
53
- fqdn==1.5.1
54
- frozenlist==1.4.1
55
- fsspec==2024.6.1
56
- gradio==5.6.0
57
- gradio_client==1.4.3
 
 
 
58
  graphviz==0.20.3
59
- greenlet==3.0.3
60
- h11==0.14.0
61
- httpcore==1.0.5
62
- httptools==0.6.1
63
- httpx==0.27.0
 
 
 
 
64
  httpx-sse==0.4.0
65
- huggingface-hub==0.26.2
66
- idna==3.7
67
- imageio==2.36.0
68
- importlib_resources==6.4.0
69
- ipykernel==6.29.5
70
- ipython==8.26.0
71
- ipywidgets==8.1.3
72
- isoduration==20.11.0
73
- jedi==0.19.1
74
- Jinja2==3.1.4
75
- jiter==0.5.0
76
  jmespath==1.0.1
77
  joblib==1.4.2
78
- jq==1.7.0
79
- json5==0.9.25
80
- jsonlines==3.1.0
81
  jsonpatch==1.33
 
82
  jsonpointer==3.0.0
83
  jsonref==1.1.0
84
  jsonschema==4.23.0
85
- jsonschema-specifications==2023.12.1
86
- jupyter==1.0.0
87
- jupyter-console==6.6.3
88
- jupyter-events==0.10.0
89
- jupyter-lsp==2.2.5
90
- jupyter_client==8.6.2
91
- jupyter_core==5.7.2
92
- jupyter_server==2.14.2
93
- jupyter_server_terminals==0.5.3
94
- jupyterlab==4.2.4
95
- jupyterlab_pygments==0.3.0
96
- jupyterlab_server==2.27.3
97
- jupyterlab_widgets==3.0.11
98
- kiwisolver==1.4.5
99
- langchain==0.3.7
100
- langchain-community==0.3.7
101
- langchain-core==0.3.19
102
- langchain-experimental==0.3.2
103
  langchain-huggingface==0.1.2
104
- langchain-openai==0.2.9
105
- langchain-text-splitters==0.3.0
106
  langchainhub==0.1.21
107
- langgraph==0.2.53
108
- langgraph-checkpoint==2.0.5
109
- langgraph-sdk==0.1.36
110
- langsmith==0.1.144
111
- lazy_loader==0.4
112
- lxml==4.9.4
113
- Markdown==3.7
114
  markdown-it-py==3.0.0
115
  markdownify==0.14.1
116
- marko==2.1.2
117
- MarkupSafe==2.1.5
118
- marshmallow==3.21.3
119
- matplotlib==3.9.1
120
  matplotlib-inline==0.1.7
 
121
  mdurl==0.1.2
122
- mean-average-precision==2021.4.26.0
123
- mistune==3.0.2
124
  mpmath==1.3.0
125
- msgpack==1.1.0
126
- multidict==6.0.5
127
- mypy-extensions==1.0.0
128
- nbclient==0.10.0
129
- nbconvert==7.16.4
130
- nbformat==5.10.4
131
- nest-asyncio==1.6.0
132
- networkx==3.3
133
- ninja==1.11.1.1
134
- notebook==7.2.1
135
- notebook_shim==0.2.4
136
- numpy==1.26.4
137
  oauthlib==3.2.2
138
- ollama==0.3.1
139
- openai==1.55.0
140
- opencv-python-headless==4.10.0.84
 
 
 
 
141
  openpyxl==3.1.5
142
- orjson==3.10.6
 
 
 
 
 
 
 
 
 
 
 
 
 
143
  overrides==7.7.0
144
- packaging==24.1
145
- pandas==2.2.2
146
- pandocfilters==1.5.1
147
  parso==0.8.4
 
 
148
  pexpect==4.9.0
149
- pillow==10.4.0
150
- platformdirs==4.2.2
151
- prometheus_client==0.20.0
152
- prompt_toolkit==3.0.47
 
 
 
153
  psutil==5.9.8
154
  ptyprocess==0.7.0
155
- pure_eval==0.2.3
156
- pyarrow==16.1.0
157
- pyclipper==1.3.0.post6
158
  pycparser==2.22
159
- pydantic==2.9.2
160
- pydantic-settings==2.5.2
161
- pydantic_core==2.23.4
162
  pydub==0.25.1
163
- Pygments==2.18.0
164
- pyparsing==3.1.2
165
- pypdfium2==4.30.0
166
- python-bidi==0.6.3
 
167
  python-dateutil==2.9.0.post0
168
- python-docx==1.1.2
169
- python-dotenv==1.0.1
170
- python-json-logger==2.0.7
171
- python-multipart==0.0.12
172
- python-pptx==1.0.2
173
- pytz==2024.1
174
- PyYAML==6.0.1
175
- pyzmq==26.0.3
176
- qtconsole==5.5.2
177
- QtPy==2.4.1
178
- referencing==0.35.1
179
- regex==2024.7.24
180
  requests==2.32.3
181
  requests-oauthlib==2.0.0
182
  requests-toolbelt==1.0.0
183
- rfc3339-validator==0.1.4
184
- rfc3986-validator==0.1.1
185
- rich==13.7.1
186
- rpds-py==0.19.1
187
- Rtree==1.3.0
188
- ruff==0.5.5
189
- safehttpx==0.1.1
190
- safetensors==0.4.3
191
- scikit-image==0.24.0
192
- scikit-learn==1.5.1
193
- scipy==1.14.1
194
  semantic-version==2.10.0
195
- Send2Trash==1.8.3
196
- sentence-transformers==3.0.1
197
- shapely==2.0.6
198
  shellingham==1.5.4
199
- six==1.16.0
200
  sniffio==1.3.1
201
- soupsieve==2.5
202
- spaces==0.30.2
203
- SQLAlchemy==2.0.31
 
204
  stack-data==0.6.3
205
- starlette==0.41.3
206
- sympy==1.13.1
207
- tabulate==0.9.0
208
- tenacity==8.5.0
209
- terminado==0.18.1
210
- threadpoolctl==3.5.0
211
- tifffile==2024.9.20
212
- tiktoken==0.7.0
213
- tinycss2==1.3.0
214
- tokenizers==0.19.1
215
- tomlkit==0.12.0
216
- toolz==0.12.1
217
  torch==2.2.2
218
- torchvision==0.17.2
219
- tornado==6.4.1
220
- tqdm==4.66.4
221
  traitlets==5.14.3
222
- transformers==4.43.2
223
- typer==0.12.5
224
- types-python-dateutil==2.9.0.20240316
225
- types-requests==2.32.0.20240712
226
  typing-inspect==0.9.0
227
- typing_extensions==4.12.2
228
- tzdata==2024.1
229
- uri-template==1.3.0
230
- urllib3==2.2.2
231
- uvicorn==0.30.3
232
- uvloop==0.19.0
233
- watchfiles==0.22.0
234
  wcwidth==0.2.13
235
- webcolors==24.6.0
236
- webencodings==0.5.1
237
  websocket-client==1.8.0
238
- websockets==11.0.3
239
- widgetsnbextension==4.0.11
240
- wrapt==1.16.0
241
- XlsxWriter==3.2.0
242
- yarl==1.9.4
 
1
+ aiofiles==24.1.0
2
+ aiohappyeyeballs==2.6.1
3
+ aiohttp==3.11.18
4
+ aiosignal==1.3.2
5
  annotated-types==0.7.0
6
+ anthropic==0.50.0
7
+ anyio==4.9.0
8
+ appdirs==1.4.4
9
+ asgiref==3.8.1
10
+ asttokens==3.0.0
11
+ atlassian-python-api==4.0.3
12
+ attrs==25.3.0
13
+ auth0-python==4.9.0
14
+ backoff==2.2.1
15
+ bcrypt==4.3.0
16
+ beautifulsoup4==4.13.4
17
+ blinker==1.9.0
18
+ boto3==1.38.8
19
+ botocore==1.38.8
20
+ build==1.2.2.post1
21
+ cachetools==5.5.2
22
+ certifi==2025.4.26
23
+ cffi==1.17.1
24
+ charset-normalizer==3.4.2
25
+ chromadb==1.0.9
26
+ click==8.1.8
27
+ coloredlogs==15.0.1
28
+ crewai==0.119.0
29
+ cryptography==44.0.3
30
  dataclasses-json==0.6.7
31
+ debugpy==1.8.14
32
+ decorator==5.2.1
33
+ deprecated==1.2.18
 
 
 
34
  distro==1.9.0
35
+ docstring-parser==0.16
36
+ durationpy==0.9
37
+ et-xmlfile==2.0.0
38
+ executing==2.2.0
39
+ faiss-cpu==1.11.0
40
+ fastapi==0.115.9
41
+ ffmpy==0.5.0
42
+ filelock==3.18.0
 
 
 
 
 
 
 
 
43
  filetype==1.2.0
44
+ flatbuffers==25.2.10
45
+ frozenlist==1.6.0
46
+ fsspec==2025.3.2
47
+ google-ai-generativelanguage==0.6.17
48
+ google-api-core==2.24.2
49
+ google-auth==2.40.1
50
+ googleapis-common-protos==1.70.0
51
+ gradio==5.29.0
52
+ gradio-client==1.10.0
53
  graphviz==0.20.3
54
+ greenlet==3.2.1
55
+ groovy==0.1.2
56
+ grpcio==1.71.0
57
+ grpcio-status==1.71.0
58
+ h11==0.16.0
59
+ hf-xet==1.1.0
60
+ httpcore==1.0.9
61
+ httptools==0.6.4
62
+ httpx==0.28.1
63
  httpx-sse==0.4.0
64
+ huggingface-hub==0.31.1
65
+ humanfriendly==10.0
66
+ idna==3.10
67
+ importlib-metadata==8.6.1
68
+ importlib-resources==6.5.2
69
+ instructor==1.8.1
70
+ ipython==9.2.0
71
+ ipython-pygments-lexers==1.1.1
72
+ jedi==0.19.2
73
+ jinja2==3.1.6
74
+ jiter==0.8.2
75
  jmespath==1.0.1
76
  joblib==1.4.2
77
+ jq==1.8.0
78
+ json-repair==0.44.1
79
+ json5==0.12.0
80
  jsonpatch==1.33
81
+ jsonpickle==4.0.5
82
  jsonpointer==3.0.0
83
  jsonref==1.1.0
84
  jsonschema==4.23.0
85
+ jsonschema-specifications==2025.4.1
86
+ kubernetes==32.0.1
87
+ langchain==0.3.24
88
+ langchain-community==0.3.13
89
+ langchain-core==0.3.56
90
+ langchain-experimental==0.3.4
91
+ langchain-google-genai==2.1.3
 
 
 
 
 
 
 
 
 
 
 
92
  langchain-huggingface==0.1.2
93
+ langchain-openai==0.2.14
94
+ langchain-text-splitters==0.3.8
95
  langchainhub==0.1.21
96
+ langfuse==2.60.3
97
+ langgraph==0.2.66
98
+ langgraph-checkpoint==2.0.25
99
+ langgraph-sdk==0.1.63
100
+ langsmith==0.2.6
101
+ litellm==1.68.0
102
+ markdown==3.7
103
  markdown-it-py==3.0.0
104
  markdownify==0.14.1
105
+ markupsafe==3.0.2
106
+ marshmallow==3.26.1
 
 
107
  matplotlib-inline==0.1.7
108
+ mcp==1.8.0
109
  mdurl==0.1.2
110
+ mmh3==5.1.0
 
111
  mpmath==1.3.0
112
+ multidict==6.4.3
113
+ mypy-extensions==1.1.0
114
+ networkx==3.4.2
115
+ numpy==2.2.6
 
 
 
 
 
 
 
 
116
  oauthlib==3.2.2
117
+ onnxruntime==1.22.0
118
+ openai==1.75.0
119
+ openinference-instrumentation==0.1.29
120
+ openinference-instrumentation-crewai==0.1.9
121
+ openinference-instrumentation-litellm==0.1.19
122
+ openinference-semantic-conventions==0.1.17
123
+ openlit==1.33.20
124
  openpyxl==3.1.5
125
+ opentelemetry-api==1.32.1
126
+ opentelemetry-exporter-otlp==1.32.1
127
+ opentelemetry-exporter-otlp-proto-common==1.32.1
128
+ opentelemetry-exporter-otlp-proto-grpc==1.32.1
129
+ opentelemetry-exporter-otlp-proto-http==1.32.1
130
+ opentelemetry-instrumentation==0.53b1
131
+ opentelemetry-instrumentation-asgi==0.53b1
132
+ opentelemetry-instrumentation-fastapi==0.53b1
133
+ opentelemetry-proto==1.32.1
134
+ opentelemetry-sdk==1.32.1
135
+ opentelemetry-semantic-conventions==0.53b1
136
+ opentelemetry-util-http==0.53b1
137
+ orjson==3.10.18
138
+ ormsgpack==1.9.1
139
  overrides==7.7.0
140
+ packaging>=23.2
141
+ pandas==2.2.3
 
142
  parso==0.8.4
143
+ pdfminer-six==20250327
144
+ pdfplumber==0.11.6
145
  pexpect==4.9.0
146
+ pillow==11.2.1
147
+ pip==25.1
148
+ posthog==4.0.1
149
+ prompt-toolkit==3.0.51
150
+ propcache==0.3.1
151
+ proto-plus==1.26.1
152
+ protobuf==5.29.4
153
  psutil==5.9.8
154
  ptyprocess==0.7.0
155
+ pure-eval==0.2.3
156
+ pyasn1==0.6.1
157
+ pyasn1-modules==0.4.2
158
  pycparser==2.22
159
+ pydantic==2.11.4
160
+ pydantic-core==2.33.2
161
+ pydantic-settings==2.9.1
162
  pydub==0.25.1
163
+ pygments==2.19.1
164
+ pyjwt==2.10.1
165
+ pypdfium2==4.30.1
166
+ pypika==0.48.9
167
+ pyproject-hooks==1.2.0
168
  python-dateutil==2.9.0.post0
169
+ python-dotenv==1.1.0
170
+ python-multipart==0.0.20
171
+ pytz==2025.2
172
+ pyvis==0.3.2
173
+ pyyaml==6.0.2
174
+ referencing==0.36.2
175
+ regex==2024.11.6
 
 
 
 
 
176
  requests==2.32.3
177
  requests-oauthlib==2.0.0
178
  requests-toolbelt==1.0.0
179
+ rich==13.9.4
180
+ rpds-py==0.24.0
181
+ rsa==4.9.1
182
+ ruff==0.11.9
183
+ s3transfer==0.12.0
184
+ safehttpx==0.1.6
185
+ safetensors==0.5.3
186
+ schedule==1.2.2
187
+ scikit-learn==1.6.1
188
+ scipy==1.15.2
 
189
  semantic-version==2.10.0
190
+ sentence-transformers==4.1.0
191
+ setuptools==80.7.1
 
192
  shellingham==1.5.4
193
+ six==1.17.0
194
  sniffio==1.3.1
195
+ soupsieve==2.7
196
+ spaces==0.35.0
197
+ sqlalchemy==2.0.40
198
+ sse-starlette==2.3.4
199
  stack-data==0.6.3
200
+ starlette==0.45.3
201
+ sympy==1.14.0
202
+ tenacity==9.1.2
203
+ threadpoolctl==3.6.0
204
+ tiktoken==0.9.0
205
+ tokenizers==0.21.1
206
+ tomli==2.2.1
207
+ tomli-w==1.2.0
208
+ tomlkit==0.13.2
 
 
 
209
  torch==2.2.2
210
+ tqdm==4.67.1
 
 
211
  traitlets==5.14.3
212
+ transformers==4.51.3
213
+ typer==0.15.3
214
+ types-requests==2.32.0.20250328
215
+ typing-extensions==4.13.2
216
  typing-inspect==0.9.0
217
+ typing-inspection==0.4.0
218
+ tzdata==2025.2
219
+ urllib3==2.4.0
220
+ uv==0.7.3
221
+ uvicorn==0.34.2
222
+ uvloop==0.21.0
223
+ watchfiles==1.0.5
224
  wcwidth==0.2.13
 
 
225
  websocket-client==1.8.0
226
+ websockets==15.0.1
227
+ wrapt==1.17.2
228
+ xmltodict==0.14.2
229
+ yarl==1.20.0
230
+ zipp==3.21.0
run-ea4all-docker.sh ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #Build ea4all-docker
2
+ docker buildx build --progress=plain --no-cache \
3
+ --secret id=OPENAI_API_KEY,env=OPENAI_API_KEY \
4
+ --secret id=HUGGINGFACEHUB_API_TOKEN,env=HUGGINGFACEHUB_API_TOKEN \
5
+ --secret id=LANGCHAIN_API_KEY,env=LANGCHAIN_API_KEY \
6
+ --secret id=BING_SUBSCRIPTION_KEY,env=BING_SUBSCRIPTION_KEY \
7
+ --secret id=CONFLUENCE_API_KEY,env=CONFLUENCE_API_KEY \
8
+ --secret id=GEMINI_API_KEY,env=GEMINI_API_KEY \
9
+ --secret id=LANGSMITH_API_KEY,env=LANGSMITH_API_KEY \
10
+ -t ea4all-docker .
11
+
12
+ if [ -z "$1" ]; then
13
+ docker run -it -p 127.0.0.1:9400:7860 \
14
+ -e HUGGINGFACEHUB_API_TOKEN=$HUGGINGFACEHUB_API_TOKEN \
15
+ -e OPENAI_API_KEY \
16
+ -e LANGCHAIN_API_KEY \
17
+ -e BING_SUBSCRIPTION_KEY \
18
+ -e EA4ALL_ENV \
19
+ -e CONFLUENCE_API_KEY \
20
+ -e GEMINI_API_KEY \
21
+ -e LANGSMITH_API_KEY ea4all-docker
22
+ else
23
+ #Run docker debug-mode
24
+ docker run -p 5678:5678 \
25
+ -e HUGGINGFACEHUB_API_TOKEN=$HUGGINGFACEHUB_API_TOKEN \
26
+ -e OPENAI_API_KEY \
27
+ -e LANGCHAIN_API_KEY \
28
+ -e BING_SUBSCRIPTION_KEY \
29
+ -e EA4ALL_ENV \
30
+ -e CONFLUENCE_API_KEY \
31
+ -e GEMINI_API_KEY \
32
+ -e LANGSMITH_API_KEY ea4all-docker
33
+ fi