文章仿写-单图/多图自动搭配
输入一个网页实现文章内容的仿写和改写
工作流图谱
YAML 源码
app:
description: 输入一个网页实现文章内容的仿写和改写
icon: 🤖
icon_background: '#FFEAD5'
mode: workflow
name: 文章仿写-单图/多图自动搭配
kind: app
version: 0.1.0
workflow:
features:
file_upload:
image:
enabled: false
number_limits: 3
transfer_methods:
- local_file
- remote_url
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: tool
id: 1718957126125-source-1718967141318-target
source: '1718957126125'
sourceHandle: source
target: '1718967141318'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: parameter-extractor
id: 1719040099490-false-17190386712500-target
source: '1719040099490'
sourceHandle: 'false'
target: '17190386712500'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: parameter-extractor
targetType: iteration
id: 1719046777534-source-1719046938333-target
source: '1719046777534'
sourceHandle: source
target: '1719046938333'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: parameter-extractor
targetType: llm
id: 17190386712500-source-1719040452162-target
source: '17190386712500'
sourceHandle: source
target: '1719040452162'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: true
iteration_id: '1719046938333'
sourceType: code
targetType: tool
id: 1719051705186-source-1719052020538-target
source: '1719051705186'
sourceHandle: source
target: '1719052020538'
targetHandle: target
type: custom
zIndex: 1002
- data:
isInIteration: true
iteration_id: '1719046938333'
sourceType: tool
targetType: llm
id: 1719052020538-source-1719052032351-target
source: '1719052020538'
sourceHandle: source
target: '1719052032351'
targetHandle: target
type: custom
zIndex: 1002
- data:
isInIteration: false
sourceType: iteration
targetType: template-transform
id: 1719046938333-source-1719054341069-target
source: '1719046938333'
sourceHandle: source
target: '1719054341069'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: template-transform
targetType: end
id: 1719054341069-source-1719047399639-target
source: '1719054341069'
sourceHandle: source
target: '1719047399639'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: parameter-extractor
id: 1719040099490-true-17190400701430-target
source: '1719040099490'
sourceHandle: 'true'
target: '17190400701430'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: parameter-extractor
targetType: if-else
id: 17190400701430-source-1719057591382-target
source: '17190400701430'
sourceHandle: source
target: '1719057591382'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: tool
id: 1719057591382-true-1719057860526-target
source: '1719057591382'
sourceHandle: 'true'
target: '1719057860526'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: tool
targetType: llm
id: 1719057860526-source-1719057705571-target
source: '1719057860526'
sourceHandle: source
target: '1719057705571'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: end
id: 1719057705571-source-1719058363432-target
source: '1719057705571'
sourceHandle: source
target: '1719058363432'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: end
id: 1719040452162-source-1719043735320-target
source: '1719040452162'
sourceHandle: source
target: '1719043735320'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: tool
targetType: code
id: 1718967141318-source-1719061181576-target
source: '1718967141318'
sourceHandle: source
target: '1719061181576'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: code
targetType: if-else
id: 1719061181576-source-1719061373860-target
source: '1719061181576'
sourceHandle: source
target: '1719061373860'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: if-else
id: 1719061373860-false-1719040099490-target
source: '1719061373860'
sourceHandle: 'false'
target: '1719040099490'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: template-transform
id: 1719061373860-true-1719061473923-target
source: '1719061373860'
sourceHandle: 'true'
target: '1719061473923'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: template-transform
targetType: end
id: 1719061473923-source-1719061487614-target
source: '1719061473923'
sourceHandle: source
target: '1719061487614'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: code
id: 1719057591382-false-1719062922068-target
source: '1719057591382'
sourceHandle: 'false'
target: '1719062922068'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: code
targetType: parameter-extractor
id: 1719062922068-source-1719046777534-target
source: '1719062922068'
sourceHandle: source
target: '1719046777534'
targetHandle: target
type: custom
zIndex: 0
nodes:
- data:
desc: ''
selected: false
title: 开始
type: start
variables:
- label: 目标文章链接
max_length: 256
options: []
required: true
type: text-input
variable: url
- label: 是否去除图片
max_length: 48
options: []
required: true
type: number
variable: clean_img
- label: 单图仿写
max_length: 48
options: []
required: true
type: number
variable: single_img
height: 142
id: '1718957126125'
position:
x: 30
y: 271
positionAbsolute:
x: 30
y: 271
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
desc: ''
provider_id: 0ad29728-5209-4afe-bc96-daff03091c42
provider_name: 本地爬虫
provider_type: workflow
selected: false
title: 本地爬虫
tool_configurations: {}
tool_label: 本地爬虫
tool_name: localScrape
tool_parameters:
need_llm:
type: constant
value: '0'
url:
type: mixed
value: '{{#1718957126125.url#}}'
type: tool
height: 54
id: '1718967141318'
position:
x: 334
y: 271
positionAbsolute:
x: 334
y: 271
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
desc: ''
instruction: '请对以下网页内容进行清洗,并抽取网页中的文章内容信息。请避免包含文章内容无关的信息,例如:html标签、页头、页尾。请对清洗后的信息进行markdown的格式输出。请对抽取的完整正文进行智能分段并保留原文的配图信息。
### 约束条件
1.文本信息中如果有明显的标题信息请直接抽取,不需要自定义生成或加工
2.文本的正文内容请尊重原本描述抽取,不需要自定义生成或加工
3.关键词将用作图片多模态检索,请不要包含无意义的词组或短语。
4.请完整抽取原文内容,并保持段落排版
5.请过滤版权信息、编辑、作者、来源、转载以及与原文内容无关的信息
### 抓取内容如下:
```
{{#1718967141318.text#}}
```'
model:
completion_params:
temperature: 1
mode: chat
name: deepseek-chat
provider: deepseek
parameters:
- description: 原文标题
name: title
required: true
type: string
- description: 原文完整内容
name: content
required: false
type: string
- description: 关键词信息
name: keywords
required: true
type: string
query:
- '1718967141318'
- text
reasoning_mode: prompt
selected: false
title: 留图-原文内容抽取
type: parameter-extractor
variables: []
height: 98
id: '17190386712500'
position:
x: 1550
y: 249
positionAbsolute:
x: 1550
y: 249
selected: false
sourcePosition: right
targetPosition: left
type: custom
width...(过长已截断)