-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path网站内容搜索.yml
More file actions
517 lines (512 loc) · 12.5 KB
/
Copy path网站内容搜索.yml
File metadata and controls
517 lines (512 loc) · 12.5 KB
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
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
app:
description: ''
icon: 🔍
icon_background: '#EFF1F5'
mode: workflow
name: 网站内容搜索
use_icon_as_answer_icon: false
dependencies:
- current_identifier: null
type: marketplace
value:
marketplace_plugin_unique_identifier: langgenius/deepseek:0.0.5@fd6efd37c2a931911de8ab9ca3ba2da303bef146d45ee87ad896b04b36d09403
kind: app
version: 0.3.0
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
fileUploadConfig:
audio_file_size_limit: 50
batch_count_limit: 5
file_size_limit: 15
image_file_size_limit: 10
video_file_size_limit: 100
workflow_file_upload_limit: 10
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:
sourceType: tool
targetType: code
id: 1713262010863-1713262060182
selected: false
source: '1713262010863'
sourceHandle: source
target: '1713262060182'
targetHandle: target
type: custom
- data:
sourceType: start
targetType: tool
id: 1713261835258-1713262010863
source: '1713261835258'
sourceHandle: source
target: '1713262010863'
targetHandle: target
type: custom
- data:
isInIteration: false
sourceType: code
targetType: iteration
id: 1713262060182-source-1716911333343-target
source: '1713262060182'
sourceHandle: source
target: '1716911333343'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: true
iteration_id: '1716911333343'
sourceType: tool
targetType: llm
id: 1720758285748-source-1716959261724-target
source: '1720758285748'
sourceHandle: source
target: '1716959261724'
targetHandle: target
type: custom
zIndex: 1002
- data:
isInIteration: true
iteration_id: '1716911333343'
sourceType: llm
targetType: template-transform
id: 1716959261724-source-1720758555344-target
source: '1716959261724'
sourceHandle: source
target: '1720758555344'
targetHandle: target
type: custom
zIndex: 1002
- data:
isInIteration: false
sourceType: iteration
targetType: code
id: 1716911333343-source-1720759755103-target
source: '1716911333343'
sourceHandle: source
target: '1720759755103'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: code
targetType: template-transform
id: 1720759755103-source-1720761482451-target
source: '1720759755103'
sourceHandle: source
target: '1720761482451'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: template-transform
targetType: end
id: 1720761482451-source-1713262577750-target
source: '1720761482451'
sourceHandle: source
target: '1713262577750'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: true
isInLoop: false
iteration_id: '1716911333343'
sourceType: iteration-start
targetType: tool
id: 1716911333343start0-source-1720758285748-target
source: 1716911333343start0
sourceHandle: source
target: '1720758285748'
targetHandle: target
type: custom
zIndex: 1002
nodes:
- data:
desc: ''
selected: false
title: Start
type: start
variables:
- label: 質問
max_length: 148
options: []
required: true
type: text-input
variable: Question
height: 88
id: '1713261835258'
position:
x: 30
y: 388.5
positionAbsolute:
x: 30
y: 388.5
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 243
- data:
desc: ''
provider_id: tavily
provider_name: tavily
provider_type: builtin
selected: false
title: TavilySearch
tool_configurations:
exclude_domains: null
include_answer: 0
include_domains: null
include_images: 0
include_raw_content: 0
max_results: 10
search_depth: basic
tool_label: TavilySearch
tool_name: tavily_search
tool_parameters:
query:
type: mixed
value: '{{#1713261835258.Question#}}'
type: tool
height: 244
id: '1713262010863'
position:
x: 331.7190223065919
y: 388.5
positionAbsolute:
x: 331.7190223065919
y: 388.5
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 243
- data:
code: "import re\nimport time\ndef main(arg1) -> dict:\n time.sleep(13)\n\
\ urls = re.findall(r'http[s]?://[^\\s)]+', arg1)\n return {\n \
\ \"result\": urls,\n }"
code_language: python3
desc: ''
outputs:
result:
children: null
type: array[string]
selected: false
title: Code
type: code
variables:
- value_selector:
- '1713262010863'
- text
variable: arg1
height: 52
id: '1713262060182'
position:
x: 638
y: 388.5
positionAbsolute:
x: 638
y: 388.5
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 243
- data:
desc: ''
outputs:
- value_selector:
- '1720761482451'
- output
variable: text
selected: false
title: End
type: end
height: 88
id: '1713262577750'
position:
x: 2595
y: 388.5
positionAbsolute:
x: 2595
y: 388.5
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 243
- data:
desc: ''
error_handle_mode: terminated
height: 377
is_parallel: false
iterator_selector:
- '1713262060182'
- result
output_selector:
- '1720758555344'
- output
output_type: array[string]
parallel_nums: 10
selected: false
startNodeType: tool
start_node_id: 1716911333343start0
title: Iteration
type: iteration
width: 985
height: 377
id: '1716911333343'
position:
x: 75.06527548058932
y: 368.43695521818665
positionAbsolute:
x: 75.06527548058932
y: 368.43695521818665
selected: true
sourcePosition: right
targetPosition: left
type: custom
width: 985
zIndex: 1
- data:
desc: ''
isInIteration: true
isIterationStart: true
iteration_id: '1716911333343'
provider_id: jina
provider_name: jina
provider_type: builtin
selected: false
title: JinaReader
tool_configurations:
gather_all_images_at_the_end: 0
gather_all_links_at_the_end: 0
image_caption: 0
no_cache: 0
proxy_server: null
summary: 0
target_selector: null
wait_for_selector: null
tool_label: JinaReader
tool_name: jina_reader
tool_parameters:
url:
type: mixed
value: '{{#1716911333343.item#}}'
type: tool
extent: parent
height: 270
id: '1720758285748'
parentId: '1716911333343'
position:
x: 117
y: 85
positionAbsolute:
x: 192.06527548058932
y: 453.43695521818665
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 243
zIndex: 1001
- data:
context:
enabled: false
variable_selector: []
desc: ''
isInIteration: true
iteration_id: '1716911333343'
model:
completion_params: {}
mode: chat
name: deepseek-chat
provider: langgenius/deepseek/deepseek
prompt_template:
- id: 1c7eeb97-1ebc-4579-b1ec-d0d649d57d2d
role: system
text: 'Summarize the following text.
{{#1720758285748.text#}}'
selected: true
title: LLM 2
type: llm
variables: []
vision:
configs:
detail: high
enabled: false
extent: parent
height: 88
id: '1716959261724'
parentId: '1716911333343'
position:
x: 421
y: 85
positionAbsolute:
x: 496.0652754805893
y: 453.43695521818665
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 243
zIndex: 1002
- data:
desc: ''
isInIteration: true
iteration_id: '1716911333343'
selected: false
template: '{{ arg1 }}\SP{{ text }}'
title: Combine URL and Summary
type: template-transform
variables:
- value_selector:
- '1716911333343'
- item
variable: arg1
- value_selector:
- '1716959261724'
- text
variable: text
extent: parent
height: 52
id: '1720758555344'
parentId: '1716911333343'
position:
x: 725
y: 85
positionAbsolute:
x: 800.0652754805893
y: 453.43695521818665
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 243
zIndex: 1002
- data:
code: "import time\ndef main(arg1) -> dict:\n time.sleep(13)\n result\
\ = []\n for item in arg1:\n url, text = item.split('\\\\SP')\n\
\ text = text.replace('\\n', ' ')\n result.append({'url':url,\
\ 'text':text})\n return {\n \"result\": result,\n }\n"
code_language: python3
desc: ''
outputs:
result:
children: null
type: array[object]
selected: false
title: Split URL and Text Summary
type: code
variables:
- value_selector:
- '1716911333343'
- output
variable: arg1
height: 52
id: '1720759755103'
position:
x: 1987
y: 388.5
positionAbsolute:
x: 1987
y: 388.5
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 243
- data:
desc: ''
selected: false
template: '|URL|Summary|
|---|---|
{% for data in arg1 -%}
|{{data.url}}|{{data.text}}|
{% endfor -%}'
title: Result in Table
type: template-transform
variables:
- value_selector:
- '1720759755103'
- result
variable: arg1
height: 52
id: '1720761482451'
position:
x: 2291
y: 388.5
positionAbsolute:
x: 2291
y: 388.5
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 243
- data:
desc: ''
isInIteration: true
selected: false
title: ''
type: iteration-start
draggable: false
height: 48
id: 1716911333343start0
parentId: '1716911333343'
position:
x: 24
y: 68
positionAbsolute:
x: 99.06527548058932
y: 436.43695521818665
selectable: false
sourcePosition: right
targetPosition: left
type: custom-iteration-start
width: 44
zIndex: 1002
viewport:
x: -236.18923888353902
y: -65.79497111417214
zoom: 0.5965819103454045