客户评价处理工作流
暂无描述
工作流图谱
YAML 源码
app:
description: ''
icon: 💭
icon_background: '#D1E9FF'
mode: workflow
name: 客户评价处理工作流
use_icon_as_answer_icon: false
dependencies:
- current_identifier: null
type: marketplace
value:
marketplace_plugin_unique_identifier: langgenius/openai:0.0.13@9caa0421b5519db036aaccdbf1980d1071550767d6c59e9d9388dd386a92e9f6
kind: app
version: 0.1.5
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: start
targetType: question-classifier
id: 1711529033302-1711529036587
source: '1711529033302'
sourceHandle: source
target: '1711529036587'
targetHandle: target
type: custom
- data:
sourceType: question-classifier
targetType: http-request
id: 1711529036587-1711529059204
source: '1711529036587'
sourceHandle: '1711529038361'
target: '1711529059204'
targetHandle: target
type: custom
- data:
sourceType: question-classifier
targetType: question-classifier
id: 1711529036587-1711529066687
source: '1711529036587'
sourceHandle: '1711529041725'
target: '1711529066687'
targetHandle: target
type: custom
- data:
sourceType: question-classifier
targetType: http-request
id: 1711529066687-1711529077513
source: '1711529066687'
sourceHandle: '1711529068175'
target: '1711529077513'
targetHandle: target
type: custom
- data:
sourceType: question-classifier
targetType: http-request
id: 1711529066687-1711529078719
source: '1711529066687'
sourceHandle: '1711529068956'
target: '1711529078719'
targetHandle: target
type: custom
- data:
isInIteration: false
sourceType: http-request
targetType: variable-aggregator
id: 1711529059204-source-1718995432944-target
source: '1711529059204'
sourceHandle: source
target: '1718995432944'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: http-request
targetType: variable-aggregator
id: 1711529077513-source-1718995432944-target
source: '1711529077513'
sourceHandle: source
target: '1718995432944'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: http-request
targetType: variable-aggregator
id: 1711529078719-source-1718995432944-target
source: '1711529078719'
sourceHandle: source
target: '1718995432944'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: variable-aggregator
targetType: end
id: 1718995432944-source-1718995448481-target
source: '1718995432944'
sourceHandle: source
target: '1718995448481'
targetHandle: target
type: custom
zIndex: 0
nodes:
- data:
desc: ''
selected: false
title: Start
type: start
variables:
- label: Customer Review
max_length: 48
options: []
required: true
type: paragraph
variable: review
dragging: false
height: 90
id: '1711529033302'
position:
x: 80
y: 282
positionAbsolute:
x: 80
y: 282
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
classes:
- id: '1711529038361'
name: 正面评价
- id: '1711529041725'
name: 负面评价
desc: 定义一个用户问题的主题分类,主题定义了对话的进展方式
instructions: ''
model:
completion_params:
frequency_penalty: 0
max_tokens: 512
presence_penalty: 0
temperature: 0.7
top_p: 1
mode: chat
name: gpt-3.5-turbo
provider: langgenius/openai/openai
query_variable_selector:
- '1711529033302'
- review
selected: false
title: Question Classifier
topics: []
type: question-classifier
dragging: false
height: 222
id: '1711529036587'
position:
x: 364
y: 282
positionAbsolute:
x: 364
y: 282
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
authorization:
config: null
type: no-auth
body:
data: ''
type: none
desc: 发送正面评价至公司品牌宣传部门的系统
headers: ''
method: get
params: ''
retry_config:
max_retries: 3
retry_enabled: true
retry_interval: 100
selected: false
timeout:
connect: 10
max_connect_timeout: 300
max_read_timeout: 600
max_write_timeout: 600
read: 60
write: 20
title: HTTP Request
type: http-request
url: https://www.example.com
variables: []
height: 164
id: '1711529059204'
position:
x: 648
y: 282
positionAbsolute:
x: 648
y: 282
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
classes:
- id: '1711529068175'
name: 售后问题
- id: '1711529068956'
name: 运输问题
desc: 定义一个用户问题的主题分类,主题定义了对话的进展方式
instructions: ''
model:
completion_params:
frequency_penalty: 0
max_tokens: 512
presence_penalty: 0
temperature: 0.7
top_p: 1
mode: chat
name: gpt-3.5-turbo
provider: langgenius/openai/openai
query_variable_selector:
- '1711529033302'
- review
selected: false
title: Question Classifier 2
topics: []
type: question-classifier
dragging: false
height: 222
id: '1711529066687'
position:
x: 648
y: 422
positionAbsolute:
x: 648
y: 422
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
authorization:
config: null
type: no-auth
body:
data: ''
type: none
desc: 发送运输类负面评价至运输部门
headers: ''
method: get
params: ''
retry_config:
max_retries: 3
retry_enabled: true
retry_interval: 100
selected: false
timeout:
connect: 10
max_connect_timeout: 300
max_read_timeout: 600
max_write_timeout: 600
read: 60
write: 20
title: HTTP Request 2
type: http-request
url: https://www.example.com
variables: []
height: 148
id: '1711529077513'
position:
x: 932
y: 422
positionAbsolute:
x: 932
y: 422
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
authorization:
config: null
type: no-auth
body:
data: ''
type: none
desc: 发送运输类负面评价至产品体验部门
headers: ''
method: get
params: ''
retry_config:
max_retries: 3
retry_enabled: true
retry_interval: 100
selected: false
timeout:
connect: 10
max_connect_timeout: 300
max_read_timeout: 600
max_write_timeout: 600
read: 60
write: 20
title: HTTP Request 3
type: http-request
url: https://www.example.com
variables: []
height: 148
id: '1711529078719'
position:
x: 932
y: 562
positionAbsolute:
x: 932
y: 562
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
author: Dify
desc: ''
height: 236
selected: false
showAuthor: true
text: '{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"这个工作流利用大型语言模型(LLM)对客户评论进行分类,并将其转发到内部系统。","type":"text","version":1}],"direction":"ltr","format":"start","indent":0,"type":"paragraph","version":1,"textFormat":0},{"children":[],"direction":"ltr","format":"start","indent":0,"type":"paragraph","version":1,"textFormat":0},{"children":[{"detail":0,"format":1,"mode":"normal","style":"font-size:
16px;","text":"开始节点: ","type":"text","version":1}],"direction":"ltr","format":"start","indent":0,"type":"paragraph","version":1,"textFormat":1},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":" ","type":"text","version":1},{"detail"...(过长已截断)