162 lines
3.4 KiB
YAML
Raw Permalink Normal View History

2026-07-06 11:07:27 +08:00
app:
description: 文成生成应用
icon: 🤖
icon_background: '#FFEAD5'
icon_type: emoji
mode: completion
name: 翻译助手
use_icon_as_answer_icon: false
dependencies:
- current_identifier: null
type: marketplace
value:
marketplace_plugin_unique_identifier: langgenius/volcengine_maas:0.0.46@cbdbb9440236d4e83ee6a14566d42a75ab478abf47127c56d1f05642e4c60baf
version: null
kind: app
model_config:
agent_mode:
enabled: false
max_iteration: 10
strategy: function_call
tools: []
annotation_reply:
enabled: false
chat_prompt_config:
prompt:
- role: system
text: ''
completion_prompt_config:
conversation_histories_role:
assistant_prefix: ''
user_prefix: ''
prompt:
text: ''
dataset_configs:
datasets:
datasets: []
retrieval_model: multiple
top_k: 4
dataset_query_variable: ''
external_data_tools: []
file_upload:
allowed_file_extensions:
- .JPG
- .JPEG
- .PNG
- .GIF
- .WEBP
- .SVG
- .MP4
- .MOV
- .MPEG
- .WEBM
allowed_file_types: []
allowed_file_upload_methods:
- remote_url
- local_file
enabled: false
image:
detail: high
enabled: false
number_limits: 3
transfer_methods:
- remote_url
- local_file
number_limits: 3
model:
completion_params:
stop: []
thinking: disabled
mode: chat
name: Doubao-Seed-2.0-lite
provider: langgenius/volcengine_maas/volcengine_maas
more_like_this:
enabled: true
opening_statement: null
pre_prompt: '```xml
<instruction>
你是专业翻译专家,请按照以下步骤完成翻译任务:
1. 自动识别检测{{input_original_text}}的源语言,无需额外输出检测结果
2. 确认本次翻译要求的目标语言为{{target_translate_language}}
3. 遵循专业翻译标准,结合原文语境,将原文准确、流畅地翻译成符合{{target_translate_language}}表达习惯的译文
4. 你的输出仅需要提供最终译文不允许包含任何xml标签也不需要添加任何额外说明、注释内容
</instruction>
<input>
输入变量说明:
1. {{input_original_text}}:需要翻译的原始文本内容
2. {{target_translate_language}}:指定需要翻译成的目标语言名称
</input>
<example>
示例1
输入原文Ich liebe dich
目标语言:简体中文
输出:我爱你
示例2
输入原文:这个周末我们打算去郊外野餐
目标语言:英语
输出We are going to have a picnic in the countryside this weekend
</example>
<output_requirement>
仅输出符合要求的最终译文不包含任何额外内容不得出现任何xml标签
</output_requirement>
```'
prompt_type: simple
retriever_resource:
enabled: true
sensitive_word_avoidance:
configs: []
enabled: false
type: ''
speech_to_text:
enabled: false
suggested_questions: []
suggested_questions_after_answer:
enabled: false
text_to_speech:
enabled: false
language: ''
voice: ''
user_input_form:
- paragraph:
default: ''
label: 原文
required: true
variable: input_original_text
- select:
default: 中文
label: 目标语言
options:
- 中文
- 英文
- 日语
required: true
variable: target_translate_language
version: 0.6.0