This commit is contained in:
zhangkai
2024-08-12 11:27:32 +08:00
parent 5199dbb6e5
commit e12f955105
166 changed files with 6288 additions and 991 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -1,25 +1 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/favicon.ico" />
<script src="/node_modules/ace-builds/src-min-noconflict/ace.js" type="text/javascript"></script>
<title>NPCs</title>
<script type="module" crossorigin src="/assets/index-583c10b3.js"></script>
<link rel="modulepreload" crossorigin href="/assets/acebuilds-fbc0ccc6.js">
<link rel="modulepreload" crossorigin href="/assets/reactflow-c250d835.js">
<link rel="modulepreload" crossorigin href="/assets/reactdrop-be699031.js">
<link rel="modulepreload" crossorigin href="/assets/pdfjs-36654f0a.js">
<link rel="stylesheet" href="/assets/index-1055532c.css">
</head>
<body id='body' style="width: 100%; height:100%">
<noscript>You need to enable JavaScript to run this app.</noscript>
<div style="width: 100vw; height:100vh" id='root'></div>
</body>
</html>
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"/><script src="/node_modules/ace-builds/src-min-noconflict/ace.js"></script><title>NPCs</title><script type="module" crossorigin src="/assets/index-b35a88c5.js"></script><link rel="modulepreload" crossorigin href="/assets/acebuilds-fbc0ccc6.js"><link rel="modulepreload" crossorigin href="/assets/reactflow-c250d835.js"><link rel="modulepreload" crossorigin href="/assets/reactdrop-be699031.js"><link rel="modulepreload" crossorigin href="/assets/pdfjs-36654f0a.js"><link rel="stylesheet" href="/assets/index-d15ff243.css"></head><body id="body" style="width:100%;height:100%"><noscript>You need to enable JavaScript to run this app.</noscript><div style="width:100vw;height:100vh" id="root"></div></body></html>

View File

@@ -21,25 +21,34 @@
"pleaseEnterCaptcha": "Please enter captcha"
},
"menu": {
"app": "App",
"skills": "Skills",
"app": "Chat",
"user": "User",
"github": "GitHub",
"bookopen": "Document",
"skills": "Build",
"knowledge": "Knowledge",
"evaluation": "Evaluation",
"models": "Models",
"system": "System",
"log": "Logs",
"themeSwitch": "Theme Switch",
"document": "Documentation",
"logout": "Logout",
"logoutDescription": "Log out",
"logoutContent": "Are you sure to log out",
"forBestExperience": "For the best experience, please access this website on a PC",
"onlineDocumentation": "Online Documentation"
"onlineDocumentation": "Online Documentation",
"changePwd": "Password"
},
"system": {
"userManagement": "User Management",
"roleManagement": "Role Management",
"userGroupsM": "UserGroup Management",
"systemConfiguration": "System Configuration",
"username": "Username",
"confirmDisable": "Confirm disabling this user?",
"roleSelect": "Select Role",
"roleSelect": "Select Roles",
"userGroupsSel": "Select UserGroups",
"roleList": "Role List",
"confirmText": "Are you sure you want to delete",
"roleName": "Role Name",
@@ -52,8 +61,41 @@
"roleNamePrompt": "Role name cannot exceed 50 characters",
"roleNameRequired": "Role name is required",
"roleNameExists": "Role name already exists",
"groupNameExists": "UserGroup name already exists",
"groupNamePrompt": "UserGroup name cannot exceed 30 characters",
"groupNameRequired": "UserGroup name is required",
"parameterConfig": "Parameter Configuration",
"language": "Language"
"language": "Language",
"assistantAuthorization": "Assistant Authorization",
"assistantName": "Assistant Name",
"userList": "User List",
"userGroupList": "UserGroup List",
"userGroup": "userGroup",
"role": "Role",
"searchUserGroups": "Search user groups",
"searchRoles": "Search roles",
"reset": "Reset",
"confirm": "Confirm",
"userGroupName": "Enter UserGroup Name",
"groupName": "UserGroup Name",
"admins": "Admin",
"flowControl": "Overall UserGroup Flow Control",
"AssistantFlowCtrl": "Assistant Flow Control",
"SkillFlowCtrl": "Skill Flow Control",
"createdBy": "CreatedBy",
"flowCtrlStrategy": "Flow control strategy",
"limit": "Limit",
"unlimited": "Unlimited",
"iconHover": "Simultaneously constrained by the overall traffic control strategy of the user group",
"maximum": "Up to",
"perMinute": "simultaneous online sessions",
"changeTime": "Modification Time",
"deleteGroup": "After deletion 【{{name}}】 will no longer exist, Do you want to delete it?",
"currentGroup": "Current UserGroup",
"defaultGroup": "DefaultGroup",
"resetPwd": "ResetPassword",
"selectGroup": "Please select a user group",
"selectRole": "Please select a role"
},
"skills": {
"manageTemplate": "Manage Skill Templates",
@@ -303,7 +345,40 @@
"knowledgeImg": "Knowledge Base Avatar",
"indexModel": "Index model",
"dataUp": "Single data upper limit",
"introduce": "Introduce"
"introduce": "Introduce",
"fileUploadResult": "Out of the {{total}} files uploaded, {{failed}} failed to upload.",
"modalTitle": "File Duplicate Prompt",
"modalMessage": "The following files already exist in the knowledge base. Continuing the upload will overwrite the original files and processing strategy. Do you want to proceed with overwrite?",
"keepOriginal": "Keep Original Files",
"override": "Override",
"toolName": "ToolName"
},
"evaluation": {
"id": "任务ID",
"filename": "测试文件名称",
"skillAssistant": "技能助手",
"status": "状态",
"score": "评测分数",
"createDate": "创建日期",
"download": "下载",
"confirmDeleteEvaluation": "确认删除该评测任务?",
"createTitle": "新建任务",
"selectLabel": "选择要评测的技能或者助手:",
"selectPlaceholder": "请选择",
"dataLabel": "测试集数据:",
"fileExpandName": "支持扩展名:",
"downloadTemplate": "下载模板文件",
"promptLabel": "评测指令文本:",
"enterExecType": "请选择要评测的技能或助手",
"enterUniqueId": "请选择技能或助手ID",
"enterVersion": "请选择技能的版本",
"enterFile": "请选择测试集数据",
"enterPrompt": "评测指令不能为空",
"fileSizeLimit": "文件大小限制在10M以内",
"evaluationCollection": "评测集合",
"tooltip": "该指令文本用于指导大模型对 ground truth 和 answer 提取要点,如无特别需求请勿修改",
"create": "创建",
"cancel": "取消"
},
"code": {
"editPythonCodeDescription": "Edit your Python code here. This code snippet accepts module imports and a function definition. Make sure your function returns a string.",
@@ -576,6 +651,41 @@
"result": "Test Result",
"outResultPlaceholder": "Click the button to output the result"
},
"resetPassword": {
"slogen": "Securely Reset Your Password",
"currentPassword": "Current Password",
"newPassword": "New Password",
"confirmNewPassword": "Confirm New Password",
"pleaseEnterCurrentPassword": "Please enter your current password.",
"pleaseEnterNewPassword": "Please enter your new password.",
"pleaseEnterConfirmPassword": "Please confirm your new password.",
"newPasswordTooShort": "New password must be at least 8 characters.",
"passwordMismatch": "The new passwords do not match.",
"resetButton": "Change Password",
"passwordResetSuccess": "Your password has been successfully reset.",
"adminResetSuccess": "Password has been successfully reset",
"resetFailed": "Pwd Reset Failed",
"notEmpty": "The new password cannot be empty"
},
"log": {
"auditManagement": "Audit Management",
"searchButton": "Search",
"resetButton": "Reset",
"auditId": "Audit ID",
"username": "Username",
"operationTime": "Operation Time",
"systemModule": "System Module",
"operationAction": "Operation Action",
"objectType": "Operation Object Type",
"operationObject": "Operation Object",
"ipAddress": "IP Address",
"remark": "Remark",
"selectUser": "Select User",
"selectUserGroup": "Select User Group",
"startDate": "Start Date",
"endDate": "End Date",
"actionBehavior": "Action Behavior"
},
"agents": {
"AgentInitializer":{
"display_name": "AgentInitializer",

View File

@@ -14,32 +14,42 @@
"pleaseEnterAccount": "请填写账号",
"pleaseEnterPassword": "请填写密码",
"accountTooShort": "账号过短",
"passwordTooShort": "请填写密码,至少6位",
"passwordTooShort": "请填写密码,至少7位",
"passwordError": "密码必须包含字母、数字!",
"passwordMismatch": "两次密码不一致",
"registrationSuccess": "注册成功,请输入密码进行登录"
},
"menu": {
"app": "聊天",
"user": "用户",
"bookopen": "帮助文档",
"github": "GitHub",
"app": "会 话",
"skills": "NPC",
"knowledge": "知识库",
"models": "模型",
"system": "账号",
"evaluation": "评 测",
"models": "模 型",
"system": "账 号",
"log": "审 计",
"themeSwitch": "主题切换",
"document": "文档",
"logout": "退出",
"logoutDescription": "退出登录",
"logoutContent": "确认退出登录吗",
"forBestExperience": "为了您的良好体验,请在 PC 端访问该网站",
"onlineDocumentation": "在线文档"
"onlineDocumentation": "在线文档",
"changePwd": "修改密码"
},
"system": {
"userManagement": "用户管理",
"userManagement": "用户管理",
"userGroupsM": "用户组管理",
"roleManagement": "角色管理",
"systemConfiguration": "系统配置",
"username": "用户名",
"confirmDisable": "确认禁用该用户?",
"roleSelect": "角色选择",
"userGroupsSel": "用户组选择",
"roleList": "角色列表",
"userGroupList": "用户组列表",
"confirmText": "是否删除",
"roleName": "角色名称",
"skillAuthorization": "能力授权",
@@ -49,10 +59,42 @@
"usePermission": "使用权限",
"managePermission": "管理权限",
"roleNamePrompt": "角色名称不能超过50字符",
"roleNameRequired": "角色名称不为空",
"roleNameRequired": "角色名称不为空",
"groupNameExists": "用户组名称不可重复",
"groupNamePrompt": "用户组名称不能超过30字符",
"groupNameRequired": "用户组名称不可为空",
"roleNameExists": "角色名称已存在",
"parameterConfig": "参数配置",
"language": "语言"
"language": "语言",
"assistantAuthorization": "NPC授权",
"assistantName": "NPC名称",
"userList": "用户列表",
"userGroup": "用户组",
"role": "角色",
"searchUserGroups": "搜索用户组",
"searchRoles": "搜索角色",
"reset": "重置",
"confirm": "确认",
"userGroupName": "输入用户组名称",
"groupName": "用户组名称",
"admins": "管理员",
"flowControl": "用户组整体流量控制",
"AssistantFlowCtrl": "NPC流量控制",
"SkillFlowCtrl": "能力流量控制",
"createdBy": "创建人",
"flowCtrlStrategy": "流量控制策略",
"limit": "有限制",
"unlimited": "无限制",
"iconHover": "同时受用户组整体流量控制策略约束",
"maximum": "最多",
"perMinute": "个同时在线会话",
"changeTime": "修改时间",
"deleteGroup": "删除后 【{{name}}】 将不再存在,是否删除?",
"currentGroup": "当前用户组",
"defaultGroup": "默认用户组",
"resetPwd": "重置密码",
"selectGroup": "请选择用户组",
"selectRole": "请选择角色"
},
"skills": {
"manageTemplate": "管理能力模板",
@@ -295,7 +337,41 @@
"knowledgeImg": "知识库头像",
"indexModel": "索引模型",
"dataUp": "单条数据上限",
"introduce": "介绍"
"introduce": "介绍",
"fileUploadResult": "共上传 {{total}} 份文件,有 {{failed}} 份文件上传失败",
"modalTitle": "文件重复提示",
"modalMessage": "以下文件在知识库中已存在,继续上传将会覆盖原有文件以及处理策略,是否覆盖?",
"keepOriginal": "不覆盖,保留原文件",
"override": "覆盖",
"toolName": "工具名称"
},
"evaluation": {
"id": "任务ID",
"filename": "测试文件名称",
"skillAssistant": "能力NPC",
"status": "状态",
"score": "评测分数",
"createDate": "创建日期",
"download": "下载",
"confirmDeleteEvaluation": "确认删除该评测任务?",
"createTitle": "新建任务",
"selectLabel": "选择要评测的能力或者NPC",
"selectPlaceholder": "请选择",
"selectInputPlaceholder": "请根据名称进行搜索",
"dataLabel": "测试集数据:",
"fileExpandName": "支持扩展名:",
"downloadTemplate": "下载模板文件",
"promptLabel": "评测指令文本:",
"enterExecType": "请选择要评测的能力或NPC",
"enterUniqueId": "请选择能力或NPCID",
"enterVersion": "请选择能力的版本",
"enterFile": "请选择测试集数据",
"enterPrompt": "评测指令不能为空",
"fileSizeLimit": "文件大小限制在10M以内",
"evaluationCollection": "评测集合",
"tooltip": "该指令文本用于指导大模型对 ground truth 和 answer 提取要点,如无特别需求请勿修改",
"create": "创建",
"cancel": "取消"
},
"code": {
"editPythonCodeDescription": "编辑你的 Python 代码此代码片段接受模块导入和一个函数定义。确保您的函数返回一个字符串。",
@@ -568,6 +644,41 @@
"result": "测试结果",
"outResultPlaceholder": "点击按钮,输出结果"
},
"resetPassword": {
"slogen": "安全地重置您的密码",
"currentPassword": "当前密码",
"newPassword": "新密码",
"confirmNewPassword": "确认新密码",
"pleaseEnterCurrentPassword": "请输入当前密码。",
"pleaseEnterNewPassword": "请输入新密码。",
"pleaseEnterConfirmPassword": "请确认新密码。",
"newPasswordTooShort": "新密码必须至少 7 个字符。",
"passwordMismatch": "新密码不匹配。",
"resetButton": "修改密码",
"passwordResetSuccess": "您的密码已成功修改",
"adminResetSuccess": "密码已重置",
"resetFailed": "密码重置失败",
"notEmpty": "新密码不能为空"
},
"log": {
"auditManagement": "审计管理",
"searchButton": "查询",
"resetButton": "重置",
"auditId": "审计ID",
"username": "用户名",
"operationTime": "操作时间",
"systemModule": "系统模块",
"operationAction": "操作行为",
"objectType": "操作对象类型",
"operationObject": "操作对象",
"ipAddress": "IP地址",
"remark": "备注",
"selectUser": "选择用户",
"selectUserGroup": "选择用户组",
"startDate": "开始日期",
"endDate": "结束日期",
"actionBehavior": "操作行为"
},
"agents": {
"AgentInitializer": {
"display_name": "AgentInitializer",