@5minds/node-red-dashboard-2-processcube-audio-capture 0.1.4 → 0.1.6

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.
@@ -0,0 +1,156 @@
1
+ [
2
+ {
3
+ "id": "3cb65f6178d62207",
4
+ "type": "tab",
5
+ "label": "Flow 1",
6
+ "disabled": false,
7
+ "info": "",
8
+ "env": []
9
+ },
10
+ {
11
+ "id": "8652d6c4dad0776b",
12
+ "type": "ui-base",
13
+ "name": "My Dashboard",
14
+ "path": "/dashboard",
15
+ "includeClientData": true,
16
+ "acceptsClientConfig": ["ui-notification", "ui-control"],
17
+ "showPathInSidebar": false,
18
+ "navigationStyle": "fixed",
19
+ "titleBarStyle": "default"
20
+ },
21
+ {
22
+ "id": "54b46b6ceee9fa4b",
23
+ "type": "ui-theme",
24
+ "name": "Default Theme",
25
+ "colors": {
26
+ "surface": "#ffffff",
27
+ "primary": "#0094CE",
28
+ "bgPage": "#eeeeee",
29
+ "groupBg": "#ffffff",
30
+ "groupOutline": "#cccccc"
31
+ },
32
+ "sizes": {
33
+ "density": "default",
34
+ "pagePadding": "12px",
35
+ "groupGap": "12px",
36
+ "groupBorderRadius": "4px",
37
+ "widgetGap": "12px"
38
+ }
39
+ },
40
+ {
41
+ "id": "eaf3f6b08faae2f2",
42
+ "type": "ui-page",
43
+ "name": "Page 1",
44
+ "ui": "8652d6c4dad0776b",
45
+ "path": "/page1",
46
+ "icon": "home",
47
+ "layout": "grid",
48
+ "theme": "54b46b6ceee9fa4b",
49
+ "breakpoints": [
50
+ {
51
+ "name": "Default",
52
+ "px": "0",
53
+ "cols": "3"
54
+ },
55
+ {
56
+ "name": "Tablet",
57
+ "px": "576",
58
+ "cols": "6"
59
+ },
60
+ {
61
+ "name": "Small Desktop",
62
+ "px": "768",
63
+ "cols": "9"
64
+ },
65
+ {
66
+ "name": "Desktop",
67
+ "px": "1024",
68
+ "cols": "12"
69
+ }
70
+ ],
71
+ "order": 1,
72
+ "className": "",
73
+ "visible": "true",
74
+ "disabled": "false"
75
+ },
76
+ {
77
+ "id": "ccfab3cb61427e32",
78
+ "type": "ui-group",
79
+ "name": "Group 1",
80
+ "page": "eaf3f6b08faae2f2",
81
+ "width": "12",
82
+ "height": "1",
83
+ "order": 1,
84
+ "showTitle": true,
85
+ "className": "",
86
+ "visible": "true",
87
+ "disabled": "false",
88
+ "groupType": "default"
89
+ },
90
+ {
91
+ "id": "a629f5e941dca64d",
92
+ "type": "Service Host",
93
+ "apiBase": "https://api.openai.com/v1",
94
+ "secureApiKeyHeaderOrQueryName": "Authorization",
95
+ "organizationId": "",
96
+ "name": ""
97
+ },
98
+ {
99
+ "id": "f7073522f3360aad",
100
+ "type": "OpenAI API",
101
+ "z": "3cb65f6178d62207",
102
+ "name": "",
103
+ "property": "payload",
104
+ "propertyType": "msg",
105
+ "service": "a629f5e941dca64d",
106
+ "method": "createTranscription",
107
+ "x": 630,
108
+ "y": 380,
109
+ "wires": [["4fc15fcca7c916ac"]]
110
+ },
111
+ {
112
+ "id": "4fc15fcca7c916ac",
113
+ "type": "debug",
114
+ "z": "3cb65f6178d62207",
115
+ "name": "debug 2",
116
+ "active": true,
117
+ "tosidebar": true,
118
+ "console": false,
119
+ "tostatus": false,
120
+ "complete": "false",
121
+ "statusVal": "",
122
+ "statusType": "auto",
123
+ "x": 840,
124
+ "y": 380,
125
+ "wires": []
126
+ },
127
+ {
128
+ "id": "c0dc71cf8cf07db5",
129
+ "type": "function",
130
+ "z": "3cb65f6178d62207",
131
+ "name": "function 1",
132
+ "func": "msg.payload = {\n file: msg.payload.filePath,\n model:'whisper-1',\n language:'de',\n prompt: \"Bitte transkribiere die folgende Audioaufnahme und formuliere den Text professionell und prägnant. Der Text soll gut strukturiert sein, einen formellen Ton haben und für geschäftliche oder akademische Zwecke geeignet sein. Achte darauf, die ursprüngliche Bedeutung und den Kontext beizubehalten, aber Ausdrucksweisen zu optimieren, um die Klarheit und Lesbarkeit zu verbessern.\"\n}\nreturn msg;",
133
+ "outputs": 1,
134
+ "timeout": 0,
135
+ "noerr": 0,
136
+ "initialize": "",
137
+ "finalize": "",
138
+ "libs": [],
139
+ "x": 420,
140
+ "y": 380,
141
+ "wires": [["f7073522f3360aad"]]
142
+ },
143
+ {
144
+ "id": "8880d0386e3cb1ef",
145
+ "type": "ui-audio-capture",
146
+ "z": "3cb65f6178d62207",
147
+ "name": "",
148
+ "group": "ccfab3cb61427e32",
149
+ "start": "Aufnehmen...",
150
+ "stop": "Stop",
151
+ "send": "Aufnahme senden",
152
+ "x": 250,
153
+ "y": 380,
154
+ "wires": [["c0dc71cf8cf07db5"]]
155
+ }
156
+ ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/node-red-dashboard-2-processcube-audio-capture",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "A node to capture audio and pass the audio data on in the flow",
5
5
  "keywords": [
6
6
  "node-red",
@@ -30,7 +30,8 @@
30
30
  "dist/*",
31
31
  "nodes/*",
32
32
  "ui/*",
33
- "resources/*"
33
+ "resources/*",
34
+ "examples/*"
34
35
  ],
35
36
  "scripts": {
36
37
  "build": "vite build",
@@ -56,7 +57,8 @@
56
57
  "version": ">=3.0.0",
57
58
  "nodes": {
58
59
  "ui-audio-capture": "nodes/ui-audio-capture.js"
59
- }
60
+ },
61
+ "examples": "examples"
60
62
  },
61
63
  "node-red-dashboard-2": {
62
64
  "version": "1.0.0",