ws-bom-robot-app 0.0.90__py3-none-any.whl → 0.0.92__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.
@@ -1,236 +1,236 @@
1
- import asyncio, logging, aiohttp
2
- from ws_bom_robot_app.llm.vector_store.integration.base import IntegrationStrategy
3
- from langchain_core.documents import Document
4
- from ws_bom_robot_app.llm.vector_store.loader.base import Loader
5
- from typing import List, Union, Optional
6
- from pydantic import BaseModel, Field, AliasChoices
7
- import json
8
- import os
9
- import platform
10
- import pandas as pd
11
- from io import BytesIO
12
-
13
- # Fix for Windows event loop issue with aiodns
14
- if platform.system() == 'Windows':
15
- asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
16
-
17
- class ThronParams(BaseModel):
18
- """
19
- ThronParams is a model that defines the parameters required for Thron integration.
20
-
21
- Attributes:
22
- app_id (str): The application ID for Thron.
23
- client_id (str): The client ID for Thron.
24
- client_secret (str): The client secret for Thron.
25
- """
26
- organization_name: str = Field(validation_alias=AliasChoices("organizationName","organization_name"))
27
- attribute_fields: Optional[List[str]] = Field(default=None, validation_alias=AliasChoices("attributeFields","attribute_fields"))
28
- client_id: str = Field(validation_alias=AliasChoices("clientId","client_id"))
29
- client_secret: str = Field(validation_alias=AliasChoices("clientSecret","client_secret"))
30
-
31
- class Thron(IntegrationStrategy):
32
- def __init__(self, knowledgebase_path: str, data: dict[str, Union[str,int,list]]):
33
- super().__init__(knowledgebase_path, data)
34
- self.__token = None
35
- self.__data = ThronParams.model_validate(self.data)
36
-
37
- def working_subdirectory(self) -> str:
38
- return 'thron'
39
-
40
- async def __ensure_token(self) -> bool:
41
- """Ensure we have a valid token, getting one if needed."""
42
- if not self.__token:
43
- self.__token = await self.__get_auth_token()
44
- return self.__token is not None
45
-
46
- def __convert_xlsx_to_csv(self, file_content: bytes) -> bool:
47
- """Convert XLSX file content to CSV and save to working directory."""
48
- try:
49
- df = pd.read_excel(BytesIO(file_content))
50
- csv_path = os.path.join(self.working_directory, 'thron_export.csv')
51
- df.to_csv(csv_path, index=False, encoding='utf-8')
52
- return True
53
- except Exception as e:
54
- logging.error(f"Error converting XLSX to CSV: {e}")
55
- return False
56
-
57
- async def run(self) -> None:
58
- _run_id = await self.__get_data()
59
- if _run_id:
60
- await self.__fetch_exported_file(_run_id)
61
-
62
- async def load(self) -> list[Document]:
63
- await self.run()
64
- await asyncio.sleep(1)
65
- return await Loader(self.working_directory).load()
66
-
67
- async def __get_auth_token(self) -> str:
68
- """
69
- Get authentication token from Thron API.
70
-
71
- Returns:
72
- str: The access token if successful, None otherwise.
73
- """
74
- try:
75
- async with aiohttp.ClientSession() as session:
76
- auth_data = {
77
- "grant_type": "client_credentials",
78
- "client_id": self.__data.client_id,
79
- "client_secret": self.__data.client_secret
80
- }
81
- headers = {
82
- "accept": "application/json",
83
- "Content-Type": "application/x-www-form-urlencoded"
84
- }
85
- async with session.post(f"https://{self.__data.organization_name}.thron.com/api/v1/authentication/oauth2/token", data=auth_data, headers=headers) as response:
86
- result = await response.json()
87
- return result.get("access_token", "")
88
- except Exception as e:
89
- logging.error(f"Error fetching Thron auth token: {e}")
90
- return None
91
-
92
- async def __refresh_token(self) -> bool:
93
- """Refresh the authentication token and update the instance variable."""
94
- try:
95
- new_token = await self.__get_auth_token()
96
- if new_token:
97
- self.__token = new_token
98
- logging.info("Thron authentication token refreshed successfully.")
99
- return True
100
- else:
101
- logging.error("Failed to refresh Thron authentication token.")
102
- return False
103
- except Exception as e:
104
- logging.error(f"Error refreshing Thron auth token: {e}")
105
- return False
106
-
107
- async def __get_data(self) -> str:
108
- """
109
- Initiates a data export request to Thron API.
110
-
111
- Returns:
112
- str: The export ID if successful, None otherwise.
113
- """
114
- max_retries = 2
115
- retry_count = 0
116
-
117
- while retry_count < max_retries:
118
- try:
119
- if not await self.__ensure_token():
120
- logging.error("Failed to obtain Thron authentication token.")
121
- return {}
122
-
123
- async with aiohttp.ClientSession() as session:
124
- headers = {
125
- "accept": "application/json",
126
- "Authorization": f"Bearer {self.__token}"
127
- }
128
- payload = {"attributes": self.__data.attribute_fields or [],"assetsBy":"CODE","type":"CODES","format":"XLSX","locales":[],"systemAttributes":["family","master","variation","variationGroup","hierarchyLevel"]}
129
- async with session.post(f"https://{self.__data.organization_name}.thron.com/api/v1/product-sync/exports", headers=headers, json=payload) as response:
130
- # Check for authentication errors
131
- if response.status == 401:
132
- logging.warning("Authentication failed in __get_data, attempting to refresh token...")
133
- if await self.__refresh_token():
134
- retry_count += 1
135
- continue
136
- else:
137
- logging.error("Token refresh failed in __get_data.")
138
- return None
139
-
140
- if response.status not in range(200, 300):
141
- logging.error(f"API request failed with status {response.status}")
142
- return None
143
-
144
- result = await response.json()
145
- return result.get("id", None)
146
-
147
- except Exception as e:
148
- logging.error(f"Error fetching Thron product data (attempt {retry_count + 1}): {e}")
149
- if retry_count < max_retries - 1:
150
- if await self.__refresh_token():
151
- retry_count += 1
152
- continue
153
- retry_count += 1
154
-
155
- logging.error(f"Failed to fetch Thron product data after {max_retries} attempts.")
156
- return {}
157
-
158
-
159
- async def __fetch_exported_file(self, export_id: str) -> bool:
160
- """
161
- Fetches the exported file from Thron API using the provided export ID.
162
- Polls the export status until it's processed, then downloads the XLSX file
163
- and converts it to CSV format in the working directory.
164
-
165
- Args:
166
- export_id (str): The ID of the export to fetch.
167
-
168
- Returns:
169
- bool: True if file was successfully downloaded and converted, False otherwise.
170
- """
171
- max_retries = 2
172
- retry_count = 0
173
-
174
- while retry_count < max_retries:
175
- try:
176
- # Ensure we have a token
177
- if not await self.__ensure_token():
178
- logging.error("Failed to obtain Thron authentication token.")
179
- return {}
180
-
181
- async with aiohttp.ClientSession() as session:
182
- headers = {
183
- "accept": "application/json",
184
- "Authorization": f"Bearer {self.__token}"
185
- }
186
-
187
- # Polling until status is PROCESSED
188
- while True:
189
- async with session.get(f"https://{self.__data.organization_name}.thron.com/api/v1/product-sync/exports/{export_id}", headers=headers) as response:
190
- # Check for authentication errors
191
- if response.status == 401:
192
- logging.warning("Authentication failed, attempting to refresh token...")
193
- if await self.__refresh_token():
194
- headers["Authorization"] = f"Bearer {self.__token}"
195
- continue
196
- else:
197
- logging.error("Token refresh failed, aborting request.")
198
- return {}
199
-
200
- if response.status != 200:
201
- logging.error(f"API request failed with status {response.status}")
202
- break
203
-
204
- result = await response.json()
205
- if result.get("status") == "PROCESSED":
206
- download_uri = result.get("downloadUri")
207
- if download_uri:
208
- async with session.get(download_uri) as file_response:
209
- if file_response.status == 200:
210
- # Download XLSX file
211
- file_content = await file_response.read()
212
- return self.__convert_xlsx_to_csv(file_content)
213
-
214
- elif file_response.status == 401:
215
- logging.warning("Authentication failed during file download, attempting to refresh token...")
216
- if await self.__refresh_token():
217
- retry_count += 1
218
- break
219
- else:
220
- logging.error("Token refresh failed during file download.")
221
- return False
222
- break
223
-
224
- await asyncio.sleep(5)
225
- return False
226
-
227
- except Exception as e:
228
- logging.error(f"Error fetching exported data (attempt {retry_count + 1}): {e}")
229
- if retry_count < max_retries - 1:
230
- if await self.__refresh_token():
231
- retry_count += 1
232
- continue
233
- retry_count += 1
234
-
235
- logging.error(f"Failed to fetch exported data after {max_retries} attempts.")
236
- return False
1
+ import asyncio, logging, aiohttp
2
+ from ws_bom_robot_app.llm.vector_store.integration.base import IntegrationStrategy
3
+ from langchain_core.documents import Document
4
+ from ws_bom_robot_app.llm.vector_store.loader.base import Loader
5
+ from typing import List, Union, Optional
6
+ from pydantic import BaseModel, Field, AliasChoices
7
+ import json
8
+ import os
9
+ import platform
10
+ import pandas as pd
11
+ from io import BytesIO
12
+
13
+ # Fix for Windows event loop issue with aiodns
14
+ if platform.system() == 'Windows':
15
+ asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
16
+
17
+ class ThronParams(BaseModel):
18
+ """
19
+ ThronParams is a model that defines the parameters required for Thron integration.
20
+
21
+ Attributes:
22
+ app_id (str): The application ID for Thron.
23
+ client_id (str): The client ID for Thron.
24
+ client_secret (str): The client secret for Thron.
25
+ """
26
+ organization_name: str = Field(validation_alias=AliasChoices("organizationName","organization_name"))
27
+ attribute_fields: Optional[List[str]] = Field(default=None, validation_alias=AliasChoices("attributeFields","attribute_fields"))
28
+ client_id: str = Field(validation_alias=AliasChoices("clientId","client_id"))
29
+ client_secret: str = Field(validation_alias=AliasChoices("clientSecret","client_secret"))
30
+
31
+ class Thron(IntegrationStrategy):
32
+ def __init__(self, knowledgebase_path: str, data: dict[str, Union[str,int,list]]):
33
+ super().__init__(knowledgebase_path, data)
34
+ self.__token = None
35
+ self.__data = ThronParams.model_validate(self.data)
36
+
37
+ def working_subdirectory(self) -> str:
38
+ return 'thron'
39
+
40
+ async def __ensure_token(self) -> bool:
41
+ """Ensure we have a valid token, getting one if needed."""
42
+ if not self.__token:
43
+ self.__token = await self.__get_auth_token()
44
+ return self.__token is not None
45
+
46
+ def __convert_xlsx_to_csv(self, file_content: bytes) -> bool:
47
+ """Convert XLSX file content to CSV and save to working directory."""
48
+ try:
49
+ df = pd.read_excel(BytesIO(file_content))
50
+ csv_path = os.path.join(self.working_directory, 'thron_export.csv')
51
+ df.to_csv(csv_path, index=False, encoding='utf-8')
52
+ return True
53
+ except Exception as e:
54
+ logging.error(f"Error converting XLSX to CSV: {e}")
55
+ return False
56
+
57
+ async def run(self) -> None:
58
+ _run_id = await self.__get_data()
59
+ if _run_id:
60
+ await self.__fetch_exported_file(_run_id)
61
+
62
+ async def load(self) -> list[Document]:
63
+ await self.run()
64
+ await asyncio.sleep(1)
65
+ return await Loader(self.working_directory).load()
66
+
67
+ async def __get_auth_token(self) -> str:
68
+ """
69
+ Get authentication token from Thron API.
70
+
71
+ Returns:
72
+ str: The access token if successful, None otherwise.
73
+ """
74
+ try:
75
+ async with aiohttp.ClientSession() as session:
76
+ auth_data = {
77
+ "grant_type": "client_credentials",
78
+ "client_id": self.__data.client_id,
79
+ "client_secret": self.__data.client_secret
80
+ }
81
+ headers = {
82
+ "accept": "application/json",
83
+ "Content-Type": "application/x-www-form-urlencoded"
84
+ }
85
+ async with session.post(f"https://{self.__data.organization_name}.thron.com/api/v1/authentication/oauth2/token", data=auth_data, headers=headers) as response:
86
+ result = await response.json()
87
+ return result.get("access_token", "")
88
+ except Exception as e:
89
+ logging.error(f"Error fetching Thron auth token: {e}")
90
+ return None
91
+
92
+ async def __refresh_token(self) -> bool:
93
+ """Refresh the authentication token and update the instance variable."""
94
+ try:
95
+ new_token = await self.__get_auth_token()
96
+ if new_token:
97
+ self.__token = new_token
98
+ logging.info("Thron authentication token refreshed successfully.")
99
+ return True
100
+ else:
101
+ logging.error("Failed to refresh Thron authentication token.")
102
+ return False
103
+ except Exception as e:
104
+ logging.error(f"Error refreshing Thron auth token: {e}")
105
+ return False
106
+
107
+ async def __get_data(self) -> str:
108
+ """
109
+ Initiates a data export request to Thron API.
110
+
111
+ Returns:
112
+ str: The export ID if successful, None otherwise.
113
+ """
114
+ max_retries = 2
115
+ retry_count = 0
116
+
117
+ while retry_count < max_retries:
118
+ try:
119
+ if not await self.__ensure_token():
120
+ logging.error("Failed to obtain Thron authentication token.")
121
+ return {}
122
+
123
+ async with aiohttp.ClientSession() as session:
124
+ headers = {
125
+ "accept": "application/json",
126
+ "Authorization": f"Bearer {self.__token}"
127
+ }
128
+ payload = {"attributes": self.__data.attribute_fields or [],"assetsBy":"CODE","type":"CODES","format":"XLSX","locales":[],"systemAttributes":["family","master","variation","variationGroup","hierarchyLevel"]}
129
+ async with session.post(f"https://{self.__data.organization_name}.thron.com/api/v1/product-sync/exports", headers=headers, json=payload) as response:
130
+ # Check for authentication errors
131
+ if response.status == 401:
132
+ logging.warning("Authentication failed in __get_data, attempting to refresh token...")
133
+ if await self.__refresh_token():
134
+ retry_count += 1
135
+ continue
136
+ else:
137
+ logging.error("Token refresh failed in __get_data.")
138
+ return None
139
+
140
+ if response.status not in range(200, 300):
141
+ logging.error(f"API request failed with status {response.status}")
142
+ return None
143
+
144
+ result = await response.json()
145
+ return result.get("id", None)
146
+
147
+ except Exception as e:
148
+ logging.error(f"Error fetching Thron product data (attempt {retry_count + 1}): {e}")
149
+ if retry_count < max_retries - 1:
150
+ if await self.__refresh_token():
151
+ retry_count += 1
152
+ continue
153
+ retry_count += 1
154
+
155
+ logging.error(f"Failed to fetch Thron product data after {max_retries} attempts.")
156
+ return {}
157
+
158
+
159
+ async def __fetch_exported_file(self, export_id: str) -> bool:
160
+ """
161
+ Fetches the exported file from Thron API using the provided export ID.
162
+ Polls the export status until it's processed, then downloads the XLSX file
163
+ and converts it to CSV format in the working directory.
164
+
165
+ Args:
166
+ export_id (str): The ID of the export to fetch.
167
+
168
+ Returns:
169
+ bool: True if file was successfully downloaded and converted, False otherwise.
170
+ """
171
+ max_retries = 2
172
+ retry_count = 0
173
+
174
+ while retry_count < max_retries:
175
+ try:
176
+ # Ensure we have a token
177
+ if not await self.__ensure_token():
178
+ logging.error("Failed to obtain Thron authentication token.")
179
+ return {}
180
+
181
+ async with aiohttp.ClientSession() as session:
182
+ headers = {
183
+ "accept": "application/json",
184
+ "Authorization": f"Bearer {self.__token}"
185
+ }
186
+
187
+ # Polling until status is PROCESSED
188
+ while True:
189
+ async with session.get(f"https://{self.__data.organization_name}.thron.com/api/v1/product-sync/exports/{export_id}", headers=headers) as response:
190
+ # Check for authentication errors
191
+ if response.status == 401:
192
+ logging.warning("Authentication failed, attempting to refresh token...")
193
+ if await self.__refresh_token():
194
+ headers["Authorization"] = f"Bearer {self.__token}"
195
+ continue
196
+ else:
197
+ logging.error("Token refresh failed, aborting request.")
198
+ return {}
199
+
200
+ if response.status != 200:
201
+ logging.error(f"API request failed with status {response.status}")
202
+ break
203
+
204
+ result = await response.json()
205
+ if result.get("status") == "PROCESSED":
206
+ download_uri = result.get("downloadUri")
207
+ if download_uri:
208
+ async with session.get(download_uri) as file_response:
209
+ if file_response.status == 200:
210
+ # Download XLSX file
211
+ file_content = await file_response.read()
212
+ return self.__convert_xlsx_to_csv(file_content)
213
+
214
+ elif file_response.status == 401:
215
+ logging.warning("Authentication failed during file download, attempting to refresh token...")
216
+ if await self.__refresh_token():
217
+ retry_count += 1
218
+ break
219
+ else:
220
+ logging.error("Token refresh failed during file download.")
221
+ return False
222
+ break
223
+
224
+ await asyncio.sleep(5)
225
+ return False
226
+
227
+ except Exception as e:
228
+ logging.error(f"Error fetching exported data (attempt {retry_count + 1}): {e}")
229
+ if retry_count < max_retries - 1:
230
+ if await self.__refresh_token():
231
+ retry_count += 1
232
+ continue
233
+ retry_count += 1
234
+
235
+ logging.error(f"Failed to fetch exported data after {max_retries} attempts.")
236
+ return False
@@ -1,25 +1,25 @@
1
- import json
2
- from typing import Optional
3
- from langchain_core.documents import Document
4
- from langchain_community.document_loaders.base import BaseLoader
5
-
6
- class JsonLoader(BaseLoader):
7
- def __init__(self, file_path: str, meta_fields:Optional[list[str]] = [],encoding: Optional[str] = "utf-8"):
8
- self.file_path = file_path
9
- self.meta_fields = meta_fields
10
- self.encoding = encoding
11
-
12
- def load(self) -> list[Document]:
13
- with open(self.file_path, "r", encoding=self.encoding) as file:
14
- data = json.load(file)
15
- _list = data if isinstance(data, list) else [data]
16
- return [
17
- Document(
18
- page_content=json.dumps(item),
19
- metadata={
20
- "source": self.file_path,
21
- **{field: item.get(field) for field in self.meta_fields if item.get(field)}
22
- }
23
- )
24
- for item in _list
25
- ]
1
+ import json
2
+ from typing import Optional
3
+ from langchain_core.documents import Document
4
+ from langchain_community.document_loaders.base import BaseLoader
5
+
6
+ class JsonLoader(BaseLoader):
7
+ def __init__(self, file_path: str, meta_fields:Optional[list[str]] = [],encoding: Optional[str] = "utf-8"):
8
+ self.file_path = file_path
9
+ self.meta_fields = meta_fields
10
+ self.encoding = encoding
11
+
12
+ def load(self) -> list[Document]:
13
+ with open(self.file_path, "r", encoding=self.encoding) as file:
14
+ data = json.load(file)
15
+ _list = data if isinstance(data, list) else [data]
16
+ return [
17
+ Document(
18
+ page_content=json.dumps(item),
19
+ metadata={
20
+ "source": self.file_path,
21
+ **{field: item.get(field) for field in self.meta_fields if item.get(field)}
22
+ }
23
+ )
24
+ for item in _list
25
+ ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ws_bom_robot_app
3
- Version: 0.0.90
3
+ Version: 0.0.92
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
@@ -19,7 +19,7 @@ Requires-Dist: fastapi[standard]==0.116.1
19
19
  Requires-Dist: chevron==0.14.0
20
20
  Requires-Dist: langchain==0.3.27
21
21
  Requires-Dist: langchain-community==0.3.29
22
- Requires-Dist: langchain-core==0.3.75
22
+ Requires-Dist: langchain-core==0.3.76
23
23
  Requires-Dist: langchain-openai==0.3.32
24
24
  Requires-Dist: langchain-anthropic==0.3.19
25
25
  Requires-Dist: langchain-ibm==0.3.17
@@ -8,40 +8,40 @@ ws_bom_robot_app/task_manager.py,sha256=N2NzinjaxsRaLu78sREG9MCanMzygtKUU_yXo-aw
8
8
  ws_bom_robot_app/util.py,sha256=t1VS6JQNOZe6aenBmjPLxJ_A3ncm7WqTZE8_gR85sQo,5022
9
9
  ws_bom_robot_app/llm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  ws_bom_robot_app/llm/agent_context.py,sha256=uatHJ8wcRly6h0S762BgfzDMpmcwCHwNzwo37aWjeE0,1305
11
- ws_bom_robot_app/llm/agent_description.py,sha256=yK4aVU3RNk1oP4bEneV3QPAi-208JwWk4R6qHlzqYIg,4656
12
- ws_bom_robot_app/llm/agent_handler.py,sha256=_IHKBpoiDfvHyU-irOXqtu_KPUv_-nczZd8VugT7l4A,7579
13
- ws_bom_robot_app/llm/agent_lcel.py,sha256=tVa1JJOuL1CG0tXS5AwOB4gli0E2rGqSBD5oEehHvOY,2480
11
+ ws_bom_robot_app/llm/agent_description.py,sha256=5IP0qFSJvaE3zjGS7f0W1DuiegP0RHXRMBoDC5pCofA,4779
12
+ ws_bom_robot_app/llm/agent_handler.py,sha256=-KPJa0VZsd2_oLKp5TK3OJpv0d9uSznXz2EOAHDqAdA,7777
13
+ ws_bom_robot_app/llm/agent_lcel.py,sha256=QRgGkdVXCwDXWjJj8R8qaYeLqUfpaYjtRnl3GrZCwVM,2530
14
14
  ws_bom_robot_app/llm/api.py,sha256=jMoiKiD5HNxGu6gTb5_qZ5UU8d2uJ7UVrdLseDStI6o,7634
15
- ws_bom_robot_app/llm/defaut_prompt.py,sha256=LlCd_nSMkMmHESfiiiQYfnJyB6Pp-LSs4CEKdYW4vFk,1106
15
+ ws_bom_robot_app/llm/defaut_prompt.py,sha256=D9dn8yPveu0bVwGM1wQWLYftmBs5O76o0R_caLLll8w,1121
16
16
  ws_bom_robot_app/llm/evaluator.py,sha256=tUyPX1oGZEjSiO4JixwNlgv6BI9cUHSmcAsTCpBnIn4,13322
17
- ws_bom_robot_app/llm/main.py,sha256=U_zUcL51VazXUyEicWFoNGkqwV-55s3tn52BlVPINes,5670
18
- ws_bom_robot_app/llm/nebuly_handler.py,sha256=Z4_GS-N4vQYPLnlXlwhJrwpUvf2uG53diYSOcteXGTc,7978
17
+ ws_bom_robot_app/llm/main.py,sha256=GZ6Bkb3rNl4xf2ZXGkl9bhZrIRsvi40vUIRDJ-WwRAc,5828
18
+ ws_bom_robot_app/llm/nebuly_handler.py,sha256=wFO2UG849kv5hmjM5EoOp0Jsloy-BtQjrRh4pVosnfU,8163
19
19
  ws_bom_robot_app/llm/feedbacks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
- ws_bom_robot_app/llm/feedbacks/feedback_manager.py,sha256=WcKgzlOb8VFG7yqHoIOO_R6LAzdzE4YIRFCVOGBSgfM,2856
20
+ ws_bom_robot_app/llm/feedbacks/feedback_manager.py,sha256=vNcZLG9IKhurAk7hjBqyFgQTjnh3Cd4GnxeYsX7ZdiA,2922
21
21
  ws_bom_robot_app/llm/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
22
  ws_bom_robot_app/llm/models/api.py,sha256=bahqx9rdP6jM9Kk9VGkqT-bhASJeuAzO_5Ir6tBxDIU,12212
23
23
  ws_bom_robot_app/llm/models/base.py,sha256=1TqxuTK3rjJEALn7lvgoen_1ba3R2brAgGx6EDTtDZo,152
24
- ws_bom_robot_app/llm/models/feedback.py,sha256=zh1jLqPRLzNlxInkCMoiJbfSu0-tiOEYHM7FhC46PkM,1692
24
+ ws_bom_robot_app/llm/models/feedback.py,sha256=pYNQGxNOBgeAAfdJLI95l7ePLBI5tVdsgnyjp5oMOQU,1722
25
25
  ws_bom_robot_app/llm/models/kb.py,sha256=oVSw6_dmNxikAHrPqcfxDXz9M0ezLIYuxpgvzfs_Now,9514
26
26
  ws_bom_robot_app/llm/providers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
27
  ws_bom_robot_app/llm/providers/llm_manager.py,sha256=LQi2d6MJMNlzgSCwqfLwOf9H96bFBHRd6T05hc7dKuA,16738
28
28
  ws_bom_robot_app/llm/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
- ws_bom_robot_app/llm/tools/tool_builder.py,sha256=_9XpbGjNSFup5W0NqrabiS6U-ZJNjLxa9EV1IO0DtWM,3364
30
- ws_bom_robot_app/llm/tools/tool_manager.py,sha256=-6gC_5OT379c6is1xY_vnwrdkflEl-J8seKpgQ9yK8s,15107
31
- ws_bom_robot_app/llm/tools/utils.py,sha256=tdmOAk8l4HVzw67z3brA9yX-1WLu91paU-WmXHyz4Bg,1883
29
+ ws_bom_robot_app/llm/tools/tool_builder.py,sha256=CtZwJ94aj0YGA3yVWkyCUxNE7WgU2zWjhl_tEfEskxw,3432
30
+ ws_bom_robot_app/llm/tools/tool_manager.py,sha256=avoFERE0v9MFQ3pUBMug8eGYIXbIYl7NqkP1kjNee7s,15439
31
+ ws_bom_robot_app/llm/tools/utils.py,sha256=Ba7ScFZPVJ3ke8KLO8ik1wyR2f_zC99Bikqx0OGnKoI,1924
32
32
  ws_bom_robot_app/llm/tools/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
33
  ws_bom_robot_app/llm/tools/models/main.py,sha256=1hICqHs-KS2heenkH7b2eH0N2GrPaaNGBrn64cl_A40,827
34
34
  ws_bom_robot_app/llm/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
35
- ws_bom_robot_app/llm/utils/agent.py,sha256=_CY5Dji3UeAIi2iuU7ttz4fml1q8aCFgVWOv970x8Fw,1411
35
+ ws_bom_robot_app/llm/utils/agent.py,sha256=uFuSfYMfGIE2WCKGNSKL-T2SDFn-tUKvbAYbGTPIw6g,1445
36
36
  ws_bom_robot_app/llm/utils/chunker.py,sha256=zVXjRMloc3KbNEqiDcycYzy4N0Ey1g8XYeq6ftyvkyg,857
37
37
  ws_bom_robot_app/llm/utils/cleanup.py,sha256=ARLZTX4mLbkLCEnMdIWYDYEAPOjzfy1laLGkYnxZe30,3063
38
- ws_bom_robot_app/llm/utils/cms.py,sha256=XhrLQyHQ2JUOInDCCf_uvR4Jiud0YvH2FwwiiuCnnsg,6352
39
- ws_bom_robot_app/llm/utils/download.py,sha256=CrPWoCwYY6TjpDR8uHI0Do-w7WQ0PtjMcbUaRoEDUbg,7110
40
- ws_bom_robot_app/llm/utils/print.py,sha256=IsPYEWRJqu-dqlJA3F9OnnIS4rOq_EYX1Ljp3BvDnww,774
38
+ ws_bom_robot_app/llm/utils/cms.py,sha256=5TBDDlTsE4O8_bGvlqFOkkK13WFEoOvYRp_FOEXUuKY,6466
39
+ ws_bom_robot_app/llm/utils/download.py,sha256=rvc88E63UGHnFVlJJeMb05Z2FcBYIITqKnIE3ldEu6I,7293
40
+ ws_bom_robot_app/llm/utils/print.py,sha256=HK3zhZOd4cEyXZ8QcudLtTIfqqtMOERce_yTofS8NXo,803
41
41
  ws_bom_robot_app/llm/utils/secrets.py,sha256=-HtqLIDVIJrpvGC5YhPAVyLsq8P4ChVM5g3GOfdwqVk,878
42
42
  ws_bom_robot_app/llm/utils/webhooks.py,sha256=LAAZqyN6VhV13wu4X-X85TwdDgAV2rNvIwQFIIc0FJM,2114
43
43
  ws_bom_robot_app/llm/vector_store/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
44
- ws_bom_robot_app/llm/vector_store/generator.py,sha256=9_xdtCKJhmt1OP0GXDjvFERXMP7ozLZT92KuYEBDgC0,6314
44
+ ws_bom_robot_app/llm/vector_store/generator.py,sha256=W_hi_UOPaSjnEuazhUFIrMAwTvz64Du8_gpiVAxFlVc,6451
45
45
  ws_bom_robot_app/llm/vector_store/db/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
46
  ws_bom_robot_app/llm/vector_store/db/base.py,sha256=pIlHTg83bLdGfbZorilSqeJ5QKgpGU8fxF3c-5pLWJo,8490
47
47
  ws_bom_robot_app/llm/vector_store/db/chroma.py,sha256=s_RH16do52_5ejWgjlzp2cGTonGFIkalp0V3L3gbTnU,4574
@@ -61,15 +61,15 @@ ws_bom_robot_app/llm/vector_store/integration/manager.py,sha256=S5z8LK_RcsCmWvLi
61
61
  ws_bom_robot_app/llm/vector_store/integration/s3.py,sha256=_SAuPfyK7lIz7Jq1LiBavkF1lre5yqe6DGlMYnxMa4o,3317
62
62
  ws_bom_robot_app/llm/vector_store/integration/sftp.py,sha256=g6f-FKkEktx7nJahb7RKyQ4pM9wGik0_xXMDfWup-1c,2845
63
63
  ws_bom_robot_app/llm/vector_store/integration/sharepoint.py,sha256=DhBcAwgr1u-dQ_8TxeLPu7kzr_EDogCRQeBrIULtWfo,4898
64
- ws_bom_robot_app/llm/vector_store/integration/shopify.py,sha256=htYo3sVbJiO5gvuMZ8mzMa-irRqIGlN7Jxg0VkJMtYU,5388
64
+ ws_bom_robot_app/llm/vector_store/integration/shopify.py,sha256=pJzd1yBo_NWSAls88wl8FSBWXPzE-N-tOT4oxiZft2A,5531
65
65
  ws_bom_robot_app/llm/vector_store/integration/sitemap.py,sha256=YKQ_0VUSW9NQ3svVKuas2OLk_fsTQuxg4B_zCBzKx_s,5282
66
66
  ws_bom_robot_app/llm/vector_store/integration/slack.py,sha256=hiE1kkg7868mbP2wVWQLmC1fK2jIE1lT7f8hVN0NqeY,2636
67
- ws_bom_robot_app/llm/vector_store/integration/thron.py,sha256=rn0fWtwt8zL7H-OMRYH31ZQgvdl-DlW5gNwf24XdRNA,9094
67
+ ws_bom_robot_app/llm/vector_store/integration/thron.py,sha256=6XefkQxS-qF4yAH_sH1n2EONZvTiWiAAx_bb24y8QEQ,9330
68
68
  ws_bom_robot_app/llm/vector_store/loader/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
69
69
  ws_bom_robot_app/llm/vector_store/loader/base.py,sha256=GjUS2oaz0LHOSal5pipBkomZtrYUNcKPSd8bzhUU5Dc,6889
70
70
  ws_bom_robot_app/llm/vector_store/loader/docling.py,sha256=IOv1A0HSIWiHWQFzI4fdApfxrKgXOqwmC3mPXlKplqQ,4012
71
- ws_bom_robot_app/llm/vector_store/loader/json_loader.py,sha256=qo9ejRZyKv_k6jnGgXnu1W5uqsMMtgqK_uvPpZQ0p74,833
72
- ws_bom_robot_app-0.0.90.dist-info/METADATA,sha256=wDBpfJr1GwgP12u_UR4HFNnC9cQ4Q722qAEyEMxPqO0,9984
73
- ws_bom_robot_app-0.0.90.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
74
- ws_bom_robot_app-0.0.90.dist-info/top_level.txt,sha256=Yl0akyHVbynsBX_N7wx3H3ZTkcMLjYyLJs5zBMDAKcM,17
75
- ws_bom_robot_app-0.0.90.dist-info/RECORD,,
71
+ ws_bom_robot_app/llm/vector_store/loader/json_loader.py,sha256=LDppW0ZATo4_1hh-KlsAM3TLawBvwBxva_a7k5Oz1sc,858
72
+ ws_bom_robot_app-0.0.92.dist-info/METADATA,sha256=hb5hhR0VnQernV5ODHa4UJx4AM8LUyMIdj9g-digGxI,9984
73
+ ws_bom_robot_app-0.0.92.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
74
+ ws_bom_robot_app-0.0.92.dist-info/top_level.txt,sha256=Yl0akyHVbynsBX_N7wx3H3ZTkcMLjYyLJs5zBMDAKcM,17
75
+ ws_bom_robot_app-0.0.92.dist-info/RECORD,,