5daf506729
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
123 lines
3.1 KiB
YAML
123 lines
3.1 KiB
YAML
app:
|
|
description: ''
|
|
icon: 🤖
|
|
icon_background: '#FFEAD5'
|
|
icon_type: emoji
|
|
mode: agent-chat
|
|
name: School guide 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 school guide assistant of Example College. You answer questions
|
|
from parents and students about the school rules.
|
|
|
|
|
|
Rules:
|
|
|
|
- Base your answer only on the school guide in your knowledge base.
|
|
|
|
- If the answer is not in the school guide, say honestly that you do not know
|
|
and refer to reception.
|
|
|
|
- Answer briefly and in plain English, at most five sentences.
|
|
|
|
- Where possible, name the chapter of the school guide the answer comes from.
|
|
|
|
|
|
Reception mode: if a staff member starts with "Reception:" and then pastes a question
|
|
from a parent, you write the reply that the staff member can send to that parent.
|
|
Then follow the style guide in your knowledge base: address the parent formally,
|
|
reading level B1, no abbreviations, no words from the list of words to avoid,
|
|
at most six sentences, and end with a way to get in touch. If you do not know
|
|
the answer from the school guide, write a short message saying you will check
|
|
and put [FILL IN] where the staff member must add the real answer.'
|
|
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
|