Update workflows.

This commit is contained in:
Shang Chieh Tseng
2025-07-01 13:17:26 +08:00
parent 49a3884154
commit c8be26509f
3 changed files with 245 additions and 130 deletions

View File

@@ -78,20 +78,19 @@ workflow:
isInLoop: false
sourceType: start
targetType: tool
id: 1751275115886-source-1751282571916-target
id: 1751275115886-source-1751342748686-target
source: '1751275115886'
sourceHandle: source
target: '1751282571916'
target: '1751342748686'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
isInLoop: false
sourceType: tool
targetType: llm
id: 1751282571916-source-1751275131351-target
source: '1751282571916'
id: 1751342748686-source-1751275131351-target
source: '1751342748686'
sourceHandle: source
target: '1751275131351'
targetHandle: target
@@ -104,20 +103,20 @@ workflow:
title: Start
type: start
variables:
- label: 'HTML path:'
max_length: 128
- label: Confluence Page Number
max_length: 48
options: []
required: true
type: text-input
variable: html_path
height: 90
variable: page_number
height: 89
id: '1751275115886'
position:
x: 80
y: 282
x: 40
y: 224
positionAbsolute:
x: 80
y: 282
x: 40
y: 224
selected: false
sourcePosition: right
targetPosition: left
@@ -130,19 +129,15 @@ workflow:
desc: ''
model:
completion_params:
num_ctx: 8192
num_ctx: 16000
mode: chat
name: gemma3:4b
provider: langgenius/ollama/ollama
prompt_template:
- id: c2a64337-9ae8-41d4-bbf5-cdf958453953
role: system
text: '**Understanding a System Requirements Specification**
1. Start with a high-level overview to get a sense of the projects scope,
key features, and overall goals.
2. Then, carefully examine the following sections:
text: 'Understanding a System Requirements Specification. Then, rewrite
the following sections:
    - **Introduction:** Provides context and the project''s purpose.
@@ -156,22 +151,22 @@ workflow:
These define how the system should behave.'
- id: eeb305b1-a3a9-4af0-beb3-b42087733add
role: user
text: 'System Requirements Specification: {{#1751282571916.text#}}'
selected: true
text: 'System Requirements Specification: {{#1751342748686.text#}}'
selected: false
title: ' Initial Scan & Overview'
type: llm
variables: []
vision:
enabled: false
height: 90
height: 89
id: '1751275131351'
position:
x: 684
y: 282
x: 231
y: 455
positionAbsolute:
x: 684
y: 282
selected: true
x: 231
y: 455
selected: false
sourcePosition: right
targetPosition: left
type: custom
@@ -186,15 +181,15 @@ workflow:
selected: false
title: End
type: end
height: 90
height: 89
id: '1751275134874'
position:
x: 988
y: 282
x: 344
y: 617
positionAbsolute:
x: 988
y: 282
selected: false
x: 344
y: 617
selected: true
sourcePosition: right
targetPosition: left
type: custom
@@ -208,122 +203,60 @@ workflow:
default: null
form: llm
human_description:
en_US: used for linking to webpages
ja_JP: used for linking to webpages
pt_BR: used for linking to webpages
zh_Hans: 用于链接到网页
en_US: ''
ja_JP: ''
pt_BR: ''
zh_Hans: ''
label:
en_US: URL
ja_JP: URL
pt_BR: URL
zh_Hans: 网页链接
llm_description: url for scraping
en_US: Confluence Page Number
ja_JP: Confluence Page Number
pt_BR: Confluence Page Number
zh_Hans: Confluence Page Number
llm_description: ''
max: null
min: null
name: url
name: page_number
options: []
placeholder: null
placeholder:
en_US: ''
ja_JP: ''
pt_BR: ''
zh_Hans: ''
precision: null
required: true
scope: null
template: null
type: string
- auto_generate: null
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/100.0.1000.0 Safari/537.36
form: form
human_description:
en_US: used for identifying the browser.
ja_JP: used for identifying the browser.
pt_BR: used for identifying the browser.
zh_Hans: 用于识别浏览器。
label:
en_US: User Agent
ja_JP: User Agent
pt_BR: User Agent
zh_Hans: User Agent
llm_description: null
max: null
min: null
name: user_agent
options: []
placeholder: null
precision: null
required: false
scope: null
template: null
type: string
- auto_generate: null
default: 'false'
form: form
human_description:
en_US: If true, the crawler will only return the page summary content.
ja_JP: If true, the crawler will only return the page summary content.
pt_BR: If true, the crawler will only return the page summary content.
zh_Hans: 如果启用,爬虫将仅返回页面摘要内容。
label:
en_US: Whether to generate summary
ja_JP: Whether to generate summary
pt_BR: Whether to generate summary
zh_Hans: 是否生成摘要
llm_description: null
max: null
min: null
name: generate_summary
options:
- label:
en_US: 'Yes'
ja_JP: 'Yes'
pt_BR: 'Yes'
zh_Hans:
value: 'true'
- label:
en_US: 'No'
ja_JP: 'No'
pt_BR: 'No'
zh_Hans:
value: 'false'
placeholder: null
precision: null
required: false
scope: null
template: null
type: boolean
params:
generate_summary: ''
url: ''
user_agent: ''
provider_id: webscraper
provider_name: webscraper
provider_type: builtin
page_number: ''
provider_id: a6e600b1-08a3-4f01-8e88-82a154a26fba
provider_name: Confluence2Md
provider_type: workflow
selected: false
title: Web Scraper
tool_configurations:
generate_summary: null
user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/100.0.1000.0 Safari/537.36
tool_description: A tool for scraping webpages.
tool_label: Web Scraper
tool_name: webscraper
title: Confluence2Md
tool_configurations: {}
tool_description: Get a confluence page and response text in markdown format.
tool_label: Confluence2Md
tool_name: confluence_to_markdown
tool_parameters:
url:
page_number:
type: mixed
value: '{{#1751275115886.html_path#}}'
value: '{{#1751275115886.page_number#}}'
type: tool
height: 116
id: '1751282571916'
height: 53
id: '1751342748686'
position:
x: 384
y: 282
x: 162
y: 351
positionAbsolute:
x: 384
y: 282
x: 162
y: 351
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
viewport:
x: -312
y: 98
x: 68
y: -105
zoom: 1