refactor: 全局去除误导性AI描述与浮夸修饰,面向生产环境标准化商务智能术语
这个提交包含在:
@@ -45,7 +45,7 @@ const i18n = {
|
||||
'aiConcierge.request.saveFail': 'Failed to save configuration',
|
||||
'aiDeepSeek.card.title': 'DeepSeek Official LLM Configuration',
|
||||
'aiDeepSeek.card.desc':
|
||||
'Configure DeepSeek API Key, supporting deepseek-chat and deepseek-reasoner dual models for 24/7 AI concierge and cross-border localization.',
|
||||
'Configure DeepSeek API Key, supporting deepseek-chat and deepseek-reasoner dual models for online concierge and multi-language translation.',
|
||||
'aiDeepSeek.form.apiKey': 'API Key',
|
||||
'aiDeepSeek.form.apiKey.placeholder':
|
||||
'Enter official API Key starting with sk- (leave blank to keep current)',
|
||||
@@ -71,9 +71,9 @@ const i18n = {
|
||||
},
|
||||
'zh-CN': {
|
||||
'menu.ai.concierge': 'AI 顾问配置',
|
||||
'aiConcierge.card.title': '名片 AI 顾问人设与意向留资策略',
|
||||
'aiConcierge.card.title': '名片智能顾问人设与意向留资策略',
|
||||
'aiConcierge.card.desc':
|
||||
'设定名片数字人顾问的人设定位、开场欢迎语及雷达意向度自动留资触发阈值。',
|
||||
'设定名片智能顾问的人设定位、开场欢迎语及意向留资触发阈值。',
|
||||
'aiConcierge.form.cardSelect': '关联名片',
|
||||
'aiConcierge.form.cardSelect.placeholder': '选择或输入名片 ID',
|
||||
'aiConcierge.form.persona': '预设人设',
|
||||
@@ -97,25 +97,25 @@ const i18n = {
|
||||
'输入访客初次唤醒名片对话窗时的首条问候引导词...',
|
||||
'aiConcierge.form.prompt': '系统人设指令 (Prompt Template)',
|
||||
'aiConcierge.form.prompt.placeholder':
|
||||
'定义 AI 顾问的角色设定、回答边界及产品业务知识准则...',
|
||||
'定义智能顾问的角色设定、回答边界及产品业务知识准则...',
|
||||
'aiConcierge.form.threshold': '意向留资触发阈值',
|
||||
'aiConcierge.form.threshold.desc':
|
||||
'当访客行为意向度或雷达评分达到该分值时,AI 将主动发起引导留资。',
|
||||
'当访客意向度评分达到该分值时,智能顾问将主动发起引导留资。',
|
||||
'aiConcierge.form.threshold.low': '积极留资 (分值较低)',
|
||||
'aiConcierge.form.threshold.high': '谨慎留资 (高分触发)',
|
||||
'aiConcierge.form.status': '启用 AI 顾问',
|
||||
'aiConcierge.form.status': '启用在线顾问',
|
||||
'aiConcierge.form.status.desc':
|
||||
'关闭后,访客端名片页将隐藏或暂停 AI 对话浮窗交互。',
|
||||
'关闭后,访客端名片页将隐藏在线顾问咨询浮窗。',
|
||||
'aiConcierge.action.save': '保存配置',
|
||||
'aiConcierge.action.reset': '恢复预设',
|
||||
'aiConcierge.validation.cardId': '请选择或填写名片 ID',
|
||||
'aiConcierge.validation.welcome': '请输入欢迎语',
|
||||
'aiConcierge.request.success': 'AI 顾问配置已保存',
|
||||
'aiConcierge.request.fail': 'AI 顾问配置加载失败',
|
||||
'aiConcierge.request.success': '智能顾问配置已保存',
|
||||
'aiConcierge.request.fail': '智能顾问配置加载失败',
|
||||
'aiConcierge.request.saveFail': '保存配置失败',
|
||||
'aiDeepSeek.card.title': 'DeepSeek 官方大模型底座配置',
|
||||
'aiDeepSeek.card.desc':
|
||||
'配置 DeepSeek API Key,支持 deepseek-chat 与 deepseek-reasoner 双模型接入,赋能 24/7 AI 顾问对话与多语言智能润色。',
|
||||
'配置 DeepSeek 接口凭证与模型接入,支持在线顾问智能应答与多语言翻译。',
|
||||
'aiDeepSeek.form.apiKey': 'API Key 密钥',
|
||||
'aiDeepSeek.form.apiKey.placeholder':
|
||||
'输入 sk- 开头的官方密钥 (留空则保留当前已配置密钥)',
|
||||
|
||||
@@ -127,7 +127,7 @@ function AiTranslationPage() {
|
||||
const t = useLocale(locale) as Record<string, string>;
|
||||
const requestFailText = t['aiTranslation.request.fail'];
|
||||
|
||||
// 1. 实时润色试炼器状态
|
||||
// 1. 实时润色工作区状态
|
||||
const [playgroundForm] = Form.useForm<PlaygroundFormValues>();
|
||||
const [polishing, setPolishing] = useState(false);
|
||||
const [polishResult, setPolishResult] = useState<LocalizeReply | null>(null);
|
||||
@@ -456,7 +456,7 @@ function AiTranslationPage() {
|
||||
|
||||
return (
|
||||
<div style={{ display: 'flex', flexDirection: 'column', gap: '24px' }}>
|
||||
{/* 实时润色试炼器 (Live Polish Playground) */}
|
||||
{/* 实时润色工作区 (Live Polish Playground) */}
|
||||
<Card title={t['aiTranslation.playground.title']}>
|
||||
<Form
|
||||
form={playgroundForm}
|
||||
|
||||
@@ -53,7 +53,7 @@ const i18n = {
|
||||
},
|
||||
'zh-CN': {
|
||||
'menu.ai.translation': '润色与术语库',
|
||||
'aiTranslation.playground.title': '商务文案实时润色试炼器',
|
||||
'aiTranslation.playground.title': '商务文案在线润色与翻译',
|
||||
'aiTranslation.playground.text': '待润色文本',
|
||||
'aiTranslation.playground.text.placeholder': '输入待润色的商务文案,系统将自动应用语气模板并强制对齐行业术语...',
|
||||
'aiTranslation.playground.targetLocale': '目标语言',
|
||||
|
||||
在新工单中引用
屏蔽一个用户