document chat
暂无描述
工作流图谱
YAML 源码
app:
description: ''
icon: 📖
icon_background: '#EFF1F5'
mode: workflow
name: document chat
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: if-else
targetType: template-transform
id: 1720795610192-false-1720795972410-target
source: '1720795610192'
sourceHandle: 'false'
target: '1720795972410'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: template-transform
targetType: end
id: 1720795972410-source-1720795855124-target
source: '1720795972410'
sourceHandle: source
target: '1720795855124'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: question-classifier
id: 1720795610192-true-1720795163496-target
source: '1720795610192'
sourceHandle: 'true'
target: '1720795163496'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: question-classifier
targetType: knowledge-retrieval
id: 1720795163496-1-1720800425522-target
source: '1720795163496'
sourceHandle: '1'
target: '1720800425522'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: knowledge-retrieval
targetType: template-transform
id: 1720800425522-source-1720796109721-target
source: '1720800425522'
sourceHandle: source
target: '1720796109721'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: question-classifier
targetType: knowledge-retrieval
id: 1720795163496-2-1720800677771-target
source: '1720795163496'
sourceHandle: '2'
target: '1720800677771'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: knowledge-retrieval
targetType: template-transform
id: 1720800677771-source-1720796134308-target
source: '1720800677771'
sourceHandle: source
target: '1720796134308'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: question-classifier
targetType: knowledge-retrieval
id: 1720795163496-1720796069925-1720800734485-target
selected: false
source: '1720795163496'
sourceHandle: '1720796069925'
target: '1720800734485'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: knowledge-retrieval
targetType: template-transform
id: 1720800734485-source-1720796162653-target
selected: false
source: '1720800734485'
sourceHandle: source
target: '1720796162653'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: template-transform
targetType: llm
id: 1720796109721-source-1720801890321-target
source: '1720796109721'
sourceHandle: source
target: '1720801890321'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: end
id: 1720801890321-source-1720796099103-target
source: '1720801890321'
sourceHandle: source
target: '1720796099103'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: template-transform
targetType: llm
id: 1720796134308-source-1720802221378-target
source: '1720796134308'
sourceHandle: source
target: '1720802221378'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: end
id: 1720802221378-source-1720796150141-target
source: '1720802221378'
sourceHandle: source
target: '1720796150141'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: template-transform
targetType: llm
id: 1720796162653-source-1720802239924-target
selected: false
source: '1720796162653'
sourceHandle: source
target: '1720802239924'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: end
id: 1720802239924-source-1720796175251-target
selected: false
source: '1720802239924'
sourceHandle: source
target: '1720796175251'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: start
targetType: template-transform
id: 1720794829558-source-1720797295568-target
source: '1720794829558'
sourceHandle: source
target: '1720797295568'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: template-transform
targetType: llm
id: 1720797295568-source-1720795218540-target
source: '1720797295568'
sourceHandle: source
target: '1720795218540'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: if-else
id: 1720795218540-source-1720795610192-target
source: '1720795218540'
sourceHandle: source
target: '1720795610192'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: question-classifier
targetType: knowledge-retrieval
id: 1720795163496-1720839653345-1720839679262-target
source: '1720795163496'
sourceHandle: '1720839653345'
target: '1720839679262'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: knowledge-retrieval
targetType: template-transform
id: 1720839679262-source-1720839693289-target
source: '1720839679262'
sourceHandle: source
target: '1720839693289'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: template-transform
targetType: llm
id: 1720839693289-source-1720839738650-target
source: '1720839693289'
sourceHandle: source
target: '1720839738650'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: end
id: 1720839738650-source-1720839772247-target
source: '1720839738650'
sourceHandle: source
target: '1720839772247'
targetHandle: target
type: custom
zIndex: 0
nodes:
- data:
desc: ''
selected: false
title: Start
type: start
variables:
- label: input
max_length: 48
options: []
required: true
type: text-input
variable: input
height: 90
id: '1720794829558'
position:
x: 30
y: 263
positionAbsolute:
x: 30
y: 263
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
classes:
- id: '1'
name: 安装
- id: '2'
name: 提问
- id: '1720796069925'
name: 架构
- id: '1720839653345'
name: 其他
desc: ''
instruction: ''
instructions: ''
model:
completion_params:
frequency_penalty: 0.5
presence_penalty: 0.5
temperature: 0.2
top_p: 0.75
mode: chat
name: deepseek-chat
provider: deepseek
query_variable_selector:
- '1720795218540'
- text
selected: false
title: Question Classifier
topics: []
type: question-classifier
height: 264
id: '1720795163496'
position:
x: 1246
y: 357
positionAbsolute:
x: 1246
y: 357
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
context:
enabled: false
variable_selector: []
desc: ''
model:
completion_params:
temperature: 0.7
mode: chat
name: deepseek-chat
provider: deepseek
prompt_template:
- id: 86a69d9b-93ca-4abb-8dd5-b4d06e9027fe
role: system
text: '你是一个意图分析系统。你会根据用户的问题对用户的意图进行判断分析。
提示:
提供尽可能详细的描述,包括关键词和背景信息。
请使用清晰的语言表达您的需求,避免使用模糊或含糊不清的词汇。
如果有特定的问题或目标,请在输入中明确说明。
示例输出:
```
系统:根据您的输入,您想了解如何安装dify。以下是关于信用卡申请的一般流程:
1. 查看不同银行或金融机构的信用卡产品。
2. 准备所需的个人身份和财务信息。
3. 填写申请表格并提交申请。
4. 等待银行审核并决定是否批准您的申请。
如果您有任何具体问题或需要更多帮助,请继续提供相关信息。
```'
- id: da00128d-8701-4050-8d1a-4f4dae29071c
role: user
text: '{{#1720797295568.output#}}
请理解并分析意图,判断用户的问题是否属于dify相关的问题,如果是,输出“需要查询文...(过长已截断)