ws-bom-robot-app 0.0.26__py3-none-any.whl → 0.0.27__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ws_bom_robot_app/config.py +1 -0
- ws_bom_robot_app/llm/vector_store/loader/base.py +2 -2
- {ws_bom_robot_app-0.0.26.dist-info → ws_bom_robot_app-0.0.27.dist-info}/METADATA +2 -2
- {ws_bom_robot_app-0.0.26.dist-info → ws_bom_robot_app-0.0.27.dist-info}/RECORD +6 -6
- {ws_bom_robot_app-0.0.26.dist-info → ws_bom_robot_app-0.0.27.dist-info}/WHEEL +0 -0
- {ws_bom_robot_app-0.0.26.dist-info → ws_bom_robot_app-0.0.27.dist-info}/top_level.txt +0 -0
ws_bom_robot_app/config.py
CHANGED
|
@@ -13,6 +13,7 @@ class Settings(BaseSettings):
|
|
|
13
13
|
robot_data_db_folder_out: str = 'out'
|
|
14
14
|
robot_data_db_folder_store: str = 'store'
|
|
15
15
|
robot_data_db_retention_days: float = 60
|
|
16
|
+
robot_loader_max_threads: int = 1
|
|
16
17
|
robot_task_max_total_parallelism: int = 2 * (os.cpu_count() or 1)
|
|
17
18
|
robot_task_retention_days: float = 1
|
|
18
19
|
robot_cms_host: str = ''
|
|
@@ -95,8 +95,8 @@ class Loader():
|
|
|
95
95
|
show_progress=self._runtime_options.loader_show_progress,
|
|
96
96
|
recursive=True,
|
|
97
97
|
silent_errors=self._runtime_options.loader_silent_errors,
|
|
98
|
-
use_multithreading=
|
|
99
|
-
max_concurrency=
|
|
98
|
+
use_multithreading=config.robot_loader_max_threads>1,
|
|
99
|
+
max_concurrency=config.robot_loader_max_threads
|
|
100
100
|
)
|
|
101
101
|
)
|
|
102
102
|
return loaders
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ws_bom_robot_app
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.27
|
|
4
4
|
Summary: A FastAPI application serving ws bom/robot/llm platform ai.
|
|
5
5
|
Home-page: https://github.com/websolutespa/bom
|
|
6
6
|
Author: Websolute Spa
|
|
@@ -228,7 +228,7 @@ dockerize app from src
|
|
|
228
228
|
|
|
229
229
|
```pwsh
|
|
230
230
|
docker build -f Dockerfile-src -t ws-bom-robot-app:src .
|
|
231
|
-
docker run --name ws-bom-robot-app-src -d -v "$(pwd)/ws_bom_robot_app:/app/ws_bom_robot_app" -v "$(pwd)/.data:/app/.data" -v "$(pwd)/tests:/app/tests" -p 6001:6001 ws-bom-robot-app:src
|
|
231
|
+
docker run --name ws-bom-robot-app-src -d -v "$(pwd)/ws_bom_robot_app:/app/ws_bom_robot_app" -v "$(pwd)/.data:/app/.data" -v "$(pwd)/tests:/app/tests" -v "$(pwd)/tmp:/tmp" -p 6001:6001 ws-bom-robot-app:src
|
|
232
232
|
```
|
|
233
233
|
|
|
234
234
|
### ✈️ publish
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
ws_bom_robot_app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
ws_bom_robot_app/auth.py,sha256=84nIbmJsMrNs0sxIQGEHbjsjc2P6ZrZZGSn8dkiL6is,895
|
|
3
|
-
ws_bom_robot_app/config.py,sha256=
|
|
3
|
+
ws_bom_robot_app/config.py,sha256=c4ybGaEwEL5d3od2ebAwNGJ4gtEMtvKNqZytAfdDxMY,3118
|
|
4
4
|
ws_bom_robot_app/cron_manager.py,sha256=0Yt5AMTPGlXZ_M5ck0SKMX8wvzoPsseEezg_s0Q3HKY,9224
|
|
5
5
|
ws_bom_robot_app/main.py,sha256=vChP8vfmOCbs51TPUsaaxX8FvoFXuURMkOgmgx0Xi_4,6121
|
|
6
6
|
ws_bom_robot_app/task_manager.py,sha256=Zedzs2R3O-wNSQOqs4jorgFwPRi-ji_0TN4mGfk-VvE,15958
|
|
@@ -49,10 +49,10 @@ ws_bom_robot_app/llm/vector_store/integration/sharepoint.py,sha256=zqqn-6qPrK50P
|
|
|
49
49
|
ws_bom_robot_app/llm/vector_store/integration/sitemap.py,sha256=nPbIywp-ZwWbWStvjvYVgHqqejyYFr8eZhBc8ycTuaU,4206
|
|
50
50
|
ws_bom_robot_app/llm/vector_store/integration/slack.py,sha256=FMjESXm2QetFXI6i8epze7Kbbu22fV8CVaxb71AHnJ8,2572
|
|
51
51
|
ws_bom_robot_app/llm/vector_store/loader/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
52
|
-
ws_bom_robot_app/llm/vector_store/loader/base.py,sha256=
|
|
52
|
+
ws_bom_robot_app/llm/vector_store/loader/base.py,sha256=tzUBO5FU552iRDhCqFUveBo3GjWhuqL5nCtSL8AJhGk,5022
|
|
53
53
|
ws_bom_robot_app/llm/vector_store/loader/docling.py,sha256=dns_A--Wb-oIGYcbrW5RQ6-ALR5cCmySioo389K0GK0,1775
|
|
54
54
|
ws_bom_robot_app/llm/vector_store/loader/json_loader.py,sha256=qo9ejRZyKv_k6jnGgXnu1W5uqsMMtgqK_uvPpZQ0p74,833
|
|
55
|
-
ws_bom_robot_app-0.0.
|
|
56
|
-
ws_bom_robot_app-0.0.
|
|
57
|
-
ws_bom_robot_app-0.0.
|
|
58
|
-
ws_bom_robot_app-0.0.
|
|
55
|
+
ws_bom_robot_app-0.0.27.dist-info/METADATA,sha256=YkrE-lnXbTolfCZ7cmJs2F8ugQzbc-g7WDF-ylaIL6s,7529
|
|
56
|
+
ws_bom_robot_app-0.0.27.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
57
|
+
ws_bom_robot_app-0.0.27.dist-info/top_level.txt,sha256=Yl0akyHVbynsBX_N7wx3H3ZTkcMLjYyLJs5zBMDAKcM,17
|
|
58
|
+
ws_bom_robot_app-0.0.27.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|