ws-bom-robot-app 0.0.8__tar.gz → 0.0.9__tar.gz

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.
Files changed (52) hide show
  1. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/PKG-INFO +10 -10
  2. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/setup.py +1 -1
  3. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/models/kb.py +2 -2
  4. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/vector_store/generator.py +2 -1
  5. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/requirements.txt +9 -9
  6. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app.egg-info/PKG-INFO +10 -10
  7. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app.egg-info/requires.txt +9 -9
  8. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/README.md +0 -0
  9. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/pyproject.toml +0 -0
  10. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/setup.cfg +0 -0
  11. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/__init__.py +0 -0
  12. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/auth.py +0 -0
  13. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/config.py +0 -0
  14. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/cron_manager.py +0 -0
  15. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/__init__.py +0 -0
  16. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/agent_description.py +0 -0
  17. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/agent_handler.py +0 -0
  18. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/agent_lcel.py +0 -0
  19. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/api.py +0 -0
  20. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/defaut_prompt.py +0 -0
  21. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/main.py +0 -0
  22. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/models/__init__.py +0 -0
  23. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/models/api.py +0 -0
  24. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/models/base.py +0 -0
  25. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/settings.py +0 -0
  26. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/tools/__init__.py +0 -0
  27. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/tools/models/__init__.py +0 -0
  28. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/tools/models/main.py +0 -0
  29. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/tools/tool_builder.py +0 -0
  30. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/tools/tool_manager.py +0 -0
  31. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/tools/utils.py +0 -0
  32. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/utils/__init__.py +0 -0
  33. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/utils/agent_utils.py +0 -0
  34. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/utils/download.py +0 -0
  35. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/utils/faiss_helper.py +0 -0
  36. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/utils/kb.py +0 -0
  37. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/utils/print.py +0 -0
  38. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/utils/webhooks.py +0 -0
  39. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/vector_store/__init__.py +0 -0
  40. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/vector_store/integration/__init__.py +0 -0
  41. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/vector_store/integration/base.py +0 -0
  42. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/vector_store/integration/manager.py +0 -0
  43. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/vector_store/integration/sitemap.py +0 -0
  44. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/vector_store/loader/__init__.py +0 -0
  45. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/vector_store/loader/base.py +0 -0
  46. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/llm/vector_store/loader/json_loader.py +0 -0
  47. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/main.py +0 -0
  48. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/task_manager.py +0 -0
  49. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app/util.py +0 -0
  50. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app.egg-info/SOURCES.txt +0 -0
  51. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app.egg-info/dependency_links.txt +0 -0
  52. {ws_bom_robot_app-0.0.8 → ws_bom_robot_app-0.0.9}/ws_bom_robot_app.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ws_bom_robot_app
3
- Version: 0.0.8
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>=0.3.0
20
- Requires-Dist: langchain-openai>=0.2.0
21
- Requires-Dist: langchain-community>=0.3.0
22
- Requires-Dist: langchain-core>=0.3.1
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>=0.13.1
30
+ Requires-Dist: markdownify==0.14.1
31
31
  Requires-Dist: nebuly==0.3.33
32
32
 
33
33
  # 🤖 ws-bom-robot-app
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="ws_bom_robot_app",
5
- version="0.0.8",
5
+ version="0.0.9",
6
6
  description="A FastAPI application serving ws bom/robot/llm platform ai.",
7
7
  long_description=open("README.md", encoding='utf-8').read(),
8
8
  long_description_content_type="text/markdown",
@@ -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, headers=headers)
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.removedirs(store_path)
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,16 +1,16 @@
1
1
  #app
2
- standardwebhooks
3
- schedule
4
- aiofiles
2
+ standardwebhooks==1.0.0
3
+ schedule==1.2.2
4
+ aiofiles==24.1.0
5
5
  pydantic==2.9.2
6
6
  pydantic-settings==2.6.0
7
7
  fastapi[standard]==0.115.5
8
8
 
9
9
  #framework
10
- langchain>=0.3.0
11
- langchain-openai>=0.2.0
12
- langchain-community>=0.3.0
13
- langchain-core>=0.3.1
10
+ langchain==0.3.9
11
+ langchain-openai==0.2.10
12
+ langchain-community==0.3.8
13
+ langchain-core==0.3.21
14
14
 
15
15
  #vector DB
16
16
  faiss-cpu==1.9.0
@@ -18,7 +18,7 @@ faiss-cpu==1.9.0
18
18
  #langchain_chroma==0.1.4
19
19
 
20
20
  #loaders
21
- python-magic
21
+ python-magic==0.4.27
22
22
  opencv-python-headless==4.10.0.84 #docker specs
23
23
  jmespath==1.0.1 #tmp fix to pre-extract from native pkg due to issues with wheel
24
24
  unstructured[all-docs]==0.15.14
@@ -26,7 +26,7 @@ langchain_unstructured==0.1.5
26
26
  html5lib==1.1 #beautifulsoup4 parser
27
27
 
28
28
  #integrations
29
- markdownify>=0.13.1 #sitemap
29
+ markdownify==0.14.1 #sitemap
30
30
 
31
31
  #telemetry
32
32
  nebuly==0.3.33
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ws_bom_robot_app
3
- Version: 0.0.8
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>=0.3.0
20
- Requires-Dist: langchain-openai>=0.2.0
21
- Requires-Dist: langchain-community>=0.3.0
22
- Requires-Dist: langchain-core>=0.3.1
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>=0.13.1
30
+ Requires-Dist: markdownify==0.14.1
31
31
  Requires-Dist: nebuly==0.3.33
32
32
 
33
33
  # 🤖 ws-bom-robot-app
@@ -1,19 +1,19 @@
1
- standardwebhooks
2
- schedule
3
- aiofiles
1
+ standardwebhooks==1.0.0
2
+ schedule==1.2.2
3
+ aiofiles==24.1.0
4
4
  pydantic==2.9.2
5
5
  pydantic-settings==2.6.0
6
6
  fastapi[standard]==0.115.5
7
- langchain>=0.3.0
8
- langchain-openai>=0.2.0
9
- langchain-community>=0.3.0
10
- langchain-core>=0.3.1
7
+ langchain==0.3.9
8
+ langchain-openai==0.2.10
9
+ langchain-community==0.3.8
10
+ langchain-core==0.3.21
11
11
  faiss-cpu==1.9.0
12
- python-magic
12
+ python-magic==0.4.27
13
13
  opencv-python-headless==4.10.0.84
14
14
  jmespath==1.0.1
15
15
  unstructured[all-docs]==0.15.14
16
16
  langchain_unstructured==0.1.5
17
17
  html5lib==1.1
18
- markdownify>=0.13.1
18
+ markdownify==0.14.1
19
19
  nebuly==0.3.33