ws-bom-robot-app 0.0.82__tar.gz → 0.0.83__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 (82) hide show
  1. {ws_bom_robot_app-0.0.82/ws_bom_robot_app.egg-info → ws_bom_robot_app-0.0.83}/PKG-INFO +4 -4
  2. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/README.md +3 -3
  3. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/setup.py +1 -1
  4. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/task_manager.py +3 -3
  5. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83/ws_bom_robot_app.egg-info}/PKG-INFO +4 -4
  6. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/MANIFEST.in +0 -0
  7. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/pyproject.toml +0 -0
  8. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/requirements.txt +0 -0
  9. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/setup.cfg +0 -0
  10. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/__init__.py +0 -0
  11. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/auth.py +0 -0
  12. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/config.py +0 -0
  13. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/cron_manager.py +0 -0
  14. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/__init__.py +0 -0
  15. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/agent_context.py +0 -0
  16. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/agent_description.py +0 -0
  17. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/agent_handler.py +0 -0
  18. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/agent_lcel.py +0 -0
  19. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/api.py +0 -0
  20. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/defaut_prompt.py +0 -0
  21. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/feedbacks/__init__.py +0 -0
  22. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/feedbacks/feedback_manager.py +0 -0
  23. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/main.py +0 -0
  24. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/models/__init__.py +0 -0
  25. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/models/api.py +0 -0
  26. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/models/base.py +0 -0
  27. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/models/feedback.py +0 -0
  28. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/models/kb.py +0 -0
  29. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/nebuly_handler.py +0 -0
  30. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/providers/__init__.py +0 -0
  31. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/providers/llm_manager.py +0 -0
  32. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/tools/__init__.py +0 -0
  33. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/tools/models/__init__.py +0 -0
  34. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/tools/models/main.py +0 -0
  35. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/tools/tool_builder.py +0 -0
  36. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/tools/tool_manager.py +0 -0
  37. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/tools/utils.py +0 -0
  38. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/utils/__init__.py +0 -0
  39. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/utils/agent.py +0 -0
  40. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/utils/chunker.py +0 -0
  41. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/utils/cleanup.py +0 -0
  42. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/utils/cms.py +0 -0
  43. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/utils/download.py +0 -0
  44. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/utils/print.py +0 -0
  45. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/utils/secrets.py +0 -0
  46. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/utils/webhooks.py +0 -0
  47. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/__init__.py +0 -0
  48. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/db/__init__.py +0 -0
  49. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/db/base.py +0 -0
  50. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/db/chroma.py +0 -0
  51. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/db/faiss.py +0 -0
  52. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/db/manager.py +0 -0
  53. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/db/qdrant.py +0 -0
  54. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/generator.py +0 -0
  55. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/integration/__init__.py +0 -0
  56. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/integration/azure.py +0 -0
  57. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/integration/base.py +0 -0
  58. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/integration/confluence.py +0 -0
  59. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/integration/dropbox.py +0 -0
  60. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/integration/gcs.py +0 -0
  61. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/integration/github.py +0 -0
  62. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/integration/googledrive.py +0 -0
  63. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/integration/jira.py +0 -0
  64. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/integration/manager.py +0 -0
  65. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/integration/s3.py +0 -0
  66. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/integration/sftp.py +0 -0
  67. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/integration/sharepoint.py +0 -0
  68. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/integration/shopify.py +0 -0
  69. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/integration/sitemap.py +0 -0
  70. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/integration/slack.py +0 -0
  71. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/integration/thron.py +0 -0
  72. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/loader/__init__.py +0 -0
  73. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/loader/base.py +0 -0
  74. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/loader/docling.py +0 -0
  75. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/llm/vector_store/loader/json_loader.py +0 -0
  76. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/main.py +0 -0
  77. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/subprocess_runner.py +0 -0
  78. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app/util.py +0 -0
  79. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app.egg-info/SOURCES.txt +0 -0
  80. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app.egg-info/dependency_links.txt +0 -0
  81. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app.egg-info/requires.txt +0 -0
  82. {ws_bom_robot_app-0.0.82 → ws_bom_robot_app-0.0.83}/ws_bom_robot_app.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ws_bom_robot_app
3
- Version: 0.0.82
3
+ Version: 0.0.83
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
@@ -158,14 +158,14 @@ dockerize app (from src)
158
158
 
159
159
  ```pwsh
160
160
  docker build -f Dockerfile -t ws-bom-robot-app .
161
- docker run --rm -d --env-file .env -p 6001:6001 ws-bom-robot-app
161
+ docker run --rm -d --name ws-bom-robot-app --env-file .env -p 6001:6001 ws-bom-robot-app
162
162
  ```
163
163
 
164
164
  dockerize app (from latest)
165
165
 
166
166
  ```pwsh
167
167
  docker build -f Dockerfile-pkg -t ws-bom-robot-app-pkg .
168
- docker run --rm -d --env-file .env -p 6001:6001 ws-bom-robot-app-pkg
168
+ docker run --rm -d --name ws-bom-robot-app-pkg --env-file .env -p 6001:6001 ws-bom-robot-app-pkg
169
169
  ```
170
170
 
171
171
  docker run mounted to src (dev mode)
@@ -298,7 +298,7 @@ prospector ./ws_bom_robot_app -t pyroma
298
298
  # pyclean --verbose .
299
299
  pytest --cov=ws_bom_robot_app --log-cli-level=info
300
300
  # directory
301
- # pytest --cov=ws_bom_robot_app --log-cli-level=info ./tests/app/llm/vector_store/db
301
+ # pytest --cov=ws_bom_robot_app.llm.vector_store --log-cli-level=info ./tests/app/llm/vector_store
302
302
  ```
303
303
 
304
304
  #### 🐞 start debugger
@@ -92,14 +92,14 @@ dockerize app (from src)
92
92
 
93
93
  ```pwsh
94
94
  docker build -f Dockerfile -t ws-bom-robot-app .
95
- docker run --rm -d --env-file .env -p 6001:6001 ws-bom-robot-app
95
+ docker run --rm -d --name ws-bom-robot-app --env-file .env -p 6001:6001 ws-bom-robot-app
96
96
  ```
97
97
 
98
98
  dockerize app (from latest)
99
99
 
100
100
  ```pwsh
101
101
  docker build -f Dockerfile-pkg -t ws-bom-robot-app-pkg .
102
- docker run --rm -d --env-file .env -p 6001:6001 ws-bom-robot-app-pkg
102
+ docker run --rm -d --name ws-bom-robot-app-pkg --env-file .env -p 6001:6001 ws-bom-robot-app-pkg
103
103
  ```
104
104
 
105
105
  docker run mounted to src (dev mode)
@@ -232,7 +232,7 @@ prospector ./ws_bom_robot_app -t pyroma
232
232
  # pyclean --verbose .
233
233
  pytest --cov=ws_bom_robot_app --log-cli-level=info
234
234
  # directory
235
- # pytest --cov=ws_bom_robot_app --log-cli-level=info ./tests/app/llm/vector_store/db
235
+ # pytest --cov=ws_bom_robot_app.llm.vector_store --log-cli-level=info ./tests/app/llm/vector_store
236
236
  ```
237
237
 
238
238
  #### 🐞 start debugger
@@ -4,7 +4,7 @@ _requirements = [line.split('#')[0].strip() for line in open("requirements.txt")
4
4
 
5
5
  setup(
6
6
  name="ws_bom_robot_app",
7
- version="0.0.82",
7
+ version="0.0.83",
8
8
  description="A FastAPI application serving ws bom/robot/llm platform ai.",
9
9
  long_description=open("README.md", encoding='utf-8').read(),
10
10
  long_description_content_type="text/markdown",
@@ -74,7 +74,7 @@ class TaskStatus(IdentifiableEntity):
74
74
  )
75
75
 
76
76
  class TaskEntry(IdentifiableEntity):
77
- task: Annotated[Union[asyncio.Task, callable], Field(default=None, validate_default=False)] = None
77
+ task: Annotated[Union[asyncio.Task, Callable], Field(default=None, validate_default=False)] = None
78
78
  coroutine: Any = None
79
79
  headers: TaskHeader | None = None
80
80
  status: Union[TaskStatus, None] = None
@@ -295,7 +295,7 @@ class TaskManagerStrategy(ABC):
295
295
  self._update_task_by_event(task_entry, "completed", result)
296
296
  else:
297
297
  # error
298
- err_info = payload[1] if isinstance(payload, tuple) else {"error": str(payload)}
298
+ err_info = payload[1]["error"] if isinstance(payload, tuple) else str(payload)
299
299
  self._update_task_by_event(task_entry, "failure", err_info)
300
300
  except Exception:
301
301
  # maybe subprocess is no more alive / killed
@@ -320,7 +320,7 @@ class TaskManagerStrategy(ABC):
320
320
  return
321
321
  # fallback
322
322
  try:
323
- async def _callable_to_coroutine(func: Union[Callable, Coroutine]) -> Any:
323
+ async def _callable_to_coroutine(func: Any) -> Any:
324
324
  if callable(func) and not inspect.iscoroutine(func):
325
325
  result = func()
326
326
  if inspect.iscoroutine(result):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ws_bom_robot_app
3
- Version: 0.0.82
3
+ Version: 0.0.83
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
@@ -158,14 +158,14 @@ dockerize app (from src)
158
158
 
159
159
  ```pwsh
160
160
  docker build -f Dockerfile -t ws-bom-robot-app .
161
- docker run --rm -d --env-file .env -p 6001:6001 ws-bom-robot-app
161
+ docker run --rm -d --name ws-bom-robot-app --env-file .env -p 6001:6001 ws-bom-robot-app
162
162
  ```
163
163
 
164
164
  dockerize app (from latest)
165
165
 
166
166
  ```pwsh
167
167
  docker build -f Dockerfile-pkg -t ws-bom-robot-app-pkg .
168
- docker run --rm -d --env-file .env -p 6001:6001 ws-bom-robot-app-pkg
168
+ docker run --rm -d --name ws-bom-robot-app-pkg --env-file .env -p 6001:6001 ws-bom-robot-app-pkg
169
169
  ```
170
170
 
171
171
  docker run mounted to src (dev mode)
@@ -298,7 +298,7 @@ prospector ./ws_bom_robot_app -t pyroma
298
298
  # pyclean --verbose .
299
299
  pytest --cov=ws_bom_robot_app --log-cli-level=info
300
300
  # directory
301
- # pytest --cov=ws_bom_robot_app --log-cli-level=info ./tests/app/llm/vector_store/db
301
+ # pytest --cov=ws_bom_robot_app.llm.vector_store --log-cli-level=info ./tests/app/llm/vector_store
302
302
  ```
303
303
 
304
304
  #### 🐞 start debugger