feat(copilot): finish configuration center
This commit is contained in:
@@ -387,63 +387,131 @@
|
||||
},
|
||||
"CAPTAIN_SETTINGS": {
|
||||
"TITLE": "Copilot Configuration",
|
||||
"DESCRIPTION": "Configure the AI provider and models used by Copilot. Configuration is stored securely and takes effect without restarting the service.",
|
||||
"LOADING": "Loading Captain configuration...",
|
||||
"LINK_TEXT": "Learn more about Captain Credits",
|
||||
"NOT_ENABLED": "Captain is not enabled for your account. Please upgrade your plan to access Captain features.",
|
||||
"DESCRIPTION": "Configure the platform AI provider, account feature models, and response behavior. Copilot is always available, and saved provider changes take effect without a restart.",
|
||||
"LOADING": "Loading Copilot configuration...",
|
||||
"NOT_AVAILABLE": "Copilot configuration could not be loaded.",
|
||||
"STATUS": {
|
||||
"TITLE": "Runtime status",
|
||||
"DESCRIPTION": "Review platform configuration completeness and the latest connection test.",
|
||||
"CONFIGURATION": "Provider configuration",
|
||||
"ALWAYS_ENABLED": "Copilot is globally enabled and cannot be disabled",
|
||||
"APPLIED": "{provider} · {model}, applied at {time}",
|
||||
"CONFIGURED": "Configured",
|
||||
"INCOMPLETE": "Incomplete",
|
||||
"CONNECTION": "Connection status",
|
||||
"NOT_TESTED": "Connection has not been tested",
|
||||
"CONNECTED": "Connected",
|
||||
"ERROR": "Connection error",
|
||||
"UNKNOWN": "Unknown"
|
||||
},
|
||||
"PROVIDER": {
|
||||
"TITLE": "Provider Configuration",
|
||||
"DESCRIPTION": "Configure the provider connection used by all Copilot and Captain AI requests.",
|
||||
"TITLE": "Platform provider",
|
||||
"DESCRIPTION": "Chat and embedding settings apply to the entire GoChat installation. Only a SuperAdmin can edit or test them.",
|
||||
"READ_ONLY": "Account administrators can only view platform configuration status. Contact a SuperAdmin to edit the provider or run a connection test.",
|
||||
"CHAT_TITLE": "Chat model",
|
||||
"EMBEDDING_TITLE": "Embedding model",
|
||||
"RELIABILITY_TITLE": "Generation and reliability",
|
||||
"PROVIDER": "Provider",
|
||||
"MODEL": "Default model",
|
||||
"BASE_URL": "Base URL",
|
||||
"API_KEY": "API key",
|
||||
"API_KEY_PLACEHOLDER": "Enter API key",
|
||||
"API_KEY_CONFIGURED": "Configured: {masked}. Leave blank to keep it unchanged.",
|
||||
"API_KEY_HELP": "The API key is encrypted at rest and is never returned by the API.",
|
||||
"SAVE": "Save provider configuration",
|
||||
"API_KEY_MASKED": "saved",
|
||||
"API_KEY_HELP": "The API key is stored as plaintext in the protected installation configuration table; the page and read APIs never return it.",
|
||||
"CLEAR_CHAT_KEY": "Clear the saved Chat API key",
|
||||
"CLEAR_EMBEDDING_KEY": "Clear the saved Embedding API key",
|
||||
"CLEAR_KEY_CONFIRM": "Clearing an API key immediately makes the related provider configuration incomplete. Continue?",
|
||||
"EMBEDDING_MODE": "Credential mode",
|
||||
"REUSE_CHAT": "Reuse Chat credentials",
|
||||
"SEPARATE_EMBEDDING": "Separate Embedding configuration",
|
||||
"EMBEDDING_PROVIDER": "Embedding provider",
|
||||
"EMBEDDING_BASE_URL": "Embedding Base URL",
|
||||
"EMBEDDING_API_KEY": "Embedding API key",
|
||||
"EMBEDDING_MODEL": "Embedding model",
|
||||
"DIMENSIONS": "Vector dimensions",
|
||||
"DIMENSIONS_CONFIRM": "Changing embedding dimensions requires rebuilding existing indexes or semantic search will stop working. Save the new dimensions?",
|
||||
"ANTHROPIC_EMBEDDING_ERROR": "Anthropic does not provide an embeddings API. Select a separate OpenAI or OpenAI-compatible embedding provider.",
|
||||
"MAX_TOKENS": "Maximum output tokens",
|
||||
"TIMEOUT": "Timeout (seconds)",
|
||||
"RETRIES": "Maximum retries",
|
||||
"REINDEX_TITLE": "Knowledge base embedding rebuild",
|
||||
"REINDEX_DESCRIPTION": "Rebuild all help center article vectors after changing the embedding model or dimensions.",
|
||||
"REINDEX": "Start rebuild",
|
||||
"REINDEXING": "Rebuilding...",
|
||||
"REINDEX_CONFIRM": "Semantic search results may be incomplete during the rebuild. Rebuild embeddings for all articles now?",
|
||||
"REINDEX_PROGRESS": "Processed {processed}/{total}, failed {failed}",
|
||||
"TEST": "Test connection",
|
||||
"TESTING": "Testing...",
|
||||
"SAVE": "Save platform configuration",
|
||||
"SAVING": "Saving..."
|
||||
},
|
||||
"MODEL_CONFIG": {
|
||||
"TITLE": "Model Configuration",
|
||||
"DESCRIPTION": "Select AI models for different features.",
|
||||
"SELECT_MODEL": "Select model",
|
||||
"CREDITS_PER_MESSAGE": "{credits} credit/message",
|
||||
"COMING_SOON": "Coming soon",
|
||||
"TITLE": "Current account models",
|
||||
"DESCRIPTION": "Assign model IDs to individual features. Keep the platform default or enter any provider-compatible model ID.",
|
||||
"MODEL_ID_PLACEHOLDER": "Enter a model ID",
|
||||
"APPLY": "Apply",
|
||||
"EDITOR": {
|
||||
"TITLE": "Editor Features",
|
||||
"DESCRIPTION": "Powers smart compose, grammar corrections, tone adjustments, and content enhancement in your message editor."
|
||||
"TITLE": "Editor rewriting",
|
||||
"DESCRIPTION": "Powers smart compose, grammar correction, tone adjustment, and content enhancement."
|
||||
},
|
||||
"ASSISTANT": {
|
||||
"TITLE": "Assistant",
|
||||
"DESCRIPTION": "Handles automated responses, conversation summaries, and intelligent reply suggestions for customer interactions."
|
||||
"DESCRIPTION": "Used by Assistant Playground, automated assistance, and knowledge-grounded answers."
|
||||
},
|
||||
"COPILOT": {
|
||||
"TITLE": "Co-pilot",
|
||||
"DESCRIPTION": "Provides real-time contextual suggestions, knowledge base recommendations, and proactive insights during conversations."
|
||||
"TITLE": "Copilot conversation",
|
||||
"DESCRIPTION": "Used for sidebar conversations, reply suggestions, summaries, and translations."
|
||||
}
|
||||
},
|
||||
"FEATURES": {
|
||||
"TITLE": "Features",
|
||||
"DESCRIPTION": "Enable or disable AI-powered features.",
|
||||
"AUDIO_TRANSCRIPTION": {
|
||||
"TITLE": "Audio Transcription",
|
||||
"DESCRIPTION": "Automatically convert voice messages and call recordings into searchable text transcripts."
|
||||
},
|
||||
"TITLE": "Current account features",
|
||||
"DESCRIPTION": "Control specific AI capabilities for this account. These switches do not disable system-wide Copilot.",
|
||||
"HELP_CENTER_SEARCH": {
|
||||
"TITLE": "Help Center Search Indexing",
|
||||
"DESCRIPTION": "Use AI for context aware search inside your help center articles."
|
||||
"TITLE": "Knowledge base semantic search",
|
||||
"DESCRIPTION": "Use the platform embedding model for semantic search across help center articles."
|
||||
},
|
||||
"LABEL_SUGGESTION": {
|
||||
"TITLE": "Label Suggestion",
|
||||
"DESCRIPTION": "Automatically suggest relevant labels and tags for conversations based on content analysis and context.",
|
||||
"MODEL_TITLE": "Label Suggestion Model",
|
||||
"MODEL_DESCRIPTION": "Select the AI model to use for analyzing conversations and suggesting appropriate labels"
|
||||
"TITLE": "Label suggestions",
|
||||
"DESCRIPTION": "Suggest relevant labels from conversation context. Automatic application is controlled below.",
|
||||
"MODEL_TITLE": "Label suggestion model",
|
||||
"MODEL_DESCRIPTION": "Optionally use a compatible model ID different from the account default."
|
||||
}
|
||||
},
|
||||
"BEHAVIOR": {
|
||||
"TITLE": "Response behavior",
|
||||
"DESCRIPTION": "Set account defaults for tone, language, length, and automation. Assistant-specific settings take priority.",
|
||||
"TONE": "Response tone",
|
||||
"TONES": {
|
||||
"PROFESSIONAL": "Professional",
|
||||
"FRIENDLY": "Friendly",
|
||||
"CASUAL": "Casual",
|
||||
"FORMAL": "Formal"
|
||||
},
|
||||
"LANGUAGE": "Response language",
|
||||
"LANGUAGE_PLACEHOLDER": "auto or a language code",
|
||||
"MAX_LENGTH": "Maximum response length",
|
||||
"CUSTOM_PROMPT": "Additional instructions",
|
||||
"CUSTOM_PROMPT_PLACEHOLDER": "For example: prioritize actionable next steps.",
|
||||
"CUSTOM_PROMPT_HELP": "Appended to this account's default prompt, up to 1,000 characters.",
|
||||
"AUTO_LABEL": "Automatically apply labels",
|
||||
"AUTO_LABEL_HELP": "Apply label suggestion results automatically.",
|
||||
"AUTO_FOLLOW_UP": "Automatically create follow-ups",
|
||||
"AUTO_FOLLOW_UP_HELP": "Create follow-up tasks from AI suggestions.",
|
||||
"AUTO_REPLY": "Automatically reply to customers",
|
||||
"AUTO_REPLY_HELP": "High-risk capability; verify the Assistant and Inbox binding before enabling it.",
|
||||
"AUTO_REPLY_CONFIRM": "Automatic replies send AI content directly to customers. Confirm that the Assistant, knowledge base, guardrails, and Inbox binding are configured. Enable it anyway?",
|
||||
"SAVE": "Save response behavior",
|
||||
"SAVING": "Saving..."
|
||||
},
|
||||
"API": {
|
||||
"SUCCESS": "Captain settings updated successfully.",
|
||||
"ERROR": "Failed to update Captain settings. Please try again."
|
||||
"ACCOUNT_SUCCESS": "Account Copilot configuration updated.",
|
||||
"PROVIDER_SUCCESS": "Platform provider configuration saved and applied immediately.",
|
||||
"TEST_SUCCESS": "Chat and Embedding connection tests passed.",
|
||||
"TEST_ERROR": "The connection test completed, but at least one check failed.",
|
||||
"REINDEX_STARTED": "Knowledge base embedding rebuild started.",
|
||||
"REINDEX_COMPLETE": "Knowledge base embedding rebuild completed.",
|
||||
"ERROR": "Failed to update Copilot configuration. Please try again."
|
||||
}
|
||||
},
|
||||
"BILLING_SETTINGS": {
|
||||
|
||||
@@ -387,63 +387,131 @@
|
||||
},
|
||||
"CAPTAIN_SETTINGS": {
|
||||
"TITLE": "Copilot 配置",
|
||||
"DESCRIPTION": "配置 Copilot 使用的 AI 服务商和模型。保存后立即生效,无需重启服务。",
|
||||
"DESCRIPTION": "配置平台 AI 服务商、账户功能模型与回复行为。Copilot 在系统中始终可用,Provider 配置保存后无需重启即可生效。",
|
||||
"LOADING": "正在加载 Copilot 配置...",
|
||||
"LINK_TEXT": "了解 Copilot",
|
||||
"NOT_ENABLED": "Copilot 配置暂不可用。",
|
||||
"NOT_AVAILABLE": "无法加载 Copilot 配置。",
|
||||
"STATUS": {
|
||||
"TITLE": "运行状态",
|
||||
"DESCRIPTION": "查看平台配置完整性和最近一次连接测试结果。",
|
||||
"CONFIGURATION": "Provider 配置",
|
||||
"ALWAYS_ENABLED": "Copilot 全局启用且不可关闭",
|
||||
"APPLIED": "{provider} · {model},生效于 {time}",
|
||||
"CONFIGURED": "配置完整",
|
||||
"INCOMPLETE": "配置不完整",
|
||||
"CONNECTION": "连接状态",
|
||||
"NOT_TESTED": "尚未测试连接",
|
||||
"CONNECTED": "连接正常",
|
||||
"ERROR": "连接异常",
|
||||
"UNKNOWN": "未知"
|
||||
},
|
||||
"PROVIDER": {
|
||||
"TITLE": "服务商配置",
|
||||
"DESCRIPTION": "配置所有 Copilot 与 Captain AI 请求使用的模型服务。",
|
||||
"TITLE": "平台 Provider",
|
||||
"DESCRIPTION": "Chat 与 Embedding 配置对整套 GoChat 安装生效。只有 SuperAdmin 可以修改和测试。",
|
||||
"READ_ONLY": "当前账户管理员只能查看平台配置状态。请联系 SuperAdmin 修改 Provider 或执行连接测试。",
|
||||
"CHAT_TITLE": "对话模型",
|
||||
"EMBEDDING_TITLE": "Embedding 模型",
|
||||
"RELIABILITY_TITLE": "生成与可靠性",
|
||||
"PROVIDER": "服务商",
|
||||
"MODEL": "默认模型",
|
||||
"BASE_URL": "接口地址",
|
||||
"API_KEY": "API Key",
|
||||
"API_KEY_PLACEHOLDER": "请输入 API Key",
|
||||
"API_KEY_CONFIGURED": "已配置:{masked}。留空表示保持不变。",
|
||||
"API_KEY_HELP": "API Key 加密保存,接口不会返回明文。",
|
||||
"SAVE": "保存服务商配置",
|
||||
"API_KEY_MASKED": "已保存",
|
||||
"API_KEY_HELP": "API Key 明文写入受保护的安装配置表;页面和读取接口永不返回明文。",
|
||||
"CLEAR_CHAT_KEY": "清除已保存的 Chat API Key",
|
||||
"CLEAR_EMBEDDING_KEY": "清除已保存的 Embedding API Key",
|
||||
"CLEAR_KEY_CONFIRM": "清除 API Key 会让相关 Provider 立即变为配置不完整。确认继续吗?",
|
||||
"EMBEDDING_MODE": "凭据模式",
|
||||
"REUSE_CHAT": "复用 Chat 凭据",
|
||||
"SEPARATE_EMBEDDING": "独立 Embedding 配置",
|
||||
"EMBEDDING_PROVIDER": "Embedding 服务商",
|
||||
"EMBEDDING_BASE_URL": "Embedding 接口地址",
|
||||
"EMBEDDING_API_KEY": "Embedding API Key",
|
||||
"EMBEDDING_MODEL": "Embedding 模型",
|
||||
"DIMENSIONS": "向量维度",
|
||||
"DIMENSIONS_CONFIRM": "修改 Embedding 向量维度后必须重建已有索引,否则语义搜索不可用。确认保存新维度吗?",
|
||||
"ANTHROPIC_EMBEDDING_ERROR": "Anthropic 不提供 Embedding API。请选择独立 Embedding 配置并使用 OpenAI 或 OpenAI Compatible 服务商。",
|
||||
"MAX_TOKENS": "最大输出 Tokens",
|
||||
"TIMEOUT": "超时时间(秒)",
|
||||
"RETRIES": "最大重试次数",
|
||||
"REINDEX_TITLE": "知识库 Embedding 重建",
|
||||
"REINDEX_DESCRIPTION": "在修改 Embedding 模型或向量维度后,重建所有帮助中心文章向量。",
|
||||
"REINDEX": "开始重建",
|
||||
"REINDEXING": "重建中...",
|
||||
"REINDEX_CONFIRM": "重建期间知识库语义搜索结果可能暂时不完整。确认开始重建全部文章 Embedding 吗?",
|
||||
"REINDEX_PROGRESS": "已处理 {processed}/{total},失败 {failed}",
|
||||
"TEST": "测试连接",
|
||||
"TESTING": "测试中...",
|
||||
"SAVE": "保存平台配置",
|
||||
"SAVING": "保存中..."
|
||||
},
|
||||
"MODEL_CONFIG": {
|
||||
"TITLE": "Model Configuration",
|
||||
"DESCRIPTION": "Select AI models for different features.",
|
||||
"SELECT_MODEL": "Select model",
|
||||
"CREDITS_PER_MESSAGE": "{credits} credit/message",
|
||||
"COMING_SOON": "Coming soon",
|
||||
"TITLE": "当前账户模型",
|
||||
"DESCRIPTION": "为各项功能指定模型 ID;留在平台默认值即可跟随 Provider 默认模型。支持输入任意兼容模型 ID。",
|
||||
"MODEL_ID_PLACEHOLDER": "输入模型 ID",
|
||||
"APPLY": "应用",
|
||||
"EDITOR": {
|
||||
"TITLE": "Editor Features",
|
||||
"DESCRIPTION": "Powers smart compose, grammar corrections, tone adjustments, and content enhancement in your message editor."
|
||||
"TITLE": "编辑器改写",
|
||||
"DESCRIPTION": "用于智能撰写、语法修正、语气调整和内容润色。"
|
||||
},
|
||||
"ASSISTANT": {
|
||||
"TITLE": "助手",
|
||||
"DESCRIPTION": "Handles automated responses, conversation summaries, and intelligent reply suggestions for customer interactions."
|
||||
"DESCRIPTION": "用于 Assistant Playground、自动辅助和知识库回答。"
|
||||
},
|
||||
"COPILOT": {
|
||||
"TITLE": "Co-pilot",
|
||||
"DESCRIPTION": "Provides real-time contextual suggestions, knowledge base recommendations, and proactive insights during conversations."
|
||||
"TITLE": "Copilot 对话",
|
||||
"DESCRIPTION": "用于客服侧边栏问答、回复建议、摘要和翻译。"
|
||||
}
|
||||
},
|
||||
"FEATURES": {
|
||||
"TITLE": "特性",
|
||||
"DESCRIPTION": "Enable or disable AI-powered features.",
|
||||
"AUDIO_TRANSCRIPTION": {
|
||||
"TITLE": "Audio Transcription",
|
||||
"DESCRIPTION": "Automatically convert voice messages and call recordings into searchable text transcripts."
|
||||
},
|
||||
"TITLE": "当前账户功能",
|
||||
"DESCRIPTION": "控制当前账户的具体 AI 能力;这些开关不会关闭系统级 Copilot。",
|
||||
"HELP_CENTER_SEARCH": {
|
||||
"TITLE": "Help Center Search Indexing",
|
||||
"DESCRIPTION": "Use AI for context aware search inside your help center articles."
|
||||
"TITLE": "知识库语义搜索",
|
||||
"DESCRIPTION": "使用平台 Embedding 模型对帮助中心文章执行语义搜索。"
|
||||
},
|
||||
"LABEL_SUGGESTION": {
|
||||
"TITLE": "Label Suggestion",
|
||||
"DESCRIPTION": "Automatically suggest relevant labels and tags for conversations based on content analysis and context.",
|
||||
"MODEL_TITLE": "Label Suggestion Model",
|
||||
"MODEL_DESCRIPTION": "Select the AI model to use for analyzing conversations and suggesting appropriate labels"
|
||||
"TITLE": "标签建议",
|
||||
"DESCRIPTION": "根据会话内容建议相关标签;是否自动应用由下方回复行为控制。",
|
||||
"MODEL_TITLE": "标签建议模型",
|
||||
"MODEL_DESCRIPTION": "可指定不同于账户默认值的兼容模型 ID。"
|
||||
}
|
||||
},
|
||||
"BEHAVIOR": {
|
||||
"TITLE": "回复行为",
|
||||
"DESCRIPTION": "设置当前账户的默认语气、语言、长度和自动化策略。Assistant 自身配置优先于这些默认值。",
|
||||
"TONE": "回复语气",
|
||||
"TONES": {
|
||||
"PROFESSIONAL": "专业",
|
||||
"FRIENDLY": "友好",
|
||||
"CASUAL": "轻松",
|
||||
"FORMAL": "正式"
|
||||
},
|
||||
"LANGUAGE": "回复语言",
|
||||
"LANGUAGE_PLACEHOLDER": "auto 或语言代码",
|
||||
"MAX_LENGTH": "最大回复长度",
|
||||
"CUSTOM_PROMPT": "附加指令",
|
||||
"CUSTOM_PROMPT_PLACEHOLDER": "例如:回复中优先给出可执行步骤。",
|
||||
"CUSTOM_PROMPT_HELP": "附加到当前账户的默认提示词,最多 1000 字。",
|
||||
"AUTO_LABEL": "自动应用标签",
|
||||
"AUTO_LABEL_HELP": "自动应用标签建议结果。",
|
||||
"AUTO_FOLLOW_UP": "自动创建跟进",
|
||||
"AUTO_FOLLOW_UP_HELP": "根据 AI 建议创建跟进任务。",
|
||||
"AUTO_REPLY": "自动回复客户",
|
||||
"AUTO_REPLY_HELP": "高风险能力;启用前请确认 Assistant 与 Inbox 已正确绑定。",
|
||||
"AUTO_REPLY_CONFIRM": "自动回复会直接向客户发送 AI 内容。请确认 Assistant、知识库、Guardrails 和 Inbox 绑定均已配置,仍要启用吗?",
|
||||
"SAVE": "保存回复行为",
|
||||
"SAVING": "保存中..."
|
||||
},
|
||||
"API": {
|
||||
"SUCCESS": "Captain settings updated successfully.",
|
||||
"ERROR": "Failed to update Captain settings. Please try again."
|
||||
"ACCOUNT_SUCCESS": "账户 Copilot 配置已更新。",
|
||||
"PROVIDER_SUCCESS": "平台 Provider 配置已保存并立即生效。",
|
||||
"TEST_SUCCESS": "Chat 与 Embedding 连接测试通过。",
|
||||
"TEST_ERROR": "连接测试已完成,但至少有一项失败。",
|
||||
"REINDEX_STARTED": "知识库 Embedding 重建已开始。",
|
||||
"REINDEX_COMPLETE": "知识库 Embedding 重建已完成。",
|
||||
"ERROR": "Copilot 配置更新失败,请重试。"
|
||||
}
|
||||
},
|
||||
"BILLING_SETTINGS": {
|
||||
|
||||
Reference in New Issue
Block a user