对话型播客
暂无描述
工作流图谱
YAML 源码
app:
description: ''
icon: 📒
icon_background: '#FEF7C3'
mode: advanced-chat
name: 对话型播客
use_icon_as_answer_icon: false
kind: app
version: 0.1.4
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: true
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: 1
opening_statement: 'Click the button to start generating the podcast after uploading
the file👇
And choose the corresponding podcast length, tone, as well as the language of
the podcast and the name of the host.'
retriever_resource:
enabled: false
sensitive_word_avoidance:
enabled: false
speech_to_text:
enabled: false
suggested_questions:
- click me!
suggested_questions_after_answer:
enabled: false
text_to_speech:
autoPlay: enabled
enabled: false
language: ''
voice: ''
graph:
edges:
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 1727675554894-source-1727591530544-target
selected: false
source: '1727675554894'
sourceHandle: source
target: '1727591530544'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: answer
targetType: llm
id: 1727591530544-source-1727675911704-target
selected: false
source: '1727591530544'
sourceHandle: source
target: '1727675911704'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 1727675911704-source-1727676032290-target
selected: false
source: '1727675911704'
sourceHandle: source
target: '1727676032290'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: start
targetType: document-extractor
id: 1727578865729-source-1727580169317-target
selected: false
source: '1727578865729'
sourceHandle: source
target: '1727580169317'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: document-extractor
targetType: llm
id: 1727580169317-source-1727591428555-target
selected: false
source: '1727580169317'
sourceHandle: source
target: '1727591428555'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: answer
targetType: template-transform
id: 1727676032290-source-1729055989670-target
selected: false
source: '1727676032290'
sourceHandle: source
target: '1729055989670'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: tool
targetType: answer
id: 1729056119524-source-1729056149073-target
selected: false
source: '1729056119524'
sourceHandle: source
target: '1729056149073'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: llm
id: 1727591428555-source-1727675554894-target
selected: false
source: '1727591428555'
sourceHandle: source
target: '1727675554894'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: template-transform
targetType: answer
id: 1729055989670-source-1729097333550-target
selected: false
source: '1729055989670'
sourceHandle: source
target: '1729097333550'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: answer
targetType: tool
id: 1729097333550-source-1729056119524-target
selected: false
source: '1729097333550'
sourceHandle: source
target: '1729056119524'
targetHandle: target
type: custom
zIndex: 0
nodes:
- data:
desc: ''
selected: false
title: 开始
type: start
variables:
- allowed_file_extensions: []
allowed_file_types:
- document
allowed_file_upload_methods:
- local_file
- remote_url
label: file
max_length: 48
options: []
required: true
type: file
variable: file
- label: tone
max_length: 48
options:
- 'CASUAL = "TONE: The tone of the podcast should be casual and conversational"'
- 'FORMAL = "TONE: The tone of the podcast should be formal and professional"'
- ' HUMOROUS = "TONE: The tone of the podcast should be humorous and
light-hearted" HUMOROUS = "TONE: The tone of the podcast should be
humorous and light-hearted"'
- 'SERIOUS = "TONE: The tone of the podcast should be serious and informative"'
- 'EDUCATIONAL = "TONE: The tone of the podcast should be educational and
instructive"'
- 'INSPIRATIONAL = "TONE: The tone of the podcast should be inspirational
and motivational"'
- 'CONTROVERSIAL = "TONE: The tone of the podcast should be controversial
and thought-provoking"'
- 'STORYTELLING = "TONE: The tone of the podcast should be narrative and
storytelling"'
- ' INVESTIGATIVE = "TONE: The tone of the podcast should be investigative
and analytical"'
- ' DEBATE = "TONE: The tone of the podcast should be debate-style and argumentative"'
required: true
type: select
variable: tone
- label: host_name
max_length: 48
options: []
required: true
type: text-input
variable: host_name
- label: guest_name
max_length: 48
options: []
required: true
type: text-input
variable: guest_name
- label: language
max_length: 48
options:
- 中文
- English
- 日本語
required: true
type: select
variable: language
height: 239
id: '1727578865729'
position:
x: 97.57638976763633
y: 280
positionAbsolute:
x: 97.57638976763633
y: 280
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 243
- data:
desc: ''
is_array_file: false
selected: false
title: 文档提取器
type: document-extractor
variable_selector:
- '1727578865729'
- file
height: 107
id: '1727580169317'
position:
x: 358.6121697758786
y: 280
positionAbsolute:
x: 358.6121697758786
y: 280
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 243
- data:
context:
enabled: false
variable_selector: []
desc: ''
model:
completion_params:
temperature: 0.7
mode: chat
name: qwen2.5:latest
provider: ollama
prompt_template:
- id: e77d2b26-44a2-47d6-a64a-37c0d0e4d7b2
role: system
text: 你是一位世界级的播客制作人。你的任务是将提供的输入文本转化为引人入胜且富有信息量的播客脚本。你将收到一段可能结构不清晰或杂乱无章的文本,这些文本来源于PDF文件或网页。忽略无关的信息或格式问题。你的重点是提取出最有趣和最具洞察力的内容,以便进行播客讨论。
- id: cafd9e23-9b91-415d-a9a6-b5be7d6c5621
role: user
text: 'context:{{#1727580169317.text#}}
# Steps to Follow:
1. **分析输入:** 仔细检查文本,识别关键主题、观点以及可以推动引人入胜的播客对话的有趣事实或轶事。忽略不相关的信息或格式问题。 2.
**集思广益的想法:** 在“<scratchpad>”中,创造性地集思广益,以引人入胜的方式呈现要点。考虑: - 类比、讲故事的技巧或假设场景,使内容具有相关性
- 让普通受众能够理解复杂主题的方法 - 在播客期间探索发人深省的问题 - 创意填补信息空白的方法
'
selected: true
title: 分析输入
type: llm
variables: []
vision:
configs:
detail: high
variable_selector:
- sys
- files
enabled: false
height: 119
id: '1727591428555'
position:
x: 630.6894021517364
y: 274.87198362549776
positionAbsolute:
x: 630.6894021517364
y: 274.87198362549776
selected: true
sourcePosition: right
targetPosition: left
type: custom
width: 243
- data:
answer: '{{#1727675554894.text#}}'
desc: ''
selected: false
title: 对话
type: answer
variables: []
height: 118
id: '1727591530544'
position:
x: 961.5606056628817
y: 415.73439185131787
positionAbsolute:
x: 961.5606056628817
y: 415.73439185131787
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 243
- data:
context:
enabled: true
variable_selector:
- '1727580169317'
- text
desc: ''
model:
completion_params:
temperature: 0.8
mode: chat
name: qwen2.5:latest
provider: ollama
prompt_template:
- id: 1a516c46-2987-48dc-b8b2-b328cce43e31
role: system
...(过长已截断)