Spaces:
Sleeping
Sleeping
mriusero
commited on
Commit
·
79429aa
1
Parent(s):
71dc3e6
feat: add examples
Browse files- chroma_db/chroma.sqlite3 +1 -1
- chroma_db/d365f4bc-8099-45f4-bdc0-9c299960820d/length.bin +1 -1
- data/downtimes.json +5 -37
- data/status.json +25 -25
- src/ui/sidebar.py +2 -0
chroma_db/chroma.sqlite3
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 876544
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2cbc86c73ecee8ebf7e3173e6edb5a1a3fcd523aa94120f236e878911f76bd83
|
3 |
size 876544
|
chroma_db/d365f4bc-8099-45f4-bdc0-9c299960820d/length.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 40000
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0f4b8e138dc6fb3cfe2b386d15b3975eaa2adb8ce9a47cfa75ae4786c5ffb624
|
3 |
size 40000
|
data/downtimes.json
CHANGED
@@ -1,42 +1,10 @@
|
|
1 |
[
|
2 |
{
|
3 |
-
"Timestamp":"2025-06-11 02:
|
4 |
"Event":"Machine Error",
|
5 |
-
"Error Code":"
|
6 |
-
"Error Description":"
|
7 |
-
"Downtime Start":"2025-06-11 02:
|
8 |
-
"Downtime End":"2025-06-11 02:
|
9 |
-
},
|
10 |
-
{
|
11 |
-
"Timestamp":"2025-06-11 02:38:45",
|
12 |
-
"Event":"Machine Error",
|
13 |
-
"Error Code":"E005",
|
14 |
-
"Error Description":"Power Failure",
|
15 |
-
"Downtime Start":"2025-06-11 02:38:45",
|
16 |
-
"Downtime End":"2025-06-11 02:48:45"
|
17 |
-
},
|
18 |
-
{
|
19 |
-
"Timestamp":"2025-06-11 02:48:52",
|
20 |
-
"Event":"Machine Error",
|
21 |
-
"Error Code":"E007",
|
22 |
-
"Error Description":"Wear and Tear of Parts",
|
23 |
-
"Downtime Start":"2025-06-11 02:48:52",
|
24 |
-
"Downtime End":"2025-06-11 03:03:52"
|
25 |
-
},
|
26 |
-
{
|
27 |
-
"Timestamp":"2025-06-11 03:04:27",
|
28 |
-
"Event":"Machine Error",
|
29 |
-
"Error Code":"E010",
|
30 |
-
"Error Description":"Positioning Error",
|
31 |
-
"Downtime Start":"2025-06-11 03:04:27",
|
32 |
-
"Downtime End":"2025-06-11 03:19:27"
|
33 |
-
},
|
34 |
-
{
|
35 |
-
"Timestamp":"2025-06-11 03:19:30",
|
36 |
-
"Event":"Machine Error",
|
37 |
-
"Error Code":"E009",
|
38 |
-
"Error Description":"Low Lubricant Level",
|
39 |
-
"Downtime Start":"2025-06-11 03:19:30",
|
40 |
-
"Downtime End":"2025-06-11 03:27:30"
|
41 |
}
|
42 |
]
|
|
|
1 |
[
|
2 |
{
|
3 |
+
"Timestamp":"2025-06-11 02:40:38",
|
4 |
"Event":"Machine Error",
|
5 |
+
"Error Code":"E001",
|
6 |
+
"Error Description":"Calibration Error",
|
7 |
+
"Downtime Start":"2025-06-11 02:40:38",
|
8 |
+
"Downtime End":"2025-06-11 02:55:38"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
}
|
10 |
]
|
data/status.json
CHANGED
@@ -1,28 +1,28 @@
|
|
1 |
{
|
2 |
-
"opening_time": "0 days 00:
|
3 |
-
"required_time": "0 days 00:
|
4 |
-
"unplanned_stop_time": "0 days 00:
|
5 |
-
"operating_time": "0 days 00:
|
6 |
-
"net_time": "0 days 00:
|
7 |
-
"useful_time": "0 days 00:
|
8 |
-
"quality_rate":
|
9 |
-
"quality_rate_tool_1":
|
10 |
-
"quality_rate_tool_2":
|
11 |
"operating_rate": 100.0,
|
12 |
-
"availability_rate":
|
13 |
-
"OEE":
|
14 |
-
"MTBF": "0 days 00:
|
15 |
-
"MTTR": "0 days 00:
|
16 |
-
"tool_1_cp_pos":
|
17 |
-
"tool_1_cpk_pos": 0.
|
18 |
-
"tool_1_cp_ori": 0.
|
19 |
-
"tool_1_cpk_ori": 0.
|
20 |
-
"tool_2_cp_pos": 0.
|
21 |
-
"tool_2_cpk_pos": 0.
|
22 |
-
"tool_2_cp_ori": 0.
|
23 |
-
"tool_2_cpk_ori": 0.
|
24 |
-
"all_cp_pos": 0.
|
25 |
-
"all_cpk_pos": 0.
|
26 |
-
"all_cp_ori": 0.
|
27 |
-
"all_cpk_ori": 0.
|
28 |
}
|
|
|
1 |
{
|
2 |
+
"opening_time": "0 days 00:19:27",
|
3 |
+
"required_time": "0 days 00:19:27",
|
4 |
+
"unplanned_stop_time": "0 days 00:15:00",
|
5 |
+
"operating_time": "0 days 00:04:27",
|
6 |
+
"net_time": "0 days 00:04:27",
|
7 |
+
"useful_time": "0 days 00:04:12",
|
8 |
+
"quality_rate": 94.38,
|
9 |
+
"quality_rate_tool_1": 97.76,
|
10 |
+
"quality_rate_tool_2": 91.73,
|
11 |
"operating_rate": 100.0,
|
12 |
+
"availability_rate": 22.88,
|
13 |
+
"OEE": 21.59,
|
14 |
+
"MTBF": "0 days 00:04:27",
|
15 |
+
"MTTR": "0 days 00:15:00",
|
16 |
+
"tool_1_cp_pos": 1.0173,
|
17 |
+
"tool_1_cpk_pos": 0.9722,
|
18 |
+
"tool_1_cp_ori": 0.8017,
|
19 |
+
"tool_1_cpk_ori": 0.7816,
|
20 |
+
"tool_2_cp_pos": 0.4133,
|
21 |
+
"tool_2_cpk_pos": 0.3676,
|
22 |
+
"tool_2_cp_ori": 0.5903,
|
23 |
+
"tool_2_cpk_ori": 0.5752,
|
24 |
+
"all_cp_pos": 0.539,
|
25 |
+
"all_cpk_pos": 0.5213,
|
26 |
+
"all_cp_ori": 0.6739,
|
27 |
+
"all_cpk_ori": 0.6568
|
28 |
}
|
src/ui/sidebar.py
CHANGED
@@ -40,8 +40,10 @@ def sidebar_ui(state, width=700, visible=True):
|
|
40 |
examples=[
|
41 |
# ["What is the sum of 1+1 ?"],
|
42 |
["How is the production process going?"],
|
|
|
43 |
["What are the common downtimes faced in production?"],
|
44 |
["Can you explain me Cp & Cpk KPIs ?"],
|
|
|
45 |
# ["Can you provide insights on equipment performance?"],
|
46 |
# ["How can I optimize the workflow in the production area?"],
|
47 |
# ["How do I troubleshoot a specific piece of equipment?"],
|
|
|
40 |
examples=[
|
41 |
# ["What is the sum of 1+1 ?"],
|
42 |
["How is the production process going?"],
|
43 |
+
["What is the most critical issue in the production right now?"],
|
44 |
["What are the common downtimes faced in production?"],
|
45 |
["Can you explain me Cp & Cpk KPIs ?"],
|
46 |
+
["On what metrics should I focus to improve global efficiency?"],
|
47 |
# ["Can you provide insights on equipment performance?"],
|
48 |
# ["How can I optimize the workflow in the production area?"],
|
49 |
# ["How do I troubleshoot a specific piece of equipment?"],
|