This commit is contained in:
1 parent
5583d7b74b
commit
db8472bf28
15 files changed
+2260
-2
No files matched your search
@@ -194,6 +194,49 @@ builtin_agents:
|
||||
rerank_top_k: 5
|
||||
rerank_threshold: 0.3
|
||||
|
||||
- id: "builtin-sip-translator"
|
||||
avatar: "🌐"
|
||||
is_builtin: true
|
||||
i18n:
|
||||
default:
|
||||
name: "SIP Translator"
|
||||
description: "Upload a Chinese SIP/SOP engineering Excel workbook and get the English translation with a verification report"
|
||||
zh-CN:
|
||||
name: "SIP 翻译专家"
|
||||
description: "上传 SIP/SOP 工程图纸 Excel,自动完成中文→英文翻译,输出英文版工作簿与校验报告"
|
||||
zh-TW:
|
||||
name: "SIP 翻譯專家"
|
||||
description: "上傳 SIP/SOP 工程圖紙 Excel,自動完成中文→英文翻譯,輸出英文版工作簿與校驗報告"
|
||||
ja-JP:
|
||||
name: "SIP 翻訳エキスパート"
|
||||
description: "中国語の SIP/SOP 工程 Excel をアップロードすると、英語版ワークブックと検証レポートを自動生成します"
|
||||
ko-KR:
|
||||
name: "SIP 번역 전문가"
|
||||
description: "중국어 SIP/SOP 엔지니어링 Excel을 업로드하면 영문 워크북과 검증 보고서를 자동 생성합니다"
|
||||
config:
|
||||
agent_mode: "smart-reasoning"
|
||||
agent_type: "custom"
|
||||
system_prompt_id: "sip_translator"
|
||||
temperature: 0.3
|
||||
max_completion_tokens: 8192
|
||||
max_iterations: 15
|
||||
kb_selection_mode: "none"
|
||||
retrieve_kb_only_when_mentioned: false
|
||||
supported_file_types:
|
||||
- "xlsx"
|
||||
allowed_tools:
|
||||
- "xlsx_translate"
|
||||
- "ask_user"
|
||||
web_search_enabled: false
|
||||
web_search_max_results: 0
|
||||
reflection_enabled: false
|
||||
multi_turn_enabled: true
|
||||
embedding_top_k: 5
|
||||
keyword_threshold: 0.3
|
||||
vector_threshold: 0.5
|
||||
rerank_top_k: 5
|
||||
rerank_threshold: 0.3
|
||||
|
||||
- id: "builtin-wiki-researcher"
|
||||
avatar: "📚"
|
||||
is_builtin: true
|
||||
|
||||
@@ -77,6 +77,33 @@ templates:
|
||||
- Present an appropriate table, chart, or explanation, including assumptions and material limitations. Do not force a SQL call for a question that needs no data access.
|
||||
Use only tools available in this turn; source selection and output conventions are defined by the runtime sections.
|
||||
|
||||
- id: "sip_translator"
|
||||
name: "SIP Translator"
|
||||
description: "System prompt for the SIP/SOP workbook translation agent (Chinese to English)"
|
||||
i18n:
|
||||
zh-CN:
|
||||
name: "SIP 翻译专家"
|
||||
description: "SIP/SOP 工程 Excel 中文→英文翻译智能体系统提示词"
|
||||
en-US:
|
||||
name: "SIP Translator"
|
||||
description: "System prompt for the SIP/SOP workbook translation agent (Chinese to English)"
|
||||
ko-KR:
|
||||
name: "SIP 번역 전문가"
|
||||
description: "SIP/SOP 통합 문서 번역 에이전트용 시스템 프롬프트"
|
||||
ja-JP:
|
||||
name: "SIP 翻訳エキスパート"
|
||||
description: "SIP/SOP ワークブック翻訳エージェント用のシステムプロンプト"
|
||||
mode: "sip_translator"
|
||||
content: |
|
||||
You are Academy SIP Translator, specialized in translating Chinese engineering Excel workbooks (SIP standard inspection procedures, SOP standard operating procedures, rack/enclosure manufacturing documents) into English.
|
||||
Workflow:
|
||||
- When the user uploads a .xlsx workbook, call xlsx_translate with file_path set to the uploaded file's absolute sandbox path from <sandbox_attachments>. Never ask the user to re-upload or to run any manual steps.
|
||||
- After the tool returns, summarize the verification report for the user in their language: how many text units were translated, glossary hits, residual Chinese count, and the number/part integrity result. The translated workbook is delivered automatically as a downloadable output artifact named <original>_EN.xlsx — point the user to it.
|
||||
- If residual Chinese or integrity mismatches are reported, list the affected samples and recommend manual review of those entries; do not claim the deliverable is 100% complete when the report says otherwise.
|
||||
- If the tool reports an error (unsupported format, size limit, workspace unavailable), explain the exact cause and the fix (for example: re-save legacy .xls as .xlsx, or ask an administrator to enable the session workspace).
|
||||
- Answer short questions about the translation approach (terminology control, placeholder protection for part numbers and tolerances, structure preservation) without calling tools; the translation itself always goes through xlsx_translate.
|
||||
Do not read or modify the workbook with other tools. Use only tools available in this turn; source selection and output conventions are defined by the runtime sections.
|
||||
|
||||
- id: "wiki_researcher"
|
||||
name: "Wiki Researcher"
|
||||
description: "System prompt for Wiki Researcher agent with knowledge graph traversal"
|
||||
|
||||
Reference in new issue
Block a user