-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathModelPK.yml
358 lines (356 loc) · 8.27 KB
/
ModelPK.yml
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
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
app:
description: ''
icon: 🤖
icon_background: '#FFEAD5'
mode: advanced-chat
name: 模型PK
use_icon_as_answer_icon: false
kind: app
version: 0.1.2
workflow:
conversation_variables: []
environment_variables: []
features:
file_upload:
allowed_file_extensions:
- .JPG
- .JPEG
- .PNG
- .GIF
- .WEBP
- .SVG
allowed_file_types:
- image
allowed_file_upload_methods:
- local_file
- remote_url
enabled: false
image:
enabled: false
number_limits: 3
transfer_methods:
- local_file
- remote_url
number_limits: 3
opening_statement: ''
retriever_resource:
enabled: false
sensitive_word_avoidance:
enabled: false
speech_to_text:
enabled: false
suggested_questions: []
suggested_questions_after_answer:
enabled: false
text_to_speech:
enabled: false
language: ''
voice: ''
graph:
edges:
- data:
isInIteration: false
sourceType: start
targetType: llm
id: 1724816625228-source-llm-target
selected: false
source: '1724816625228'
sourceHandle: source
target: llm
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: start
targetType: llm
id: 1724816625228-source-17248166805710-target
source: '1724816625228'
sourceHandle: source
target: '17248166805710'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: start
targetType: llm
id: 1724816625228-source-17248166823210-target
source: '1724816625228'
sourceHandle: source
target: '17248166823210'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: llm-source-1724821147504-target
source: llm
sourceHandle: source
target: '1724821147504'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 17248166805710-source-1724821147504-target
source: '17248166805710'
sourceHandle: source
target: '1724821147504'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 17248166823210-source-1724821147504-target
source: '17248166823210'
sourceHandle: source
target: '1724821147504'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: start
targetType: llm
id: 1724816625228-source-1724821559068-target
source: '1724816625228'
sourceHandle: source
target: '1724821559068'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 1724821559068-source-1724821147504-target
source: '1724821559068'
sourceHandle: source
target: '1724821147504'
targetHandle: target
type: custom
zIndex: 0
nodes:
- data:
desc: ''
selected: false
title: Start
type: start
variables: []
height: 54
id: '1724816625228'
position:
x: 30
y: 253
positionAbsolute:
x: 30
y: 253
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
context:
enabled: false
variable_selector: []
desc: ''
memory:
role_prefix:
assistant: ''
user: ''
window:
enabled: false
size: 10
model:
completion_params:
temperature: 0.7
mode: chat
name: gpt-4o
provider: openai
prompt_template:
- id: aa4d1171-252f-4772-b4fc-520ef39a8ece
role: system
text: 我是一个乐于助人的助手
selected: false
title: gpt-4o
type: llm
variables: []
vision:
configs:
detail: high
enabled: false
height: 98
id: llm
position:
x: 334
y: 253
positionAbsolute:
x: 334
y: 253
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
context:
enabled: false
variable_selector: []
desc: ''
memory:
role_prefix:
assistant: ''
user: ''
window:
enabled: false
size: 10
model:
completion_params:
temperature: 0.7
mode: chat
name: claude-3-5-sonnet-20240620
provider: anthropic
prompt_template:
- id: aa4d1171-252f-4772-b4fc-520ef39a8ece
role: system
text: 我是一个乐于助人的助手
selected: false
title: claude-3-5-sonnet
type: llm
variables: []
vision:
configs:
detail: high
enabled: false
height: 98
id: '17248166805710'
position:
x: 334
y: 399
positionAbsolute:
x: 334
y: 399
selected: true
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
context:
enabled: false
variable_selector: []
desc: ''
memory:
role_prefix:
assistant: ''
user: ''
window:
enabled: false
size: 10
model:
completion_params:
temperature: 0.7
mode: chat
name: gpt-3.5-turbo
provider: openai
prompt_template:
- id: aa4d1171-252f-4772-b4fc-520ef39a8ece
role: system
text: 我是一个乐于助人的助手
selected: false
title: gpt-3.5-turbo
type: llm
variables: []
vision:
enabled: false
height: 98
id: '17248166823210'
position:
x: 334
y: 545
positionAbsolute:
x: 334
y: 545
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
answer: '|gpt-4o|claude-3-5-sonnet|gpt-3.5-turbo|claude-3-haiku|
|---|---|---|---|
| {{#llm.text#}} | {{#17248166805710.text#}} | {{#17248166823210.text#}} |{{#1724821559068.text#}}|'
desc: ''
selected: false
title: Answer
type: answer
variables: []
height: 190
id: '1724821147504'
position:
x: 683.539345503342
y: 387.6266627000496
positionAbsolute:
x: 683.539345503342
y: 387.6266627000496
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
context:
enabled: false
variable_selector: []
desc: ''
memory:
query_prompt_template: ''
role_prefix:
assistant: ''
user: ''
window:
enabled: false
size: 50
model:
completion_params:
temperature: 0.7
mode: chat
name: claude-3-haiku-20240307
provider: anthropic
prompt_template:
- id: 5fec8167-6795-4d08-8b40-fdcbb75b1755
role: system
text: 我是一个乐于助人的助手
selected: false
title: claude-3-haiku
type: llm
variables: []
vision:
configs:
detail: high
enabled: false
height: 98
id: '1724821559068'
position:
x: 337.5852900042406
y: 707.0117999105822
positionAbsolute:
x: 337.5852900042406
y: 707.0117999105822
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
viewport:
x: 101.32146833124875
y: -184.06765966586374
zoom: 1.0610015965572788