mriusero commited on
Commit
79429aa
·
1 Parent(s): 71dc3e6

feat: add examples

Browse files
chroma_db/chroma.sqlite3 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4dbedc41028b9919ea90328f84b67980766f7a76e444241602b85e51e663c151
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:dac95d538971ecf88ff9f90d606877f6cc2c31fee9321ad1ebca195cf57c5957
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:28:41",
4
  "Event":"Machine Error",
5
- "Error Code":"E003",
6
- "Error Description":"Material Jam",
7
- "Downtime Start":"2025-06-11 02:28:41",
8
- "Downtime End":"2025-06-11 02:36:41"
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:59:36",
3
- "required_time": "0 days 00:59:36",
4
- "unplanned_stop_time": "0 days 00:56:00",
5
- "operating_time": "0 days 00:03:36",
6
- "net_time": "0 days 00:03:36",
7
- "useful_time": "0 days 00:03:19",
8
- "quality_rate": 92.13,
9
- "quality_rate_tool_1": 96.23,
10
- "quality_rate_tool_2": 92.45,
11
  "operating_rate": 100.0,
12
- "availability_rate": 6.04,
13
- "OEE": 5.56,
14
- "MTBF": "0 days 00:00:43.200000",
15
- "MTTR": "0 days 00:11:12",
16
- "tool_1_cp_pos": 0.8117,
17
- "tool_1_cpk_pos": 0.7908,
18
- "tool_1_cp_ori": 0.8085,
19
- "tool_1_cpk_ori": 0.804,
20
- "tool_2_cp_pos": 0.6568,
21
- "tool_2_cpk_pos": 0.6147,
22
- "tool_2_cp_ori": 0.6657,
23
- "tool_2_cpk_ori": 0.6574,
24
- "all_cp_pos": 0.7203,
25
- "all_cpk_pos": 0.7066,
26
- "all_cp_ori": 0.7285,
27
- "all_cpk_ori": 0.7219
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?"],