ws-bom-robot-app 0.0.74__tar.gz → 0.0.76__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.
- {ws_bom_robot_app-0.0.74/ws_bom_robot_app.egg-info → ws_bom_robot_app-0.0.76}/PKG-INFO +1 -1
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/setup.py +1 -1
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/providers/llm_manager.py +1 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/integration/thron.py +14 -34
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76/ws_bom_robot_app.egg-info}/PKG-INFO +1 -1
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/MANIFEST.in +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/README.md +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/pyproject.toml +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/requirements.txt +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/setup.cfg +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/__init__.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/auth.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/config.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/cron_manager.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/__init__.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/agent_context.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/agent_description.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/agent_handler.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/agent_lcel.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/api.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/defaut_prompt.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/feedbacks/__init__.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/feedbacks/feedback_manager.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/main.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/models/__init__.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/models/api.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/models/base.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/models/feedback.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/models/kb.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/nebuly_handler.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/providers/__init__.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/settings.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/tools/__init__.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/tools/models/__init__.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/tools/models/main.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/tools/tool_builder.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/tools/tool_manager.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/tools/utils.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/utils/__init__.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/utils/agent.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/utils/chunker.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/utils/cms.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/utils/download.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/utils/kb.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/utils/print.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/utils/secrets.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/utils/webhooks.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/__init__.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/db/__init__.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/db/base.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/db/chroma.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/db/faiss.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/db/manager.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/db/qdrant.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/generator.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/integration/__init__.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/integration/azure.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/integration/base.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/integration/confluence.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/integration/dropbox.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/integration/gcs.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/integration/github.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/integration/googledrive.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/integration/jira.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/integration/manager.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/integration/s3.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/integration/sftp.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/integration/sharepoint.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/integration/sitemap.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/integration/slack.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/loader/__init__.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/loader/base.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/loader/docling.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/loader/json_loader.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/main.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/task_manager.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/util.py +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app.egg-info/SOURCES.txt +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app.egg-info/dependency_links.txt +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app.egg-info/requires.txt +0 -0
- {ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app.egg-info/top_level.txt +0 -0
|
@@ -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.
|
|
7
|
+
version="0.0.76",
|
|
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",
|
|
@@ -84,40 +84,20 @@ class Thron(IntegrationStrategy):
|
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
def __transform_data(self, data: dict) -> dict:
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
# First pass: collect all MASTER items
|
|
90
|
-
master_items = {item.get("id"): item for item in data if item.get("hierarchyLevel") == "MASTER"}
|
|
91
|
-
|
|
92
|
-
# Second pass: process items
|
|
87
|
+
_data = []
|
|
93
88
|
for item in data:
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
master_id = item.get("id")
|
|
99
|
-
item_copy = item.copy()
|
|
100
|
-
item_copy["variants"] = []
|
|
101
|
-
|
|
102
|
-
# Look for variants that belong to this master
|
|
103
|
-
for variant_item in data:
|
|
104
|
-
if (variant_item.get("hierarchyLevel") == "VARIANT" and
|
|
105
|
-
variant_item.get("variation", {}).get("master")):
|
|
106
|
-
|
|
107
|
-
variant_master_id = variant_item.get("variation").get("master").split(":")[-1]
|
|
108
|
-
|
|
109
|
-
# Check if this variant belongs to current master by comparing product_ids
|
|
89
|
+
if item.get("hierarchyLevel") == "MASTER":
|
|
90
|
+
# Iterate through variants to find the product_id
|
|
91
|
+
for item_variant in data:
|
|
92
|
+
if item_variant.get("hierarchyLevel") == "VARIANT":
|
|
110
93
|
for attr in item.get("attributes", []):
|
|
111
|
-
if
|
|
112
|
-
|
|
113
|
-
|
|
94
|
+
if attr.get("code") == "product_id" and attr.get("identifier") == item_variant.get("variation").get("master").split(":")[-1]:
|
|
95
|
+
# Initialize variants list if it doesn't exist
|
|
96
|
+
if "variants" not in item:
|
|
97
|
+
item["variants"] = []
|
|
98
|
+
item["variants"].append(item_variant)
|
|
99
|
+
_data.append(item)
|
|
114
100
|
break
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
transformed_data.append(item_copy)
|
|
119
|
-
|
|
120
|
-
elif hierarchy_level == "SIMPLE":
|
|
121
|
-
transformed_data.append(item)
|
|
122
|
-
|
|
123
|
-
return transformed_data
|
|
101
|
+
elif item.get("hierarchyLevel") == "SIMPLE":
|
|
102
|
+
_data.append(item)
|
|
103
|
+
return _data
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/agent_description.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/feedbacks/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/providers/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/tools/models/__init__.py
RENAMED
|
File without changes
|
{ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/tools/models/main.py
RENAMED
|
File without changes
|
{ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/tools/tool_builder.py
RENAMED
|
File without changes
|
{ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/tools/tool_manager.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/__init__.py
RENAMED
|
File without changes
|
{ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/db/__init__.py
RENAMED
|
File without changes
|
{ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/db/base.py
RENAMED
|
File without changes
|
{ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/db/chroma.py
RENAMED
|
File without changes
|
{ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/db/faiss.py
RENAMED
|
File without changes
|
{ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/db/manager.py
RENAMED
|
File without changes
|
{ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/db/qdrant.py
RENAMED
|
File without changes
|
{ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/generator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app/llm/vector_store/loader/base.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ws_bom_robot_app-0.0.74 → ws_bom_robot_app-0.0.76}/ws_bom_robot_app.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|