ws-bom-robot-app 0.0.48__tar.gz → 0.0.50__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 (74) hide show
  1. {ws_bom_robot_app-0.0.48/ws_bom_robot_app.egg-info → ws_bom_robot_app-0.0.50}/PKG-INFO +3 -2
  2. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/setup.py +2 -2
  3. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/config.py +2 -0
  4. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/api.py +4 -1
  5. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/models/api.py +2 -1
  6. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50/ws_bom_robot_app.egg-info}/PKG-INFO +3 -2
  7. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/MANIFEST.in +0 -0
  8. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/README.md +0 -0
  9. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/pyproject.toml +0 -0
  10. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/requirements.txt +0 -0
  11. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/setup.cfg +0 -0
  12. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/__init__.py +0 -0
  13. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/auth.py +0 -0
  14. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/cron_manager.py +0 -0
  15. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/__init__.py +0 -0
  16. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/agent_description.py +0 -0
  17. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/agent_handler.py +0 -0
  18. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/agent_lcel.py +0 -0
  19. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/defaut_prompt.py +0 -0
  20. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/main.py +0 -0
  21. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/models/__init__.py +0 -0
  22. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/models/base.py +0 -0
  23. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/models/kb.py +0 -0
  24. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/providers/__init__.py +0 -0
  25. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/providers/llm_manager.py +0 -0
  26. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/settings.py +0 -0
  27. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/tools/__init__.py +0 -0
  28. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/tools/models/__init__.py +0 -0
  29. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/tools/models/main.py +0 -0
  30. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/tools/tool_builder.py +0 -0
  31. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/tools/tool_manager.py +0 -0
  32. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/tools/utils.py +0 -0
  33. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/utils/__init__.py +0 -0
  34. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/utils/agent.py +0 -0
  35. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/utils/chunker.py +0 -0
  36. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/utils/download.py +0 -0
  37. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/utils/kb.py +0 -0
  38. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/utils/print.py +0 -0
  39. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/utils/secrets.py +0 -0
  40. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/utils/webhooks.py +0 -0
  41. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/__init__.py +0 -0
  42. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/db/__init__.py +0 -0
  43. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/db/base.py +0 -0
  44. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/db/chroma.py +0 -0
  45. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/db/faiss.py +0 -0
  46. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/db/manager.py +0 -0
  47. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/db/qdrant.py +0 -0
  48. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/generator.py +0 -0
  49. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/integration/__init__.py +0 -0
  50. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/integration/azure.py +0 -0
  51. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/integration/base.py +0 -0
  52. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/integration/confluence.py +0 -0
  53. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/integration/dropbox.py +0 -0
  54. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/integration/gcs.py +0 -0
  55. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/integration/github.py +0 -0
  56. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/integration/googledrive.py +0 -0
  57. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/integration/jira.py +0 -0
  58. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/integration/manager.py +0 -0
  59. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/integration/s3.py +0 -0
  60. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/integration/sftp.py +0 -0
  61. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/integration/sharepoint.py +0 -0
  62. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/integration/sitemap.py +0 -0
  63. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/integration/slack.py +0 -0
  64. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/loader/__init__.py +0 -0
  65. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/loader/base.py +0 -0
  66. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/loader/docling.py +0 -0
  67. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/llm/vector_store/loader/json_loader.py +0 -0
  68. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/main.py +0 -0
  69. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/task_manager.py +0 -0
  70. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app/util.py +0 -0
  71. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app.egg-info/SOURCES.txt +0 -0
  72. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app.egg-info/dependency_links.txt +0 -0
  73. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app.egg-info/requires.txt +0 -0
  74. {ws_bom_robot_app-0.0.48 → ws_bom_robot_app-0.0.50}/ws_bom_robot_app.egg-info/top_level.txt +0 -0
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ws_bom_robot_app
3
- Version: 0.0.48
3
+ Version: 0.0.50
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
7
7
  Author-email: dev@websolute.it
8
+ License: MIT
8
9
  Classifier: Programming Language :: Python :: 3
9
- 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
@@ -54,6 +54,7 @@ Dynamic: classifier
54
54
  Dynamic: description
55
55
  Dynamic: description-content-type
56
56
  Dynamic: home-page
57
+ Dynamic: license
57
58
  Dynamic: requires-dist
58
59
  Dynamic: requires-python
59
60
  Dynamic: summary
@@ -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.48",
7
+ version="0.0.50",
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",
@@ -13,9 +13,9 @@ setup(
13
13
  url="https://github.com/websolutespa/bom",
14
14
  packages=find_packages(),
15
15
  install_requires=_requirements,
16
+ license="MIT",
16
17
  classifiers=[
17
18
  "Programming Language :: Python :: 3",
18
- "License :: OSI Approved :: MIT License",
19
19
  "Operating System :: OS Independent",
20
20
  ],
21
21
  python_requires=">=3.12",
@@ -26,6 +26,7 @@ class Settings(BaseSettings):
26
26
  OLLAMA_API_URL: str = 'http://localhost:11434'
27
27
  GROQ_API_KEY: str = ''
28
28
  GOOGLE_API_KEY: str = ''
29
+ NEBULY_API_URL: str =''
29
30
  GOOGLE_APPLICATION_CREDENTIALS: str = '' # path to google credentials iam file, e.d. ./.secrets/google-credentials.json
30
31
  model_config = ConfigDict(
31
32
  env_file='./.env',
@@ -41,6 +42,7 @@ class Settings(BaseSettings):
41
42
  os.environ["GROQ_API_KEY"] = self.GROQ_API_KEY
42
43
  os.environ["GOOGLE_API_KEY"] = self.GOOGLE_API_KEY
43
44
  os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = self.GOOGLE_APPLICATION_CREDENTIALS
45
+ os.environ["NEBULY_API_URL"] = self.NEBULY_API_URL
44
46
 
45
47
  class RuntimeOptions(BaseModel):
46
48
  @staticmethod
@@ -21,7 +21,10 @@ async def _invoke(rq: InvokeRequest):
21
21
  return await invoke(rq)
22
22
 
23
23
  def _stream_headers(rq: StreamRequest) -> Mapping[str, str]:
24
- return {"X-thread-id": rq.thread_id or str(uuid4())}
24
+ return {
25
+ "X-thread-id": rq.thread_id,
26
+ "X-msg-id": rq.msg_id,
27
+ }
25
28
  @router.post("/stream")
26
29
  async def _stream(rq: StreamRequest, ctx: Request) -> StreamingResponse:
27
30
  return StreamingResponse(stream(rq, ctx), media_type="application/json", headers=_stream_headers(rq))
@@ -139,7 +139,8 @@ class InvokeRequest(LlmApp):
139
139
  mode: str
140
140
 
141
141
  class StreamRequest(LlmApp):
142
- thread_id: Optional[str] = Field(None, validation_alias=AliasChoices("threadId","thread_id"))
142
+ thread_id: Optional[str] = Field(str(uuid.uuid4()), validation_alias=AliasChoices("threadId","thread_id"))
143
+ msg_id: Optional[str] = Field(str(uuid.uuid4()), validation_alias=AliasChoices("msgId","msg_id"))
143
144
  #endregion
144
145
 
145
146
  #region vector_db
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ws_bom_robot_app
3
- Version: 0.0.48
3
+ Version: 0.0.50
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
7
7
  Author-email: dev@websolute.it
8
+ License: MIT
8
9
  Classifier: Programming Language :: Python :: 3
9
- 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
@@ -54,6 +54,7 @@ Dynamic: classifier
54
54
  Dynamic: description
55
55
  Dynamic: description-content-type
56
56
  Dynamic: home-page
57
+ Dynamic: license
57
58
  Dynamic: requires-dist
58
59
  Dynamic: requires-python
59
60
  Dynamic: summary