Dify AI 教程:ChatWithPaper
分析论文内容,以XML格式提取关键信息,为研究人员提供结构化、易理解的论文摘要。并可进行论文内容的交互式学习。
工作流图谱
YAML 源码
app:
description: 分析论文内容,以XML格式提取关键信息,为研究人员提供结构化、易理解的论文摘要。并可进行论文内容的交互式学习。
icon: 🤖
icon_background: '#FFEAD5'
mode: advanced-chat
name: 'Dify AI 教程:ChatWithPaper '
use_icon_as_answer_icon: false
kind: app
version: 0.1.2
workflow:
conversation_variables:
- description: 交互语言
id: d136360a-2fc1-4265-97ef-0d95cd9350a4
name: language
value: ''
value_type: string
- description: 原始论文。
id: 6103aafb-1ba3-4990-9bd3-57d51433f950
name: paper
value: []
value_type: array[string]
- description: 对话阶段。
id: a4e029a1-73ed-402e-a180-c607f779fbd3
name: chat_stage
value: ''
value_type: string
- description: 第二轮交互,将用户输入转换为prompt的内容。
id: 11340519-49cf-40b2-b088-09909ec740a0
name: chat2_user
value: ''
value_type: string
- description: 通过LLM大模型交互后的回答内容。
id: 88ff36c6-ed2d-4233-b2dd-e3ad819bba3c
name: chat2_assistance
value: ''
value_type: string
- description: 存储精读结果(学术快照+方法透视+学术棱镜)
id: 14f0acef-3038-44dc-8555-36b6d67278dd
name: paper_insight
value: []
value_type: array[string]
environment_variables:
- description: ''
id: aa8e9eb8-869e-4694-ac8f-5b1dca5dadad
name: chat2
value: ready
value_type: string
- description: ''
id: effc8e0c-78c9-4fe0-82f9-0f1a7b6168f6
name: chatX
value: chatX
value_type: string
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
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:
- English
- 中文
suggested_questions_after_answer:
enabled: true
text_to_speech:
enabled: false
language: ''
voice: ''
graph:
edges:
- data:
isInIteration: false
sourceType: start
targetType: if-else
id: 1730630185966-source-1730630264417-target
selected: false
source: '1730630185966'
sourceHandle: source
target: '1730630264417'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: assigner
id: 1730630264417-true-1730631007055-target
selected: false
source: '1730630264417'
sourceHandle: 'true'
target: '1730631007055'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: assigner
targetType: document-extractor
id: 1730631007055-source-1730631054534-target
selected: false
source: '1730631007055'
sourceHandle: source
target: '1730631054534'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: document-extractor
targetType: variable-aggregator
id: 1730631054534-source-1730631118491-target
selected: false
source: '1730631054534'
sourceHandle: source
target: '1730631118491'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: variable-aggregator
targetType: llm
id: 1730631118491-source-1730631148281-target
selected: false
source: '1730631118491'
sourceHandle: source
target: '1730631148281'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 1730631148281-source-answer-target
selected: false
source: '1730631148281'
sourceHandle: source
target: answer
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: variable-aggregator
targetType: llm
id: 1730631118491-source-1730633091910-target
selected: false
source: '1730631118491'
sourceHandle: source
target: '1730633091910'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: answer
targetType: template-transform
id: answer-source-1730633263379-target
selected: false
source: answer
sourceHandle: source
target: '1730633263379'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: template-transform
id: 1730633091910-source-1730633263379-target
selected: false
source: '1730633091910'
sourceHandle: source
target: '1730633263379'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: template-transform
targetType: llm
id: 1730633263379-source-1730633330276-target
selected: false
source: '1730633263379'
sourceHandle: source
target: '1730633330276'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 1730633330276-source-1730634400456-target
selected: false
source: '1730633330276'
sourceHandle: source
target: '1730634400456'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: template-transform
targetType: llm
id: 1730633263379-source-1730634477242-target
selected: false
source: '1730633263379'
sourceHandle: source
target: '1730634477242'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: answer
targetType: template-transform
id: 1730634400456-source-1730634629774-target
selected: false
source: '1730634400456'
sourceHandle: source
target: '1730634629774'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: template-transform
id: 1730634477242-source-1730634629774-target
selected: false
source: '1730634477242'
sourceHandle: source
target: '1730634629774'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: template-transform
targetType: llm
id: 1730634629774-source-1730635296561-target
selected: false
source: '1730634629774'
sourceHandle: source
target: '1730635296561'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: template-transform
targetType: llm
id: 1730634629774-source-1730635431930-target
selected: false
source: '1730634629774'
sourceHandle: source
target: '1730635431930'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 1730635431930-source-17306333553220-target
selected: false
source: '1730635431930'
sourceHandle: source
target: '17306333553220'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: llm
id: 1730635296561-source-1730635609787-target
selected: false
source: '1730635296561'
sourceHandle: source
target: '1730635609787'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: answer
targetType: llm
id: 17306333553220-source-1730635609787-target
selected: false
source: '17306333553220'
sourceHandle: source
target: '1730635609787'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 1730635609787-source-1730635733731-target
selected: false
source: '1730635609787'
sourceHandle: source
target: '1730635733731'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: answer
targetType: template-transform
id: 1730635733731-source-1730635765829-target
selected: false
source: '1730635733731'
sourceHandle: source
target: '1730635765829'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: template-transform
targetType: assigner
id: 1730635765829-source-1730635836889-target
selected: false
source: '1730635765829'
sourceHandle: source
target: '1730635836889'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: assigner
targetType: assigner
id: 1730635836889-source-1730635907524-target
selected: false
source: '1730635836889'
sourceHandle: source
target: '1730635907524'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: assigner
targetType: assigner
id: 1730635907524-source-1730635931505-target
selected: false
source: '1730635907524'
sourceHandle:...(过长已截断)