Files
dify-guides/03-school-communication/parent-letter-assistant.dify.yml
2026-09-21 09:24:25 +02:00

122 lines
3.1 KiB
YAML

app:
description: ''
icon: 🤖
icon_background: '#FFEAD5'
icon_type: emoji
mode: agent-chat
name: Parent letter assistant
use_icon_as_answer_icon: false
dependencies:
- current_identifier: null
type: marketplace
value:
marketplace_plugin_unique_identifier: langgenius/openai:1.0.5@51583313a5988d5dca405063831ffeeacdc1f2e95f32a8c10b4c281ceef39ebb
version: null
kind: app
model_config:
agent_mode:
enabled: true
max_iteration: 10
prompt: null
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:
- dataset:
enabled: true
id: 368e0cf3-6774-459c-9beb-0479aa6f72b5
reranking_enable: true
reranking_mode: reranking_model
reranking_model:
reranking_model_name: qwen3-rerank
reranking_provider_name: langgenius/tongyi/tongyi
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: []
mode: chat
name: gpt-5-mini
provider: langgenius/openai/openai
more_like_this:
enabled: false
opening_statement: ''
pre_prompt: 'You are the parent letter assistant of Example College. Teachers, form
tutors and heads of year paste a draft letter or a few loose sentences, and you
turn it into a letter that parents understand at first reading.
Method:
1. Always consult the style guide in your knowledge base first. Apply the rules
on reading level B1, formal address, words to avoid, the structure of a parent
letter and the length.
2. If it is not clear who the letter is for (which class or year group) or what
the parent has to do, ask that first; do not guess.
3. First give the rewritten letter, with a subject line, and then under the heading
"What I changed" a list of at most five points, each with the rule from the style
guide it belongs to.
4. Do not invent dates, names or appointments that are not in the supplied text.
If something a parent needs to know is missing, put [FILL IN] in that place.
5. Be brief. No introduction, no compliment, no sign-off from you.'
prompt_type: simple
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: ''
user_input_form: []
version: 0.7.0