ws-bom-robot-app 0.0.8__py3-none-any.whl → 0.0.9__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/llm/models/kb.py +2 -2
- ws_bom_robot_app/llm/vector_store/generator.py +2 -1
- {ws_bom_robot_app-0.0.8.dist-info → ws_bom_robot_app-0.0.9.dist-info}/METADATA +10 -10
- {ws_bom_robot_app-0.0.8.dist-info → ws_bom_robot_app-0.0.9.dist-info}/RECORD +6 -6
- {ws_bom_robot_app-0.0.8.dist-info → ws_bom_robot_app-0.0.9.dist-info}/WHEEL +0 -0
- {ws_bom_robot_app-0.0.8.dist-info → ws_bom_robot_app-0.0.9.dist-info}/top_level.txt +0 -0
|
@@ -129,8 +129,8 @@ async def load_endpoints(endpoints: list[LlmKbEndpoint], destination_directory:
|
|
|
129
129
|
}
|
|
130
130
|
headers['Authorization'] = auth_formats[endpoint.authentication](endpoint.auth_secret)
|
|
131
131
|
try:
|
|
132
|
-
async with httpx.AsyncClient() as client:
|
|
133
|
-
response = await client.get(endpoint.endpoint_url
|
|
132
|
+
async with httpx.AsyncClient(headers=headers,timeout=60) as client:
|
|
133
|
+
response = await client.get(endpoint.endpoint_url)
|
|
134
134
|
response.raise_for_status()
|
|
135
135
|
|
|
136
136
|
mime_type = response.headers.get('content-type', None)
|
|
@@ -21,7 +21,8 @@ async def rules(rq: RulesRequest) -> VectorDbResponse:
|
|
|
21
21
|
db_file_path = shutil.make_archive(os.path.join(_config.robot_data_folder, _config.robot_data_db_folder, _config.robot_data_db_folder_out, db_name), "zip", store_path)
|
|
22
22
|
return VectorDbResponse(file = os.path.basename(db_file_path))
|
|
23
23
|
except Exception as e:
|
|
24
|
-
os.
|
|
24
|
+
if os.path.exists(store_path):
|
|
25
|
+
shutil.rmtree(store_path)
|
|
25
26
|
return VectorDbResponse(success = False, error = str(e))
|
|
26
27
|
|
|
27
28
|
#@atimer
|
|
@@ -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.9
|
|
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
|
|
@@ -10,24 +10,24 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
|
11
11
|
Requires-Python: >=3.12
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
|
-
Requires-Dist: standardwebhooks
|
|
14
|
-
Requires-Dist: schedule
|
|
15
|
-
Requires-Dist: aiofiles
|
|
13
|
+
Requires-Dist: standardwebhooks==1.0.0
|
|
14
|
+
Requires-Dist: schedule==1.2.2
|
|
15
|
+
Requires-Dist: aiofiles==24.1.0
|
|
16
16
|
Requires-Dist: pydantic==2.9.2
|
|
17
17
|
Requires-Dist: pydantic-settings==2.6.0
|
|
18
18
|
Requires-Dist: fastapi[standard]==0.115.5
|
|
19
|
-
Requires-Dist: langchain
|
|
20
|
-
Requires-Dist: langchain-openai
|
|
21
|
-
Requires-Dist: langchain-community
|
|
22
|
-
Requires-Dist: langchain-core
|
|
19
|
+
Requires-Dist: langchain==0.3.9
|
|
20
|
+
Requires-Dist: langchain-openai==0.2.10
|
|
21
|
+
Requires-Dist: langchain-community==0.3.8
|
|
22
|
+
Requires-Dist: langchain-core==0.3.21
|
|
23
23
|
Requires-Dist: faiss-cpu==1.9.0
|
|
24
|
-
Requires-Dist: python-magic
|
|
24
|
+
Requires-Dist: python-magic==0.4.27
|
|
25
25
|
Requires-Dist: opencv-python-headless==4.10.0.84
|
|
26
26
|
Requires-Dist: jmespath==1.0.1
|
|
27
27
|
Requires-Dist: unstructured[all-docs]==0.15.14
|
|
28
28
|
Requires-Dist: langchain_unstructured==0.1.5
|
|
29
29
|
Requires-Dist: html5lib==1.1
|
|
30
|
-
Requires-Dist: markdownify
|
|
30
|
+
Requires-Dist: markdownify==0.14.1
|
|
31
31
|
Requires-Dist: nebuly==0.3.33
|
|
32
32
|
|
|
33
33
|
# 🤖 ws-bom-robot-app
|
|
@@ -16,7 +16,7 @@ ws_bom_robot_app/llm/settings.py,sha256=EkFGCppORenStH9W4e6_dYvQ-5p6xiEMpmUHBqNq
|
|
|
16
16
|
ws_bom_robot_app/llm/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
17
|
ws_bom_robot_app/llm/models/api.py,sha256=IGeHJhyMaZ5iqOPNj6Bko2jp6R9yALMfpyeOzwW_NGk,6982
|
|
18
18
|
ws_bom_robot_app/llm/models/base.py,sha256=1TqxuTK3rjJEALn7lvgoen_1ba3R2brAgGx6EDTtDZo,152
|
|
19
|
-
ws_bom_robot_app/llm/models/kb.py,sha256=
|
|
19
|
+
ws_bom_robot_app/llm/models/kb.py,sha256=wsvIb1aaZO0M-04VsKY-VuplHSHyft6UgYOPEjjDAnc,8934
|
|
20
20
|
ws_bom_robot_app/llm/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
21
|
ws_bom_robot_app/llm/tools/tool_builder.py,sha256=rkYu0PrXV84PMi7INjCSWlrWMykUCI8aeF-QjZgLysM,854
|
|
22
22
|
ws_bom_robot_app/llm/tools/tool_manager.py,sha256=y4K1NiDsVbdZjk2xUEK_T6j-4fHmV5QY02j5tHcoBRs,3708
|
|
@@ -31,7 +31,7 @@ ws_bom_robot_app/llm/utils/kb.py,sha256=jja45WCbNI7SGEgqDS99nErlwB5eY8Ga7BMnhdMH
|
|
|
31
31
|
ws_bom_robot_app/llm/utils/print.py,sha256=bpLWY0KHXe7x7PWcWy8NS54ZWzHY8b4jrLRkpnDl108,818
|
|
32
32
|
ws_bom_robot_app/llm/utils/webhooks.py,sha256=Sdwu4dkbUC3JEf9ck1hsu4gSGQdj7gcsIrhs3cOVXxk,2112
|
|
33
33
|
ws_bom_robot_app/llm/vector_store/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
34
|
-
ws_bom_robot_app/llm/vector_store/generator.py,sha256=
|
|
34
|
+
ws_bom_robot_app/llm/vector_store/generator.py,sha256=DM1jQB6nb03GYFMaO-qN6IX29apFZOYkxEKt6wrXdIQ,5770
|
|
35
35
|
ws_bom_robot_app/llm/vector_store/integration/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
36
36
|
ws_bom_robot_app/llm/vector_store/integration/base.py,sha256=eCKD3U0KPoVDMtKr2iZqauMFEKd9b2k6rqPG_YjDy0g,626
|
|
37
37
|
ws_bom_robot_app/llm/vector_store/integration/manager.py,sha256=cSFlE2erMv3Uchy788mlCFdcvmyeoqdeIiGmJ9QbLhY,583
|
|
@@ -39,7 +39,7 @@ ws_bom_robot_app/llm/vector_store/integration/sitemap.py,sha256=bdrgHBVB8Jt3xiRu
|
|
|
39
39
|
ws_bom_robot_app/llm/vector_store/loader/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
40
40
|
ws_bom_robot_app/llm/vector_store/loader/base.py,sha256=YKtJWTVQuOvRR2CLYTa0bGEbjqgmYVVud1YKQ9QLibc,4536
|
|
41
41
|
ws_bom_robot_app/llm/vector_store/loader/json_loader.py,sha256=G9BoxwsevgqL72h2n28O2LpzaCYNymBkX66wru9GkCw,884
|
|
42
|
-
ws_bom_robot_app-0.0.
|
|
43
|
-
ws_bom_robot_app-0.0.
|
|
44
|
-
ws_bom_robot_app-0.0.
|
|
45
|
-
ws_bom_robot_app-0.0.
|
|
42
|
+
ws_bom_robot_app-0.0.9.dist-info/METADATA,sha256=oTNkmsn9EzxoJet-nnJDCxWDpVFeJuMzHp5fVL8c2SY,5673
|
|
43
|
+
ws_bom_robot_app-0.0.9.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
44
|
+
ws_bom_robot_app-0.0.9.dist-info/top_level.txt,sha256=Yl0akyHVbynsBX_N7wx3H3ZTkcMLjYyLJs5zBMDAKcM,17
|
|
45
|
+
ws_bom_robot_app-0.0.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|