app:
description: 针对内科、药品、肿瘤相关诊断咨询
icon: 🤖
icon_background: '#FFEAD5'
icon_type: emoji
mode: advanced-chat
name: 智能医疗诊断助手
use_icon_as_answer_icon: false
dependencies:
- current_identifier: null
type: marketplace
value:
marketplace_plugin_unique_identifier: langgenius/mimo:0.0.8@18947da24866d0e1e84558ae7dcc96d491f8d9f96c982f1704945e24a65c0362
version: null
- current_identifier: null
type: marketplace
value:
marketplace_plugin_unique_identifier: langgenius/tongyi:0.2.1@0924de1d15a8a35b0cc64ff396c68d5edddcfbc495a1e52ea57e8648434eff4b
version: null
kind: app
version: 0.6.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:
attachment_image_file_size_limit: 2
audio_file_size_limit: 50
batch_count_limit: 5
file_size_limit: 15
file_upload_limit: 20
image_file_batch_limit: 10
image_file_size_limit: 10
single_chunk_attachment_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: knowledge-retrieval
targetType: llm
id: 1782207798964-source-1782207832261-target
source: '1782207798964'
sourceHandle: source
target: '1782207832261'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
isInLoop: false
sourceType: llm
targetType: answer
id: 1782207832261-source-answer-target
source: '1782207832261'
sourceHandle: source
target: answer
targetHandle: target
type: custom
zIndex: 0
- data:
isInLoop: false
sourceType: start
targetType: llm
id: 1782207443886-source-llm-target
source: '1782207443886'
sourceHandle: source
target: llm
targetHandle: target
type: custom
zIndex: 0
- data:
isInLoop: false
sourceType: llm
targetType: question-classifier
id: llm-source-1782208225014-target
source: llm
sourceHandle: source
target: '1782208225014'
targetHandle: target
type: custom
zIndex: 0
- data:
isInLoop: false
sourceType: question-classifier
targetType: knowledge-retrieval
id: 1782208225014-1-1782207798964-target
selected: false
source: '1782208225014'
sourceHandle: '1'
target: '1782207798964'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
isInLoop: false
sourceType: question-classifier
targetType: knowledge-retrieval
id: 1782208225014-2-1782208883870-target
selected: true
source: '1782208225014'
sourceHandle: '2'
target: '1782208883870'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
isInLoop: false
sourceType: knowledge-retrieval
targetType: llm
id: 1782208883870-source-1782208906944-target
source: '1782208883870'
sourceHandle: source
target: '1782208906944'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
isInLoop: false
sourceType: llm
targetType: answer
id: 1782208906944-source-1782209016129-target
source: '1782208906944'
sourceHandle: source
target: '1782209016129'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
isInLoop: false
sourceType: question-classifier
targetType: knowledge-retrieval
id: 1782208225014-1782208253197-1782209887213-target
source: '1782208225014'
sourceHandle: '1782208253197'
target: '1782209887213'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
isInLoop: false
sourceType: knowledge-retrieval
targetType: llm
id: 1782209887213-source-1782209918661-target
source: '1782209887213'
sourceHandle: source
target: '1782209918661'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
isInLoop: false
sourceType: llm
targetType: answer
id: 1782209918661-source-1782210020953-target
source: '1782209918661'
sourceHandle: source
target: '1782210020953'
targetHandle: target
type: custom
zIndex: 0
nodes:
- data:
selected: false
title: 用户输入
type: start
variables: []
height: 72
id: '1782207443886'
position:
x: -43
y: 288
positionAbsolute:
x: -43
y: 288
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 242
- data:
context:
enabled: false
variable_selector: []
model:
completion_params:
temperature: 0.7
mode: chat
name: mimo-v2.5-pro
provider: langgenius/mimo/mimo
prompt_template:
- id: ad9e9e7c-1421-4cbe-81d0-3f38a9dae394
role: system
text: 你具备专业的医疗背景知识,是医疗行业的专家,现在需要根据用户输入的信息进行整合润色,输出可以用于药品知识库和内科知识库检索的专业术语,方便后续进行检索,输出的文字不超过20个字,你不需要回复用户的问题,只需要输出润色的结果即可。
- id: 37a84e9d-cdeb-4cca-9eef-5724d1efb167
role: user
text: '{{#sys.query#}}'
selected: false
structured_output_enabled: true
title: 问题润色
type: llm
vision:
enabled: false
height: 87
id: llm
position:
x: 286
y: 309
positionAbsolute:
x: 286
y: 309
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 241
- data:
answer: '{{#1782207832261.text#}}'
selected: false
title: 诊断结果回复
type: answer
variables: []
height: 102
id: answer
position:
x: 1580
y: 282
positionAbsolute:
x: 1580
y: 282
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 241
- data:
dataset_ids:
- 6N+NSeZsTGN5ifGZh/g053fXXM2E2Z2TTRL8RGzh/jwqtRMLgeGp561LGxr/7yg+
multiple_retrieval_config:
reranking_enable: false
reranking_mode: reranking_model
reranking_model:
model: qwen3-rerank
provider: langgenius/tongyi/tongyi
top_k: 4
query_attachment_selector: []
query_variable_selector:
- llm
- text
retrieval_mode: multiple
selected: false
title: 内科知识库检索
type: knowledge-retrieval
height: 89
id: '1782207798964'
position:
x: 980
y: 282
positionAbsolute:
x: 980
y: 282
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 241
- data:
context:
enabled: true
variable_selector:
- '1782207798964'
- result
model:
completion_params:
temperature: 0.7
mode: chat
name: mimo-v2.5-pro
provider: langgenius/mimo/mimo
prompt_template:
- id: fd4a60ee-e850-48f5-b32c-dc96119a95ba
role: system
text: '你具备专业的医疗背景知识,是医疗行业的专家,现在需要根据用户输入的信息和知识库中检索的内容进行整合润色,输出具体当前症状描述以及初步诊断及后续的治疗方案建议。可以参考以下示例进行输出:
症状描述: xxxx
初步诊断: xxxx
治疗建议: xxxx
以上方案仅供参考,具体以就医指导为准。'
- id: bfad056e-3f11-40ae-af7f-0d62d288847a
role: user
text: '{{#llm.text#}}{{#context#}}'
reasoning_format: separated
selected: false
structured_output_enabled: true
title: 诊断润色
type: llm
vision:
enabled: false
height: 87
id: '1782207832261'
position:
x: 1280
y: 282
positionAbsolute:
x: 1280
y: 282
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 241
- data:
classes:
- id: '1'
name: 内科诊断咨询
- id: '2'
name: 药品用法咨询
- id: '1782208253197'
name: 恶性肿瘤诊断咨询
instructions: ''
model:
completion_params:
temperature: 0.7
mode: chat
name: mimo-v2.5-pro
provider: langgenius/mimo/mimo
query_variable_selector:
- llm
- text
selected: false
title: 问题分类器
type: question-classifier
vision:
enabled: false
height: 207
id: '1782208225014'
position:
x: 609.9999999999999
y: 282
positionAbsolute:
x: 609.9999999999999
y: 282
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 241
- data:
dataset_ids:
- bWWFhH+2UOnnCk6OBUtrqW140nU/c2VlRFIOT793jq1xuZe/kL1apUS0CgW6HnRZ
multiple_retrieval_config:
reranking_enable: false
reranking_mode: reranking_model
reranking_model:
model: qwen3-rerank
provider: langgenius/tongyi/tongyi
top_k: 4
query_attachment_selector: []
query_variable_selector:
- '1782207443886'
- sys.query
retrieval_mode: multiple
selected: false
title: 药品知识库检索
type: knowledge-retrieval
height: 89
id: '1782208883870'
position:
x: 980
y: 410
positionAbsolute:
x: 980
y: 410
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 241
- data:
context:
enabled: true
variable_selector:
- '1782208883870'
- result
model:
completion_params:
temperature: 0.7
mode: chat
name: mimo-v2.5-pro
provider: langgenius/mimo/mimo
prompt_template:
- id: f84c6360-2d8d-4e13-9289-b3321f68b8ea
role: system
text: "你具备专业的医疗背景知识,是医疗行业的专家,现在需要根据用户输入的信息和药品知识库中检索的内容进行整合润色,需要回答用户的药品相关问题。\n\
严格按照以下示例进行输出:\n示例: \n问题: xxxx\n回复: xxxx\n\n以上方案仅供参考,具体以就医指导为准。"
- id: 0910b679-6591-402d-b447-fd233a11317a
role: user
text: '{{#sys.query#}}{{#context#}}'
reasoning_format: separated
selected: false
structured_output_enabled: true
title: 药品检索润色
type: llm
vision:
enabled: false
height: 87
id: '1782208906944'
position:
x: 1281
y: 410
positionAbsolute:
x: 1281
y: 410
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 241
- data:
answer: '{{#1782208906944.text#}}'
selected: false
title: 用药指南回复
type: answer
variables: []
height: 102
id: '1782209016129'
position:
x: 1580
y: 410
positionAbsolute:
x: 1580
y: 410
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 241
- data:
dataset_ids:
- 6N+NSeZsTGN5ifGZh/g053fXXM2E2Z2TTRL8RGzh/jwqtRMLgeGp561LGxr/7yg+
multiple_retrieval_config:
reranking_enable: false
reranking_mode: reranking_model
reranking_model:
model: qwen3-rerank
provider: langgenius/tongyi/tongyi
top_k: 4
query_attachment_selector: []
query_variable_selector:
- llm
- text
retrieval_mode: multiple
selected: false
title: 肿瘤知识库查询
type: knowledge-retrieval
height: 89
id: '1782209887213'
position:
x: 980
y: 538
positionAbsolute:
x: 980
y: 538
sourcePosition: right
targetPosition: left
type: custom
width: 241
- data:
context:
enabled: true
variable_selector:
- '1782209887213'
- result
model:
completion_params:
temperature: 0.7
mode: chat
name: mimo-v2.5-pro
provider: langgenius/mimo/mimo
prompt_template:
- id: 511b4f8e-8622-40a8-ba5a-af979c3e312b
role: system
text: '你是一个具有非常丰富的肿瘤临床经验的专家,现在结合用户的问题和知识库检索的结果进行整理输出,请严格按照以下示例进行输出:
问题: xxx
回复: xxx'
- id: fb9b6d8f-ba2d-48e7-9b10-1c4434f01b98
role: user
text: '{{#sys.query#}}{{#llm.text#}}{{#context#}}'
selected: false
title: 肿瘤知识润色
type: llm
vision:
enabled: false
height: 87
id: '1782209918661'
position:
x: 1281
y: 538
positionAbsolute:
x: 1281
y: 538
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 241
- data:
answer: '{{#1782209918661.text#}}'
selected: false
title: 肿瘤咨询回复
type: answer
variables: []
height: 102
id: '1782210020953'
position:
x: 1582
y: 538
positionAbsolute:
x: 1582
y: 538
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 241
viewport:
x: -271.9905176990137
y: -32.83520318666979
zoom: 0.870550563296124
rag_pipeline_variables: []