ws-bom-robot-app 0.0.37__tar.gz → 0.0.39__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 (68) hide show
  1. {ws_bom_robot_app-0.0.37/ws_bom_robot_app.egg-info → ws_bom_robot_app-0.0.39}/PKG-INFO +3 -3
  2. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/requirements.txt +2 -2
  3. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/setup.py +1 -1
  4. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/agent_description.py +1 -1
  5. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/agent_lcel.py +1 -1
  6. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/vector_store/integration/confluence.py +9 -7
  7. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39/ws_bom_robot_app.egg-info}/PKG-INFO +3 -3
  8. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app.egg-info/SOURCES.txt +1 -1
  9. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app.egg-info/requires.txt +2 -2
  10. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/MANIFEST.in +0 -0
  11. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/README.md +0 -0
  12. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/pyproject.toml +0 -0
  13. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/setup.cfg +0 -0
  14. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/__init__.py +0 -0
  15. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/auth.py +0 -0
  16. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/config.py +0 -0
  17. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/cron_manager.py +0 -0
  18. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/__init__.py +0 -0
  19. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/agent_handler.py +0 -0
  20. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/api.py +0 -0
  21. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/defaut_prompt.py +0 -0
  22. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/main.py +0 -0
  23. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/models/__init__.py +0 -0
  24. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/models/api.py +0 -0
  25. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/models/base.py +0 -0
  26. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/models/kb.py +0 -0
  27. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/providers/__init__.py +0 -0
  28. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/providers/llm_manager.py +0 -0
  29. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/settings.py +0 -0
  30. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/tools/__init__.py +0 -0
  31. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/tools/models/__init__.py +0 -0
  32. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/tools/models/main.py +0 -0
  33. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/tools/tool_builder.py +0 -0
  34. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/tools/tool_manager.py +0 -0
  35. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/tools/utils.py +0 -0
  36. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/utils/__init__.py +0 -0
  37. /ws_bom_robot_app-0.0.37/ws_bom_robot_app/llm/utils/agent_utils.py → /ws_bom_robot_app-0.0.39/ws_bom_robot_app/llm/utils/agent.py +0 -0
  38. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/utils/chunker.py +0 -0
  39. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/utils/download.py +0 -0
  40. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/utils/kb.py +0 -0
  41. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/utils/print.py +0 -0
  42. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/utils/secrets.py +0 -0
  43. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/utils/webhooks.py +0 -0
  44. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/vector_store/__init__.py +0 -0
  45. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/vector_store/generator.py +0 -0
  46. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/vector_store/integration/__init__.py +0 -0
  47. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/vector_store/integration/azure.py +0 -0
  48. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/vector_store/integration/base.py +0 -0
  49. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/vector_store/integration/dropbox.py +0 -0
  50. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/vector_store/integration/gcs.py +0 -0
  51. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/vector_store/integration/github.py +0 -0
  52. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/vector_store/integration/googledrive.py +0 -0
  53. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/vector_store/integration/jira.py +0 -0
  54. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/vector_store/integration/manager.py +0 -0
  55. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/vector_store/integration/s3.py +0 -0
  56. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/vector_store/integration/sftp.py +0 -0
  57. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/vector_store/integration/sharepoint.py +0 -0
  58. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/vector_store/integration/sitemap.py +0 -0
  59. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/vector_store/integration/slack.py +0 -0
  60. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/vector_store/loader/__init__.py +0 -0
  61. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/vector_store/loader/base.py +0 -0
  62. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/vector_store/loader/docling.py +0 -0
  63. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/llm/vector_store/loader/json_loader.py +0 -0
  64. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/main.py +0 -0
  65. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/task_manager.py +0 -0
  66. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app/util.py +0 -0
  67. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app.egg-info/dependency_links.txt +0 -0
  68. {ws_bom_robot_app-0.0.37 → ws_bom_robot_app-0.0.39}/ws_bom_robot_app.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: ws_bom_robot_app
3
- Version: 0.0.37
3
+ Version: 0.0.39
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
@@ -31,9 +31,9 @@ Requires-Dist: langchain_chroma==0.2.1
31
31
  Requires-Dist: fastembed==0.5.1
32
32
  Requires-Dist: langchain-qdrant==0.2.0
33
33
  Requires-Dist: lark==1.2.2
34
- Requires-Dist: unstructured==0.16.17
34
+ Requires-Dist: unstructured==0.16.21
35
35
  Requires-Dist: unstructured[image]
36
- Requires-Dist: unstructured-ingest==0.4.6
36
+ Requires-Dist: unstructured-ingest==0.5.4
37
37
  Requires-Dist: unstructured-ingest[azure]
38
38
  Requires-Dist: unstructured-ingest[confluence]
39
39
  Requires-Dist: unstructured-ingest[dropbox]
@@ -27,9 +27,9 @@ lark==1.2.2 #self-query retriever
27
27
 
28
28
 
29
29
  #loaders
30
- unstructured==0.16.17
30
+ unstructured==0.16.21
31
31
  unstructured[image]
32
- unstructured-ingest==0.4.6
32
+ unstructured-ingest==0.5.4
33
33
  unstructured-ingest[azure]
34
34
  unstructured-ingest[confluence]
35
35
  unstructured-ingest[dropbox]
@@ -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.37",
7
+ version="0.0.39",
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",
@@ -8,7 +8,7 @@ from langchain_core.runnables import RunnableLambda
8
8
  from bs4 import BeautifulSoup
9
9
  from ws_bom_robot_app.llm.models.api import LlmRules
10
10
  from ws_bom_robot_app.llm.providers.llm_manager import LlmInterface
11
- from ws_bom_robot_app.llm.utils.agent_utils import get_rules
11
+ from ws_bom_robot_app.llm.utils.agent import get_rules
12
12
 
13
13
  # SafeDict helper class
14
14
  class SafeDict(dict):
@@ -6,7 +6,7 @@ from langchain_core.tools import render_text_description
6
6
  from datetime import datetime
7
7
  from ws_bom_robot_app.llm.providers.llm_manager import LlmInterface
8
8
  from ws_bom_robot_app.llm.models.api import LlmMessage, LlmRules
9
- from ws_bom_robot_app.llm.utils.agent_utils import get_rules
9
+ from ws_bom_robot_app.llm.utils.agent import get_rules
10
10
  from ws_bom_robot_app.llm.defaut_prompt import default_prompt, tool_prompt
11
11
 
12
12
  class AgentLcel:
@@ -3,7 +3,7 @@ from ws_bom_robot_app.llm.vector_store.integration.base import IntegrationStrate
3
3
  from unstructured_ingest.v2.processes.connectors.confluence import ConfluenceIndexerConfig, ConfluenceDownloaderConfig, ConfluenceConnectionConfig, ConfluenceAccessConfig
4
4
  from langchain_core.documents import Document
5
5
  from ws_bom_robot_app.llm.vector_store.loader.base import Loader
6
- from typing import Union
6
+ from typing import Optional, Union
7
7
  from pydantic import BaseModel, Field, AliasChoices
8
8
 
9
9
  class ConfluenceParams(BaseModel):
@@ -12,14 +12,16 @@ class ConfluenceParams(BaseModel):
12
12
 
13
13
  Attributes:
14
14
  url (str): The URL of the Confluence instance, e.g., 'https://example.atlassian.net'.
15
- access_token (str): The access token for authenticating with Confluence, e.g., 'AT....'
16
- user_email (str): The email address of the Confluence user
15
+ username (str): The email address or username of the Confluence user
16
+ password: Confluence password or Cloud API token, if filled, set the access_token to None and vice versa.
17
+ access_token (str): The personal access token for authenticating with Confluence, e.g., 'AT....'
17
18
  spaces (list[str]): A list of Confluence spaces to interact with, e.g., ['SPACE1', 'SPACE2'].
18
19
  extension (list[str], optional): A list of file extensions to filter by. Defaults to None, e.g., ['.pdf', '.docx'].
19
20
  """
20
21
  url: str
21
- access_token: str = Field(validation_alias=AliasChoices("accessToken","access_token"))
22
- user_email: str = Field(validation_alias=AliasChoices("userEmail","user_email"))
22
+ username: str = Field(validation_alias=AliasChoices("userName","userEmail","username"))
23
+ password: Optional[str] = None
24
+ access_token: Optional[str] = Field(None, validation_alias=AliasChoices("accessToken","access_token"))
23
25
  spaces: list[str] = []
24
26
  extension: list[str] = Field(default=None)
25
27
  class Confluence(IntegrationStrategy):
@@ -37,9 +39,9 @@ class Confluence(IntegrationStrategy):
37
39
  download_dir=self.working_directory
38
40
  )
39
41
  connection_config = ConfluenceConnectionConfig(
40
- access_config=ConfluenceAccessConfig(api_token=self.__data.access_token),
42
+ access_config=ConfluenceAccessConfig(password=self.__data.password, token=self.__data.access_token),
41
43
  url=self.__data.url,
42
- user_email=self.__data.user_email
44
+ username=self.__data.username
43
45
  )
44
46
  self.__unstructured_ingest.pipeline(
45
47
  indexer_config,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: ws_bom_robot_app
3
- Version: 0.0.37
3
+ Version: 0.0.39
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
@@ -31,9 +31,9 @@ Requires-Dist: langchain_chroma==0.2.1
31
31
  Requires-Dist: fastembed==0.5.1
32
32
  Requires-Dist: langchain-qdrant==0.2.0
33
33
  Requires-Dist: lark==1.2.2
34
- Requires-Dist: unstructured==0.16.17
34
+ Requires-Dist: unstructured==0.16.21
35
35
  Requires-Dist: unstructured[image]
36
- Requires-Dist: unstructured-ingest==0.4.6
36
+ Requires-Dist: unstructured-ingest==0.5.4
37
37
  Requires-Dist: unstructured-ingest[azure]
38
38
  Requires-Dist: unstructured-ingest[confluence]
39
39
  Requires-Dist: unstructured-ingest[dropbox]
@@ -36,7 +36,7 @@ ws_bom_robot_app/llm/tools/utils.py
36
36
  ws_bom_robot_app/llm/tools/models/__init__.py
37
37
  ws_bom_robot_app/llm/tools/models/main.py
38
38
  ws_bom_robot_app/llm/utils/__init__.py
39
- ws_bom_robot_app/llm/utils/agent_utils.py
39
+ ws_bom_robot_app/llm/utils/agent.py
40
40
  ws_bom_robot_app/llm/utils/chunker.py
41
41
  ws_bom_robot_app/llm/utils/download.py
42
42
  ws_bom_robot_app/llm/utils/kb.py
@@ -19,9 +19,9 @@ langchain_chroma==0.2.1
19
19
  fastembed==0.5.1
20
20
  langchain-qdrant==0.2.0
21
21
  lark==1.2.2
22
- unstructured==0.16.17
22
+ unstructured==0.16.21
23
23
  unstructured[image]
24
- unstructured-ingest==0.4.6
24
+ unstructured-ingest==0.5.4
25
25
  unstructured-ingest[azure]
26
26
  unstructured-ingest[confluence]
27
27
  unstructured-ingest[dropbox]