门诊导诊
暂无描述
工作流图谱
YAML 源码
app:
description: ''
icon: 🏥
icon_background: '#FFE4E8'
mode: advanced-chat
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:
- description: 判断是否处于第一轮对话
id: 6d5991a5-91ce-4bc5-b7a4-37653e56b44e
name: is_first_message
selector:
- conversation
- is_first_message
value: 1
value_type: number
- description: 患者的症状信息
id: 03591dfd-cf51-4f9b-ba2f-1b81ac8f57cd
name: symptom
selector:
- conversation
- symptom
value: 'null'
value_type: string
- description: 推荐患者前往的科室
id: b3dee087-6d05-4821-b44f-a2efbaee7a0e
name: department
selector:
- conversation
- department
value: ''
value_type: string
- description: 患者的年龄
id: 9c845d68-ad98-46b5-9f78-c5024b57530b
name: age
selector:
- conversation
- age
value: ''
value_type: string
- description: 患者的性别
id: 78460afc-5988-4052-bac8-981478cae6e5
name: gender
selector:
- conversation
- gender
value: ''
value_type: string
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:
- 我25岁,男性,胸有点痛。
suggested_questions_after_answer:
enabled: false
text_to_speech:
enabled: false
language: ''
voice: ''
graph:
edges:
- data:
isInIteration: false
sourceType: if-else
targetType: template-transform
id: 1722948641356-false-1722948649406-target
source: '1722948641356'
sourceHandle: 'false'
target: '1722948649406'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: template-transform
targetType: answer
id: 1722948649406-source-1722948653559-target
source: '1722948649406'
sourceHandle: source
target: '1722948653559'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: llm
id: 1722948641356-ec370d4a-2bdc-4a6b-8878-80d96b2f33d4-1722954831811-target
source: '1722948641356'
sourceHandle: ec370d4a-2bdc-4a6b-8878-80d96b2f33d4
target: '1722954831811'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: llm
id: 1722948641356-91b1b418-e8f5-4c01-beff-4e44f4e464e0-1722954924720-target
source: '1722948641356'
sourceHandle: 91b1b418-e8f5-4c01-beff-4e44f4e464e0
target: '1722954924720'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: assigner
id: 1722954924720-source-1722954934239-target
source: '1722954924720'
sourceHandle: source
target: '1722954934239'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: llm
id: 1722948641356-29b927b2-c543-450a-b6ce-11630bdca300-1722955026661-target
source: '1722948641356'
sourceHandle: 29b927b2-c543-450a-b6ce-11630bdca300
target: '1722955026661'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: variable-aggregator
id: 1722955046266-source-1722955082746-target
source: '1722955046266'
sourceHandle: source
target: '1722955082746'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: variable-aggregator
id: 1722955054068-source-1722955082746-target
source: '1722955054068'
sourceHandle: source
target: '1722955082746'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: assigner
targetType: template-transform
id: 1722954934239-source-1722955163497-target
source: '1722954934239'
sourceHandle: source
target: '1722955163497'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: template-transform
targetType: answer
id: 1722955163497-source-1722955184232-target
source: '1722955163497'
sourceHandle: source
target: '1722955184232'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: assigner
id: 1722954831811-source-1722955666307-target
source: '1722954831811'
sourceHandle: source
target: '1722955666307'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: assigner
targetType: llm
id: 1722955666307-source-1722955046266-target
source: '1722955666307'
sourceHandle: source
target: '1722955046266'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: assigner
id: 1722955026661-source-1722955684908-target
source: '1722955026661'
sourceHandle: source
target: '1722955684908'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: assigner
targetType: llm
id: 1722955684908-source-1722955054068-target
source: '1722955684908'
sourceHandle: source
target: '1722955054068'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: llm
id: 1722948641356-3c185913-fa1f-4f8e-b2ee-ac003d0da6c3-1722955850138-target
source: '1722948641356'
sourceHandle: 3c185913-fa1f-4f8e-b2ee-ac003d0da6c3
target: '1722955850138'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: assigner
id: 1722955850138-source-1722955855002-target
source: '1722955850138'
sourceHandle: source
target: '1722955855002'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: assigner
targetType: llm
id: 1722955855002-source-1722955862857-target
source: '1722955855002'
sourceHandle: source
target: '1722955862857'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: variable-aggregator
id: 1722955862857-source-1722955082746-target
source: '1722955862857'
sourceHandle: source
target: '1722955082746'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: assigner
id: 17229568358470-source-17229568563440-target
source: '17229568358470'
sourceHandle: source
target: '17229568563440'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: assigner
targetType: template-transform
id: 17229568563440-source-17229568595490-target
source: '17229568563440'
sourceHandle: source
target: '17229568595490'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: template-transform
targetType: answer
id: 17229568595490-source-17229568606330-target
source: '17229568595490'
sourceHandle: source
target: '17229568606330'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: variable-aggregator
targetType: if-else
id: 1722955082746-source-1722956878299-target
source: '1722955082746'
sourceHandle: source
target: '1722956878299'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: llm
id: 1722956878299-false-17229568358470-target
source: '1722956878299'
sourceHandle: 'false'
target: '17229568358470'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: answer
id: 1722956878299-true-1722955144801-target
source: '1722956878299'
sourceHandle: 'true'
target: '1722955144801'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: assigner
targetType: assigner
id: 1722957594963-source-1722957638479-target
source: '1722957594963'
sou...(过长已截断)