generated from susom/redcap-em-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
267 lines (252 loc) · 7.82 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
{
"name": "ClinicalCoach",
"namespace": "Stanford\\ClinicalCoach",
"description": "ClinicalCoach - MVP",
"documentation": "README.md",
"authors": [
{
"name": "Irvin Szeto",
"email": "irvins@stanford.edu",
"institution": "Stanford University"
},
{
"name": "Jordan Schultz",
"email": "jmschult@stanford.edu",
"institution": "Stanford University"
}
],
"framework-version": 14,
"enable-every-page-hooks-on-system-pages": false,
"links": {
"project": [
{
"name": "Clincial Coach Recorder",
"icon": "gear",
"url" : "pages/recorder.php",
"show-header-and-footer": false
},
{
"name": "Clincial Coach test",
"icon": "gear",
"url" : "pages/test.php",
"show-header-and-footer": false
}
],
"control-center": [
]
},
"auth-ajax-actions": [
"callAI",
"transcribeAudio"
],
"no-auth-ajax-actions": [
"callAI",
"transcribeAudio"
],
"no-auth-pages": [
"pages/recorder"
],
"project-settings": [
{
"key": "enable-project-debug-logging",
"name": "<b>Enable Debug Logging</b><br><i>(optional)</i> Requires installation and configuration of emLogger",
"required": false,
"type": "checkbox"
},
{
"key": "system_context_summarize",
"name": "Raw text to inject into system context for Overall summarization",
"required": true,
"type": "textarea"
},
{
"key": "system_context_reflection_1",
"name": "Raw text to inject into system context for reflection (Mind)",
"required": true,
"type": "textarea"
},
{
"key": "system_context_reflection_2",
"name": "Raw text to inject into system context for reflection (Knowledge)",
"required": true,
"type": "textarea"
},
{
"key": "system_context_reflection_3",
"name": "Raw text to inject into system context for reflection (Problem)",
"required": true,
"type": "textarea"
},
{
"key": "system_context_reflection_4",
"name": "Raw text to inject into system context for reflection (Strategy)",
"required": true,
"type": "textarea"
},
{
"key": "system_context_reflection_5",
"name": "Raw text to inject into system context for reflection (Solution)",
"required": true,
"type": "textarea"
},
{
"key": "system_context_reflection_6",
"name": "Raw text to inject into system context for reflection (Data)",
"required": true,
"type": "textarea"
},
{
"key": "system_context_final",
"name": "Raw text to inject into system context for final THM report",
"required": true,
"type": "textarea"
},
{
"key": "llm-model",
"name": "LLM Model",
"required": false,
"type": "dropdown",
"choices": [
{
"value": "gpt-4o",
"name": "GPT-4o"
},
{
"value": "claude",
"name": "Claude 3.5 Sonnet"
}
],
"default": "gpt-4o"
},
{
"key": "gpt-temperature",
"name": "GPT Temperature",
"required": false,
"type": "number",
"default": 0.7
},
{
"key": "gpt-top-p",
"name": "GPT Top P",
"required": false,
"type": "number",
"default": 0.9
},
{
"key": "gpt-frequency-penalty",
"name": "GPT Frequency Penalty",
"required": false,
"type": "number",
"default": 0.5
},
{
"key": "gpt-presence-penalty",
"name": "GPT Presence Penalty",
"required": false,
"type": "number",
"default": 0
},
{
"key": "gpt-max-tokens",
"name": "GPT Max Tokens",
"required": false,
"type": "number",
"default": 800
},
{
"key": "secure-chat-whisper-system-context",
"name": "<b>Whisper System Context</b> Sets the initial prompt used before any audio is transcribed",
"required": false,
"type": "textarea"
},
{
"key": "secure-chat-whisper-prompt",
"name": "<b>Whisper Prompt</b> Provides a text prompt to influence the transcription",
"required": false,
"type": "textarea"
},
{
"key": "whisper-language",
"name": "<b>Whisper Language</b> default: <i>English</i><br>(Language spoken in the audio)",
"required": false,
"type": "text",
"default": "en"
},
{
"key": "whisper-temperature",
"name": "<b>Whisper Temperature</b> default: <i>0</i><br>(Temperature for the Whisper model)",
"required": false,
"type": "number",
"min": 0,
"max": 1,
"default": 0.0
},
{
"key": "whisper-top-p",
"name": "<b>Whisper Top P</b> default: <i>1.0</i><br>(Top P for the Whisper model)",
"required": false,
"type": "number",
"min": 0,
"max": 1,
"default": 1.0
},
{
"key": "whisper-n",
"name": "<b>Whisper N</b> default: <i>1</i><br>(Number of candidates to generate)",
"required": false,
"type": "number",
"default": 1
},
{
"key": "whisper-logprobs",
"name": "<b>Whisper Logprobs</b> default: <i>null</i><br>(Log probabilities for the top n tokens)",
"required": false,
"type": "number",
"default": null
},
{
"key": "whisper-max-alternate-transcriptions",
"name": "<b>Whisper Max Alternate Transcriptions</b> default: <i>1</i><br>(Maximum number of alternate transcriptions)",
"required": false,
"type": "number",
"default": 1
},
{
"key": "whisper-compression-rate",
"name": "<b>Whisper Compression Rate</b> default: <i>1.0</i><br>(Compression rate for audio processing)",
"required": false,
"type": "number",
"min": 0.0,
"max": 1.0,
"default": 1.0
},
{
"key": "whisper-sample-rate",
"name": "<b>Whisper Sample Rate</b> default: <i>16000</i><br>(Sample rate for audio processing in Hz)",
"required": false,
"type": "number",
"default": 16000
},
{
"key": "whisper-condition-on-previous-text",
"name": "<b>Whisper Condition on Previous Text</b> default: <i>true</i><br>(Condition on previous text when generating next segment)",
"required": false,
"type": "checkbox",
"default": true
}
],
"system-settings": [
{
"key": "enable-system-debug-logging",
"name": "<b>Enable Debug Logging (system-wide)</b><i>(optional)</i> Requires installation and configuration of emLogger",
"required": false,
"type": "checkbox"
}
],
"compatibility": {
"php-version-min": "",
"php-version-max": "",
"redcap-version-min": "",
"redcap-version-max": ""
}
}