Add workfolow.

This commit is contained in:
Shang Chieh Tseng
2025-06-30 20:04:38 +08:00
parent 271b7fe06c
commit bd919f7c15

329
dify/SRS Insights.yml Normal file
View File

@@ -0,0 +1,329 @@
app:
description: Start with a high-level overview to get a sense of the projects scope,
key features, and overall goals.
icon: 📝
icon_background: '#D1E9FF'
mode: workflow
name: SRS Insights
use_icon_as_answer_icon: false
dependencies:
- current_identifier: null
type: marketplace
value:
marketplace_plugin_unique_identifier: langgenius/ollama:0.0.6@7d66a960a68cafdcdf5589fdf5d01a995533f956853c69c54eddcf797006fa37
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: true
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
isInLoop: false
sourceType: llm
targetType: end
id: 1751275131351-source-1751275134874-target
source: '1751275131351'
sourceHandle: source
target: '1751275134874'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
isInLoop: false
sourceType: start
targetType: tool
id: 1751275115886-source-1751282571916-target
source: '1751275115886'
sourceHandle: source
target: '1751282571916'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
isInLoop: false
sourceType: tool
targetType: llm
id: 1751282571916-source-1751275131351-target
source: '1751282571916'
sourceHandle: source
target: '1751275131351'
targetHandle: target
type: custom
zIndex: 0
nodes:
- data:
desc: ''
selected: false
title: Start
type: start
variables:
- label: 'HTML path:'
max_length: 128
options: []
required: true
type: text-input
variable: html_path
height: 90
id: '1751275115886'
position:
x: 80
y: 282
positionAbsolute:
x: 80
y: 282
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
context:
enabled: false
variable_selector: []
desc: ''
model:
completion_params:
num_ctx: 8192
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:
    - **Introduction:** Provides context and the project''s purpose.
    - **System Overview:** Describes the systems architecture and key
components.
    - **Functional Requirements:** This section is crucial; it details
exactly what the software must do.
    - **Non-Functional Requirements:** (e.g., Performance, Security, Usability)
These define how the system should behave.'
- id: eeb305b1-a3a9-4af0-beb3-b42087733add
role: user
text: 'System Requirements Specification: {{#1751282571916.text#}}'
selected: true
title: ' Initial Scan & Overview'
type: llm
variables: []
vision:
enabled: false
height: 90
id: '1751275131351'
position:
x: 684
y: 282
positionAbsolute:
x: 684
y: 282
selected: true
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
desc: ''
outputs:
- value_selector:
- '1751275131351'
- text
variable: text
selected: false
title: End
type: end
height: 90
id: '1751275134874'
position:
x: 988
y: 282
positionAbsolute:
x: 988
y: 282
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
desc: ''
is_team_authorization: true
output_schema: null
paramSchemas:
- auto_generate: null
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: 用于链接到网页
label:
en_US: URL
ja_JP: URL
pt_BR: URL
zh_Hans: 网页链接
llm_description: url for scraping
max: null
min: null
name: url
options: []
placeholder: null
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
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
tool_parameters:
url:
type: mixed
value: '{{#1751275115886.html_path#}}'
type: tool
height: 116
id: '1751282571916'
position:
x: 384
y: 282
positionAbsolute:
x: 384
y: 282
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
viewport:
x: -312
y: 98
zoom: 1