初始化

This commit is contained in:
2026-02-22 18:56:10 +08:00
commit 26677972a6
3112 changed files with 255972 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
# locale
每个app使用的国际化可能不同这里用于扩展国际化的功能例如扩展 dayjs、antd组件库的多语言切换以及app本身的国际化文件。

View File

@@ -0,0 +1,102 @@
import type { Language } from 'element-plus/es/locale';
import type { App } from 'vue';
import type { LocaleSetupOptions, SupportedLanguagesType } from '@easyflow/locales';
import { ref } from 'vue';
import {
$t,
setupI18n as coreSetup,
loadLocalesMapFromDir,
} from '@easyflow/locales';
import { preferences } from '@easyflow/preferences';
import dayjs from 'dayjs';
import enLocale from 'element-plus/es/locale/lang/en';
import defaultLocale from 'element-plus/es/locale/lang/zh-cn';
const elementLocale = ref<Language>(defaultLocale);
const modules = import.meta.glob('./langs/**/*.json');
const localesMap = loadLocalesMapFromDir(
/\.\/langs\/([^/]+)\/(.*)\.json$/,
modules,
);
/**
* 加载应用特有的语言包
* 这里也可以改造为从服务端获取翻译数据
* @param lang
*/
async function loadMessages(lang: SupportedLanguagesType) {
const [appLocaleMessages] = await Promise.all([
localesMap[lang]?.(),
loadThirdPartyMessage(lang),
]);
return appLocaleMessages?.default;
}
/**
* 加载第三方组件库的语言包
* @param lang
*/
async function loadThirdPartyMessage(lang: SupportedLanguagesType) {
await Promise.all([loadElementLocale(lang), loadDayjsLocale(lang)]);
}
/**
* 加载dayjs的语言包
* @param lang
*/
async function loadDayjsLocale(lang: SupportedLanguagesType) {
let locale;
switch (lang) {
case 'en-US': {
locale = await import('dayjs/locale/en');
break;
}
case 'zh-CN': {
locale = await import('dayjs/locale/zh-cn');
break;
}
// 默认使用英语
default: {
locale = await import('dayjs/locale/en');
}
}
if (locale) {
dayjs.locale(locale);
} else {
console.error(`Failed to load dayjs locale for ${lang}`);
}
}
/**
* 加载element-plus的语言包
* @param lang
*/
async function loadElementLocale(lang: SupportedLanguagesType) {
switch (lang) {
case 'en-US': {
elementLocale.value = enLocale;
break;
}
case 'zh-CN': {
elementLocale.value = defaultLocale;
break;
}
}
}
async function setupI18n(app: App, options: LocaleSetupOptions = {}) {
await coreSetup(app, {
defaultLocale: preferences.app.locale,
loadMessages,
missingWarn: !import.meta.env.PROD,
...options,
});
}
export { $t, elementLocale, setupI18n };

View File

@@ -0,0 +1,79 @@
{
"id": "Id",
"alias": "Alias",
"deptId": "DeptId",
"tenantId": "TenantId",
"icon": "Icon",
"title": "Title",
"description": "Description",
"slug": "Slug",
"vectorStoreEnable": "VectorStoreEnable",
"vectorStoreType": "VectorStoreType",
"vectorStoreCollection": "VectorStoreCollection",
"vectorStoreConfig": "VectorStoreConfig",
"vectorEmbedLlmId": "VectorEmbedLlm",
"created": "Created",
"createdBy": "CreatedBy",
"modified": "Modified",
"modifiedBy": "ModifiedBy",
"options": "Options",
"rerankLlmId": "RerankLlm",
"searchEngineEnable": "SearchEngineEnable",
"englishName": "EnglishName",
"documentType": "DocumentType",
"fileName": "fileName",
"knowledgeCount": "Number of knowledge items",
"createdModifyTime": "Creation/update time",
"documentList": "documentList",
"knowledgeRetrieval": "knowledgeRetrieval",
"sorting": "Sorting",
"content": "Content",
"placeholder": {
"title": "Please input title",
"description": "Please provide a description so that the large model can better understand the knowledge base and make calls",
"englishName": "Please enter an English name",
"alias": "Please enter an alias, Chinese is not allowed",
"embedLlm": "Please choose a vector model",
"rerankLlm": "Please choose to rearrange the model",
"vectorStoreCollection": "Can only contain letters, numbers, and underscores with a length between 3-20 characters",
"vectorStoreType": "Please select the vector database type"
},
"importDoc": {
"fileUpload": "File upload",
"parameterSettings": "ParameterSettings",
"segmentedPreview": "SegmentedPreview",
"confirmImport": "ConfirmImport",
"fileName": "File Name",
"progressUpload": "Progress of file upload",
"fileSize": "File size"
},
"splitterDoc": {
"fileType": "FileType",
"splitterName": "Segmenter",
"chunkSize": "SegmentLength",
"overlapSize": "SegmentOverlap",
"regex": "RegularExpression",
"document": "Document",
"simpleDocumentSplitter": "SimpleDocumentSplitter",
"simpleTokenizeSplitter": "SimpleTokenizeSplitter",
"regexDocumentSplitter": "RegexDocumentSplitter",
"uploadStatus": "UploadStatus",
"pendingUpload": "PendingUpload",
"completed": "Completed",
"uploading": "Parsing in progress",
"importSuccess": "ImportSuccess"
},
"documentManagement": "Document management",
"actions": {
"knowledge": "Knowledge",
"retrieve": "Retrieve",
"addKnowledge": "AddKnowledge",
"confirmImport": "ConfirmImport",
"cancelImport": "CancelImport"
},
"searchResults": "SearchResults",
"documentPreview": "DocumentPreview",
"total": "Total",
"segments": "Segments",
"similarityScore": "SimilarityScore"
}

View File

@@ -0,0 +1,26 @@
{
"id": "Id",
"pluginId": "PluginId",
"name": "Tool name",
"description": "Description",
"basePath": "BasePath",
"created": "Created",
"status": "Status",
"inputData": "InputData",
"outputData": "OutputData",
"requestMethod": "RequestMethod",
"serviceStatus": "ServiceStatus",
"debugStatus": "DebugStatus",
"englishName": "EnglishName",
"createPluginTool": "Create tool",
"pluginToolEdit": {
"basicInfo": "Basic Info",
"configureInputParameters": "Configure input parameters",
"configureOutputParameters": "Configure output parameters",
"trialRun": "Trial run",
"toolPath": "Tool path",
"requestMethod": "RequestMethod",
"runResult": "Run result",
"run": "run"
}
}

View File

@@ -0,0 +1,19 @@
{
"id": "Id",
"deptId": "DeptId",
"tenantId": "TenantId",
"resourceType": "ResourceType",
"resourceName": "ResourceName",
"suffix": "Suffix",
"resourceUrl": "ResourceUrl",
"origin": "Origin",
"status": "Status",
"created": "Created",
"createdBy": "CreatedBy",
"modified": "Modified",
"modifiedBy": "ModifiedBy",
"options": "Options",
"isDeleted": "IsDeleted",
"fileSize": "FileSize",
"choose": "Choose"
}

View File

@@ -0,0 +1,22 @@
{
"id": "Id",
"alias": "Alias",
"deptId": "DeptId",
"tenantId": "TenantId",
"title": "Title",
"description": "Description",
"icon": "Icon",
"content": "Content",
"created": "Created",
"createdBy": "CreatedBy",
"modified": "Modified",
"modifiedBy": "ModifiedBy",
"englishName": "EnglishName",
"status": "Status",
"categoryId": "Category",
"params": "Params",
"steps": "Steps",
"result": "Result",
"confirm": "For contents to be confirmed, please confirm first!",
"completed": "Chain has been completed, please start a new one."
}

View File

@@ -0,0 +1,10 @@
{
"id": "Id",
"categoryName": "CategoryName",
"sortNo": "SortNo",
"created": "Created",
"createdBy": "CreatedBy",
"modified": "Modified",
"modifiedBy": "ModifiedBy",
"status": "Status"
}

View File

@@ -0,0 +1,25 @@
{
"id": "Id",
"execKey": "ExecKey",
"workflowId": "WorkflowId",
"title": "Title",
"description": "Description",
"input": "Input",
"output": "Output",
"workflowJson": "WorkflowJson",
"startTime": "StartTime",
"endTime": "EndTime",
"tokens": "Tokens",
"status": "Status",
"createdKey": "CreatedKey",
"createdBy": "CreatedBy",
"errorInfo": "ErrorInfo",
"moduleName": "ExecuteRecords",
"execTime": "TimeConsuming",
"status1": "Running",
"status5": "Suspend",
"status10": "Error",
"status20": "Success",
"status21": "Failed",
"status22": "Cancel"
}

View File

@@ -0,0 +1,22 @@
{
"id": "Id",
"recordId": "RecordId",
"execKey": "ExecKey",
"nodeId": "NodeId",
"nodeName": "NodeName",
"input": "Input",
"output": "Output",
"nodeData": "NodeData",
"startTime": "StartTime",
"endTime": "EndTime",
"tokens": "Tokens",
"status": "Status",
"errorInfo": "ErrorInfo",
"moduleName": "Steps",
"execTime": "TimeConsuming",
"status1": "Running",
"status6": "Suspend",
"status10": "Error",
"status20": "Success",
"status21": "Failed"
}

View File

@@ -0,0 +1,3 @@
{
"problemPresupposition": "ProblemPresupposition"
}

View File

@@ -0,0 +1,38 @@
{
"query": "Query",
"reset": "Reset",
"add": "Add",
"edit": "Edit",
"delete": "Delete",
"export": "Export",
"import": "Import",
"save": "Save",
"cancel": "Cancel",
"confirm": "Confirm",
"addLlm": "New large model added",
"oneClickAdd": "One-click add",
"newConversation": "New Conversation",
"start": "Start",
"stop": "Stop",
"log": "Log",
"back": "Back",
"importFile": "ImportFile",
"view": "View",
"download": "Download",
"upload": "Upload",
"preview": "Preview",
"nextStep": "NextStep",
"previousStep": "PreviousStep",
"addLine": "AddRecord",
"batchImport": "BatchImport",
"startImport": "StartImport",
"design": "Design",
"run": "Run",
"runTest": "RunTest",
"copy": "Copy",
"selectAll": "Select All",
"choose": "Select",
"setting": "Setting",
"create": "Create",
"update": "Update"
}

View File

@@ -0,0 +1,9 @@
{
"handle": "Operate",
"searchPlaceholder": "Please enter search content",
"allCategories": "All",
"history": "History",
"noDataAvailable": "No data available",
"isRequired": " is required",
"avatar": "Avatar"
}

View File

@@ -0,0 +1,33 @@
{
"title": "DataCenter",
"id": "Id",
"deptId": "DeptId",
"tenantId": "TenantId",
"tableName": "TableName",
"tableDesc": "TableDesc",
"actualTable": "ActualTable",
"status": "Status",
"created": "Created",
"createdBy": "CreatedBy",
"modified": "Modified",
"modifiedBy": "ModifiedBy",
"options": "Options",
"fields": "Fields",
"fieldName": "FiledName",
"fieldDesc": "Description",
"fieldType": "Type",
"required": "Required",
"noFieldError": "At least one field is required",
"fieldInfoError": "Field info is not completed",
"nameRegx": "It can only contain lowercase letters, numbers, and underscores, and must start with a lowercase letter",
"structure": "TableStructure",
"data": "Data",
"uploadTitle": "Click to upload",
"uploadDesc": "Choose an excel file to upload, file size limit 10MB.",
"downloadTemplate": "Download template",
"importComplete": "Import is completed",
"totalNum": "Total Count",
"successNum": "Success Count",
"failNum": "Fail Count",
"failList": "Fail List"
}

View File

@@ -0,0 +1,13 @@
{
"id": "Id",
"tableId": "TableId",
"fieldName": "FieldName",
"fieldDesc": "FieldDesc",
"fieldType": "FieldType",
"required": "Required",
"created": "Created",
"createdBy": "CreatedBy",
"modified": "Modified",
"modifiedBy": "ModifiedBy",
"options": "Options"
}

View File

@@ -0,0 +1,14 @@
{
"title": "Demos",
"elementPlus": "Element Plus",
"form": "Form",
"easyflow": {
"title": "Project",
"about": "About",
"document": "Document",
"antdv": "Ant Design Vue Version",
"naive-ui": "Naive UI Version",
"element-plus": "Element Plus Version",
"tdesign": "TDesign Vue Version"
}
}

View File

@@ -0,0 +1,4 @@
{
"placeholder": "Please select",
"getError": "Get Data Error!"
}

View File

@@ -0,0 +1,64 @@
{
"filed":
{
"id": "Id",
"deptId": "DeptId",
"tenantId": "TenantId",
"title": "Title",
"brand": "Brand",
"icon": "Icon",
"description": "Description",
"supportChat": "SupportChat",
"supportFunctionCalling": "SupportFunctionCalling",
"supportEmbed": "SupportEmbed",
"supportReranker": "SupportReranker",
"supportTextToImage": "SupportTextToImage",
"supportImageToImage": "SupportImageToImage",
"supportTextToAudio": "SupportTextToAudio",
"supportAudioToAudio": "SupportAudioToAudio",
"supportTextToVideo": "SupportTextToVideo",
"supportImageToVideo": "SupportImageToVideo",
"multimodal": "multimodal",
"llmEndpoint": "LlmEndpoint",
"chatPath": "ChatPath",
"embedPath": "embedPath",
"llmModel": "LlmModel",
"llmApiKey": "apiKey",
"llmExtraConfig": "LlmExtraConfig",
"options": "Options",
"ability": "Ability"
}
,
"llmModal": {
"TitleRequired": "Please enter the name",
"BrandRequired": "Please enter the brand",
"ModelRequired": "Please enter the model",
"ApiKeyRequired": "Please enter the apiKey",
"QuickAddLlm": "One-click addition of large models"
},
"placeholder": {
"title": "Please enter the title",
"brand": "Please enter the brand",
"llmModel": "Please enter the llmModel",
"description": "Please enter the description"
},
"actions": {
"verifyConfiguration": "Verify Configuration"
},
"message": {
"verifySuccess": "Verification successful"
},
"addProvider": "Add Provider",
"modelType": "ModelType",
"llmModel": "ModelName",
"title": "name",
"groupName": "GroupName",
"provider": "供应商",
"ability": "ModelAbility",
"modelAbility": {
"reasoning": "reasoning",
"tool": "Tool",
"embedding": "Embedding",
"rerank": "Rerank"
}
}

View File

@@ -0,0 +1,11 @@
{
"providerName": "ProviderName",
"provider": "Provider",
"icon": "Icon",
"apiKey": "ApiKey",
"endPoint": "APIAddress",
"embedPath": "embedPath",
"chatPath": "chatPath",
"embeddingModel": "embeddingModel",
"chatModel": "chatModel"
}

View File

@@ -0,0 +1,28 @@
{
"system": {
"title": "System",
"sysAccount": "Account",
"sysRole": "Role",
"sysMenu": "Menu",
"sysDept": "Department",
"sysPosition": "Position",
"sysDict": "Dictionary",
"sysJob": "Job",
"sysLog": "Log"
},
"ai": {
"bots": "ChatAssistant",
"title": "AI",
"resources": "Resources",
"datacenter": "Datacenter",
"workflow": "Workflow",
"plugin": "Plugin",
"llm": "LLM",
"knowledge": "Knowledge"
},
"settings": {
"title": "SettingsConfiguration",
"settingsConfig": "SettingsConfig",
"apiKey": "API Key"
}
}

View File

@@ -0,0 +1,28 @@
{
"deleteAlert": "Do you want to delete this item?",
"noticeTitle": "Notice",
"ok": "Yes",
"cancel": "No",
"required": "Item is required",
"saveOkMessage": "Saved successfully",
"saveFailMessage": "Save failed",
"deleteOkMessage": "Deleted successfully",
"deleteFailMessage": "Delete failed",
"loading": "Loading...",
"getDataError": "Get data error",
"updateOkMessage": "Updated successfully",
"startAlert": "Are you sure to start?",
"stopAlert": "Are you sure to stop?",
"preview": "Preview",
"notEmpty": "Can not be empty",
"success": "Success",
"fail": "Fail",
"pleaseInputContent": "Please input content",
"notSupported": "Not supported yet",
"englishNameRule": "Rural subsistence allowance please enter characters consisting of letters, numbers, underscores, and hyphens, with a length not exceeding 64 characters",
"downloadSuccess": "Download success",
"downloadFail": "Download fail",
"copySuccess": "Copy success",
"copyFail": "Copy fail",
"clickOrDrop": "Click or drag and drop files here to upload"
}

View File

@@ -0,0 +1,15 @@
{
"auth": {
"login": "Login",
"register": "Register",
"codeLogin": "Code Login",
"qrcodeLogin": "Qr Code Login",
"forgetPassword": "Forget Password",
"profile": "Profile"
},
"dashboard": {
"title": "Dashboard",
"analytics": "Analytics",
"workspace": "Workspace"
}
}

View File

@@ -0,0 +1,31 @@
{
"pluginCategory": "Plugin category",
"id": "Id",
"alias": "Alias",
"name": "Name",
"description": "Description",
"type": "Type",
"baseUrl": "BaseUrl",
"authType": "AuthType",
"created": "Created",
"icon": "Icon",
"position": "Position",
"headers": "Headers",
"tokenKey": "TokenKey",
"tokenValue": "TokenValue",
"deptId": "DeptId",
"tenantId": "TenantId",
"createdBy": "CreatedBy",
"category": "Category",
"placeholder": {
"name": "Please enter plugin name",
"description": "Please enter plugin description",
"categorize": "Please enter categorize"
},
"button": {
"addPlugin": "Add Plugin",
"categorize": "categorize",
"tools": "tools"
},
"toolsManagement": "Tools Management"
}

View File

@@ -0,0 +1,8 @@
{
"title": "Large Model Configuration",
"modelOfChat": "Chat Model Provider",
"dialogModel": "Chat Model Settings",
"modelName": "Model Name",
"basic": "BasicInformation",
"updatePwd": "UpdatePassword"
}

View File

@@ -0,0 +1,27 @@
{
"id": "Id",
"deptId": "Dept",
"tenantId": "TenantId",
"loginName": "LoginName",
"password": "Password",
"accountType": "AccountType",
"nickname": "Nickname",
"mobile": "Mobile",
"email": "Email",
"avatar": "Avatar",
"dataScope": "DataScope",
"deptIdList": "DeptIdList",
"status": "Status",
"created": "Created",
"createdBy": "CreatedBy",
"modified": "Modified",
"modifiedBy": "ModifiedBy",
"remark": "Remark",
"isDeleted": "IsDeleted",
"roleIds": "Role",
"oldPwd": "OldPassword",
"newPwd": "NewPassword",
"confirmPwd": "ConfirmPassword",
"repeatPwd": "Please confirm your password again",
"notSamePwd": "The two passwords are inconsistent"
}

View File

@@ -0,0 +1,18 @@
{
"id": "Id",
"apiKey": "ApiKey",
"created": "Created",
"status": "Status",
"deptId": "DeptId",
"tenantId": "TenantId",
"expiredAt": "ExpiredAt",
"createdBy": "CreatedBy",
"addApiKey": "addApiKey",
"actions": {
"enable": "Enable",
"disable": "NotDisable",
"failure": "Failure"
},
"permissions": "AuthInterface",
"addApiKeyNotice": "This operation will generate an API key. Please confirm whether to proceed"
}

View File

@@ -0,0 +1,6 @@
{
"id": "Id",
"requestInterface": "RequestInterface",
"title": "Title",
"addPermission": "AddRequestInterface"
}

View File

@@ -0,0 +1,17 @@
{
"root": "Root",
"id": "Id",
"tenantId": "TenantId",
"parentId": "Parent",
"ancestors": "Ancestors",
"deptName": "DeptName",
"deptCode": "DeptCode",
"sortNo": "SortNo",
"status": "Status",
"created": "Created",
"createdBy": "CreatedBy",
"modified": "Modified",
"modifiedBy": "ModifiedBy",
"remark": "Remark",
"isDeleted": "IsDeleted"
}

View File

@@ -0,0 +1,12 @@
{
"id": "Id",
"name": "Name",
"code": "Code",
"description": "Description",
"dictType": "DictType",
"sortNo": "SortNo",
"status": "Status",
"options": "Options",
"created": "Created",
"modified": "Modified"
}

View File

@@ -0,0 +1,23 @@
{
"id": "Id",
"deptId": "DeptId",
"tenantId": "TenantId",
"jobName": "JobName",
"jobType": "JobType",
"jobParams": "JobParams",
"cronExpression": "CronExpression",
"allowConcurrent": "AllowConcurrent",
"misfirePolicy": "MisfirePolicy",
"options": "Options",
"status": "Status",
"created": "Created",
"createdBy": "CreatedBy",
"modified": "Modified",
"modifiedBy": "ModifiedBy",
"remark": "Remark",
"isDeleted": "IsDeleted",
"workflow": "Workflow",
"beanMethod": "BeanMethod",
"javaMethod": "JavaMethod",
"example": "example"
}

View File

@@ -0,0 +1,14 @@
{
"title": "JobLog",
"id": "Id",
"jobId": "JobId",
"jobName": "JobName",
"jobParams": "JobParams",
"jobResult": "JobResult",
"errorInfo": "ErrorInfo",
"status": "Status",
"startTime": "StartTime",
"endTime": "EndTime",
"created": "Created",
"remark": "Remark"
}

View File

@@ -0,0 +1,14 @@
{
"id": "Id",
"accountId": "AccountId",
"actionName": "ActionName",
"actionType": "ActionType",
"actionClass": "ActionClass",
"actionMethod": "ActionMethod",
"actionUrl": "ActionUrl",
"actionIp": "ActionIp",
"actionParams": "ActionParams",
"actionBody": "ActionBody",
"status": "Status",
"created": "Created"
}

View File

@@ -0,0 +1,20 @@
{
"root":"Top",
"id": "Id",
"parentId": "Parent",
"menuType": "MenuType",
"menuTitle": "MenuTitle",
"menuUrl": "MenuUrl",
"component": "Component",
"menuIcon": "MenuIcon",
"isShow": "IsShow",
"permissionTag": "PermissionTag",
"sortNo": "SortNo",
"status": "Status",
"created": "Created",
"createdBy": "CreatedBy",
"modified": "Modified",
"modifiedBy": "ModifiedBy",
"remark": "Remark",
"isDeleted": "IsDeleted"
}

View File

@@ -0,0 +1,15 @@
{
"id": "Id",
"tenantId": "TenantId",
"deptId": "Dept",
"positionName": "PositionName",
"positionCode": "PositionCode",
"sortNo": "SortNo",
"status": "Status",
"created": "Created",
"createdBy": "CreatedBy",
"modified": "Modified",
"modifiedBy": "ModifiedBy",
"remark": "Remark",
"isDeleted": "IsDeleted"
}

View File

@@ -0,0 +1,17 @@
{
"id": "Id",
"tenantId": "TenantId",
"roleName": "RoleName",
"roleKey": "RoleKey",
"status": "Status",
"created": "Created",
"createdBy": "CreatedBy",
"modified": "Modified",
"modifiedBy": "ModifiedBy",
"remark": "Remark",
"isDeleted": "IsDeleted",
"menuPermission": "MenuPermission",
"dataPermission": "DataPermission",
"checkStrictlyTrue": "Linked",
"checkStrictlyFalse": "NotLinked"
}

View File

@@ -0,0 +1,79 @@
{
"id": "Id",
"alias": "别名",
"deptId": "部门ID",
"tenantId": "租户ID",
"icon": "ICON",
"title": "名称",
"description": "描述",
"slug": "URL 别名",
"vectorStoreEnable": "是否启用向量数据库",
"vectorStoreType": "向量数据库类型",
"vectorStoreCollection": "向量数据库集合",
"vectorStoreConfig": "向量数据库配置",
"vectorEmbedLlmId": "向量模型",
"created": "创建时间",
"createdBy": "创建用户ID",
"modified": "最后一次修改时间",
"modifiedBy": "最后一次修改用户ID",
"options": "其他配置",
"rerankLlmId": "重排模型",
"searchEngineEnable": "是否启用搜索引擎",
"englishName": "英文名称",
"documentType": "文件类型",
"fileName": "文件名",
"knowledgeCount": "知识条数",
"createdModifyTime": "创建/更新时间",
"documentList": "文档列表",
"knowledgeRetrieval": "知识检索",
"sorting": "排序",
"content": "内容",
"placeholder": {
"title": "请输入名称",
"description": "请输入描述,以便大模型更好的理解该知识库并且调用",
"englishName": "请输入英文名称",
"alias": "请输入别名,不允许含中文",
"embedLlm": "请选择向量模型",
"rerankLlm": "请选择重排模型",
"vectorStoreCollection": "只能包含字母、数字和下划线且长度在3-20个字符之间",
"vectorStoreType": "请选择向量数据库类型"
},
"importDoc": {
"fileUpload": "文件上传",
"parameterSettings": "参数设置",
"segmentedPreview": "分段预览",
"confirmImport": "确认导入",
"fileName": "文件名称",
"progressUpload": "文件上传进度",
"fileSize": "文件大小"
},
"splitterDoc": {
"fileType": "文件类型",
"splitterName": "分割器",
"chunkSize": "分段长度",
"overlapSize": "分段重叠",
"regex": "正则表达式",
"document": "文档",
"simpleDocumentSplitter": "简单文档分割器",
"simpleTokenizeSplitter": "简单分词器",
"regexDocumentSplitter": "正则文档分割器",
"uploadStatus": "上传状态",
"pendingUpload": "待上传",
"completed": "已完成",
"uploading": "解析中",
"importSuccess": "导入成功"
},
"documentManagement": "文档管理",
"actions": {
"knowledge": "知识",
"retrieve": "检索",
"addKnowledge": "新增知识库",
"confirmImport": "确认导入",
"cancelImport": "取消导入"
},
"searchResults": "检索结果",
"documentPreview": "文档预览",
"total": "共",
"segments": "个分段",
"similarityScore": "相似度"
}

View File

@@ -0,0 +1,26 @@
{
"id": "插件工具id",
"pluginId": "插件id",
"name": "工具名称",
"description": "工具描述",
"basePath": "基础路径",
"created": "创建时间",
"status": "是否启用",
"inputData": "输入参数",
"outputData": "输出参数",
"requestMethod": "请求方式【Post, Get, Put, Delete】",
"serviceStatus": "服务状态[0 下线 1 上线]",
"debugStatus": "调试状态【0失败 1成功】",
"englishName": "英文名称",
"createPluginTool": "创建工具",
"pluginToolEdit": {
"basicInfo": "基本信息",
"configureInputParameters": "配置输入参数",
"configureOutputParameters": "配置输出参数",
"trialRun": "试运行",
"toolPath": "工具路径",
"requestMethod": "请求方法",
"runResult": "运行结果",
"run": "运行"
}
}

View File

@@ -0,0 +1,19 @@
{
"id": "主键",
"deptId": "部门ID",
"tenantId": "租户ID",
"resourceType": "素材类型",
"resourceName": "素材名称",
"suffix": "后缀",
"resourceUrl": "素材地址",
"origin": "素材来源",
"status": "数据状态",
"created": "创建时间",
"createdBy": "创建者",
"modified": "修改时间",
"modifiedBy": "修改者",
"options": "扩展项",
"isDeleted": "删除标识",
"fileSize": "文件大小",
"choose": "选择素材"
}

View File

@@ -0,0 +1,22 @@
{
"id": "ID 主键",
"alias": "别名",
"deptId": "部门ID",
"tenantId": "租户ID",
"title": "名称",
"description": "描述",
"icon": "图标",
"content": "工作流设计的 JSON 内容",
"created": "创建时间",
"createdBy": "创建人",
"modified": "最后修改时间",
"modifiedBy": "最后修改的人",
"englishName": "英文名称",
"status": "数据状态",
"categoryId": "分类",
"params": "执行参数",
"steps": "执行步骤",
"result": "执行结果",
"confirm": "有待确认的内容,请先确认!",
"completed": "流程已执行完毕,请重新发起。"
}

View File

@@ -0,0 +1,10 @@
{
"id": "主键",
"categoryName": "分类名称",
"sortNo": "排序",
"created": "创建时间",
"createdBy": "创建者",
"modified": "修改时间",
"modifiedBy": "修改者",
"status": "数据状态"
}

View File

@@ -0,0 +1,25 @@
{
"id": "主键",
"execKey": "执行标识",
"workflowId": "工作流ID",
"title": "标题",
"description": "描述",
"input": "输入",
"output": "输出",
"workflowJson": "工作流执行时的配置",
"startTime": "开始时间",
"endTime": "结束时间",
"tokens": "消耗总token",
"status": "状态",
"createdKey": "执行人标识[有可能是用户|外部|定时任务等情况]",
"createdBy": "执行人",
"errorInfo": "错误信息",
"moduleName": "执行记录",
"execTime": "耗时",
"status1": "运行中",
"status5": "挂起",
"status10": "错误",
"status20": "成功",
"status21": "失败",
"status22": "取消"
}

View File

@@ -0,0 +1,22 @@
{
"id": "主键",
"recordId": "执行记录ID",
"execKey": "执行标识",
"nodeId": "节点ID",
"nodeName": "节点名称",
"input": "输入",
"output": "输出",
"nodeData": "节点信息",
"startTime": "开始时间",
"endTime": "结束时间",
"tokens": "消耗总token",
"status": "状态",
"errorInfo": "错误信息",
"moduleName": "步骤信息",
"execTime": "耗时",
"status1": "运行中",
"status6": "挂起",
"status10": "错误",
"status20": "成功",
"status21": "失败"
}

View File

@@ -0,0 +1,3 @@
{
"problemPresupposition": "问题预设"
}

View File

@@ -0,0 +1,38 @@
{
"query": "查询",
"reset": "重置",
"add": "添加",
"edit": "编辑",
"delete": "删除",
"export": "导出",
"import": "导入",
"save": "保存",
"cancel": "取消",
"confirm": "确认",
"addLlm": "新增大模型",
"oneClickAdd": "一键添加",
"newConversation": "新建会话",
"start": "启动",
"stop": "停止",
"log": "日志",
"back": "返回",
"importFile": "导入文件",
"view": "查看",
"download": "下载",
"upload": "上传",
"preview": "预览",
"nextStep": "下一步",
"previousStep": "上一步",
"addLine": "增加行",
"batchImport": "批量导入",
"startImport": "开始导入",
"design": "设计",
"run": "运行",
"runTest": "试运行",
"copy": "复制",
"selectAll": "全选",
"choose": "选择",
"setting": "设置",
"create": "创建",
"update": "更新"
}

View File

@@ -0,0 +1,9 @@
{
"handle": "操作",
"searchPlaceholder": "请输入搜索内容",
"allCategories": "全部",
"history": "历史记录",
"noDataAvailable": "暂无数据",
"isRequired": "不能为空",
"avatar": "头像"
}

View File

@@ -0,0 +1,33 @@
{
"title": "数据中枢",
"id": "主键",
"deptId": "部门ID",
"tenantId": "租户ID",
"tableName": "数据表名",
"tableDesc": "数据表描述",
"actualTable": "物理表名",
"status": "数据状态",
"created": "创建时间",
"createdBy": "创建者",
"modified": "修改时间",
"modifiedBy": "修改者",
"options": "扩展项",
"fields": "字段",
"fieldName": "字段名",
"fieldDesc": "字段描述",
"fieldType": "字段类型",
"required": "是否必填",
"noFieldError": "至少包含一个字段",
"fieldInfoError": "字段信息不完善",
"nameRegx": "只能包含小写字母、数字和下划线,且必须以小写字母开头",
"structure": "表结构",
"data": "数据",
"uploadTitle": "点击或将文件拖拽到这里上传",
"uploadDesc": "上传一份Excel文档文件大小限制10MB以内。",
"downloadTemplate": "下载模板",
"importComplete": "导入完成",
"totalNum": "总数",
"successNum": "成功数",
"failNum": "失败数",
"failList": "失败记录"
}

View File

@@ -0,0 +1,13 @@
{
"id": "主键",
"tableId": "数据表ID",
"fieldName": "字段名称",
"fieldDesc": "字段描述",
"fieldType": "字段类型",
"required": "是否必填",
"created": "创建时间",
"createdBy": "创建者",
"modified": "修改时间",
"modifiedBy": "修改者",
"options": "扩展项"
}

View File

@@ -0,0 +1,14 @@
{
"title": "演示",
"elementPlus": "Element Plus",
"form": "表单演示",
"easyflow": {
"title": "项目",
"about": "关于",
"document": "文档",
"antdv": "Ant Design Vue 版本",
"naive-ui": "Naive UI 版本",
"element-plus": "Element Plus 版本",
"tdesign": "TDesign Vue 版本"
}
}

View File

@@ -0,0 +1,4 @@
{
"placeholder": "请选择",
"getError": "获取字典数据失败"
}

View File

@@ -0,0 +1,61 @@
{
"filed":
{
"title": "标题",
"brand": "供应商",
"llmModel": "大模型名称",
"icon": "ICON",
"description": "描述",
"supportChat": "对话模型",
"supportFunctionCalling": "方法调用",
"supportEmbed": "向量化",
"supportReranker": "重排",
"supportTextToImage": "文生图",
"supportImageToImage": "图生图",
"supportTextToAudio": "文生音频",
"supportAudioToAudio": "音频转音频",
"supportTextToVideo": "文生视频",
"supportImageToVideo": "图生成视频",
"llmEndpoint": "请求地址",
"chatPath": "对话路径",
"embedPath": "向量化路径",
"multimodal": "多模态",
"llmApiKey": "apiKey",
"llmExtraConfig": "大模型其他属性配置",
"options": "其他配置内容",
"ability": "能力"
}
,
"llmModal": {
"TitleRequired": "请输入名称",
"BrandRequired": "请选择供应商",
"ModelRequired": "请输入大模型",
"ApiKeyRequired": "请输入apiKey",
"QuickAddLlm": "一键添加大模型"
},
"placeholder": {
"title": "请输入名称",
"brand": "请选择品牌",
"llmModel": "请输入大模型名称",
"description": "请输入描述"
},
"actions": {
"verifyConfiguration": "验证配置"
},
"message": {
"verifySuccess": "验证成功"
},
"addProvider": "添加供应商",
"modelType": "模型类型",
"llmModel": "模型名称",
"title": "名称",
"groupName": "分组名称",
"provider": "供应商",
"ability": "模型能力",
"modelAbility": {
"reasoning": "推理",
"tool": "工具",
"embedding": "嵌入",
"rerank": "重排"
}
}

View File

@@ -0,0 +1,11 @@
{
"providerName": "供应商名称",
"provider": "供应商",
"icon": "Icon",
"apiKey": "API 密钥",
"endPoint": "API 地址",
"embedPath": "向量地址",
"chatPath": "对话地址",
"embeddingModel": "向量模型",
"chatModel": "对话模型"
}

View File

@@ -0,0 +1,28 @@
{
"system": {
"title": "系统管理",
"sysAccount": "用户管理",
"sysRole": "角色管理",
"sysMenu": "菜单管理",
"sysDept": "部门管理",
"sysPosition": "岗位管理",
"sysDict": "字典管理",
"sysJob": "定时任务",
"sysLog": "日志管理"
},
"ai": {
"bots": "聊天助手",
"title": "AI能力",
"resources": "素材库",
"datacenter": "数据中枢",
"workflow": "工作流",
"plugin": "插件",
"llm": "大模型",
"knowledge": "知识库"
},
"settings": {
"title": "系统配置",
"settingsConfig": "系统设置",
"apiKey": "访问令牌"
}
}

View File

@@ -0,0 +1,28 @@
{
"deleteAlert": "确定删除吗?",
"noticeTitle": "提示",
"ok": "确定",
"cancel": "取消",
"required": "该项为必填项",
"saveOkMessage": "保存成功!",
"saveFailMessage": "保存失败!",
"deleteOkMessage": "删除成功!",
"deleteFailMessage": "删除失败!",
"loading": "加载中...",
"getDataError": "获取数据失败",
"updateOkMessage": "更新成功!",
"startAlert": "确定启动吗?",
"stopAlert": "确定停止吗?",
"preview": "预览",
"notEmpty": "不能为空",
"success": "成功",
"fail": "失败",
"pleaseInputContent": "请输入内容",
"notSupported": "暂不支持",
"englishNameRule": "请输入由字母、数字、下划线、连字符组成的字符且长度不超过64位",
"downloadSuccess": "下载成功",
"downloadFail": "下载失败",
"copySuccess": "复制成功",
"copyFail": "复制失败",
"clickOrDrop": "点击或将文件拖拽到这里上传"
}

View File

@@ -0,0 +1,15 @@
{
"auth": {
"login": "登录",
"register": "注册",
"codeLogin": "验证码登录",
"qrcodeLogin": "二维码登录",
"forgetPassword": "忘记密码",
"profile": "个人资料"
},
"dashboard": {
"title": "概览",
"analytics": "分析页",
"workspace": "工作台"
}
}

View File

@@ -0,0 +1,31 @@
{
"pluginCategory": "插件分类",
"id": "插件id",
"alias": "别名",
"name": "名称",
"description": "描述",
"type": "类型",
"baseUrl": "基础URL",
"authType": "认证方式",
"created": "创建时间",
"icon": "图标地址",
"position": "认证参数位置",
"headers": "请求头",
"tokenKey": "token键",
"tokenValue": "token值",
"deptId": "部门id",
"tenantId": "租户id",
"createdBy": "创建人",
"category": "分类",
"placeholder": {
"name": "请输入插件名称",
"description": "请输入插件描述",
"categorize": "请选择分类"
},
"button": {
"addPlugin": "新增插件",
"categorize": "归类",
"tools": "工具"
},
"toolsManagement": "工具管理"
}

View File

@@ -0,0 +1,8 @@
{
"title": "大模型配置",
"modelOfChat": "对话模型供应商",
"dialogModel" : "对话模型配置",
"modelName": "模型名称",
"basic": "基本设置",
"updatePwd": "修改密码"
}

View File

@@ -0,0 +1,27 @@
{
"id": "主键",
"deptId": "部门",
"tenantId": "租户ID",
"loginName": "登录账号",
"password": "密码",
"accountType": "账户类型",
"nickname": "昵称",
"mobile": "手机电话",
"email": "邮件",
"avatar": "账户头像",
"dataScope": "数据权限类型",
"deptIdList": "自定义部门权限",
"status": "数据状态",
"created": "创建时间",
"createdBy": "创建者",
"modified": "修改时间",
"modifiedBy": "修改者",
"remark": "备注",
"isDeleted": "删除标识",
"roleIds": "角色",
"oldPwd": "旧密码",
"newPwd": "新密码",
"confirmPwd": "确认密码",
"repeatPwd": "请再次输入密码",
"notSamePwd": "两次输入的密码不一致"
}

View File

@@ -0,0 +1,18 @@
{
"id": "id",
"apiKey": "apiKey",
"created": "创建时间",
"status": "数据状态",
"deptId": "部门id",
"tenantId": "租户id",
"expiredAt": "失效时间",
"createdBy": "创建人",
"addApiKey": "新增apiKey",
"actions": {
"enable": "启用",
"disable": "未启用",
"failure": "已失效"
},
"permissions": "授权接口",
"addApiKeyNotice": "该操作会生成一个apiKey,请确认是否生成"
}

View File

@@ -0,0 +1,6 @@
{
"id": "id",
"requestInterface": "请求接口",
"title": "标题",
"addPermission": "添加请求接口"
}

View File

@@ -0,0 +1,17 @@
{
"root": "根部门",
"id": "主键",
"tenantId": "租户ID",
"parentId": "父级",
"ancestors": "父级部门ID集合",
"deptName": "部门名称",
"deptCode": "部门编码",
"sortNo": "排序",
"status": "数据状态",
"created": "创建时间",
"createdBy": "创建者",
"modified": "修改时间",
"modifiedBy": "修改者",
"remark": "备注",
"isDeleted": "删除标识"
}

View File

@@ -0,0 +1,12 @@
{
"id": "主键",
"name": "数据字典名称",
"code": "字典编码",
"description": "字典描述或备注",
"dictType": "字典类型 1 自定义字典、2 数据表字典、 3 枚举类字典、 4 系统字典(自定义 DictLoader",
"sortNo": "排序编号",
"status": "是否启用",
"options": "扩展字典 存放 json",
"created": "创建时间",
"modified": "修改时间"
}

View File

@@ -0,0 +1,23 @@
{
"id": "主键",
"deptId": "部门ID",
"tenantId": "租户ID",
"jobName": "任务名称",
"jobType": "任务类型",
"jobParams": "任务参数",
"cronExpression": "cron表达式",
"allowConcurrent": "是否并发执行",
"misfirePolicy": "错过策略",
"options": "其他配置",
"status": "任务状态",
"created": "创建时间",
"createdBy": "创建者",
"modified": "修改时间",
"modifiedBy": "修改者",
"remark": "备注",
"isDeleted": "删除标识",
"workflow": "工作流",
"beanMethod": "bean方法",
"javaMethod": "java方法",
"example": "示例"
}

View File

@@ -0,0 +1,14 @@
{
"title": "任务日志",
"id": "主键",
"jobId": "任务ID",
"jobName": "任务名称",
"jobParams": "任务参数",
"jobResult": "执行结果",
"errorInfo": "错误信息",
"status": "执行状态",
"startTime": "开始时间",
"endTime": "结束时间",
"created": "创建时间",
"remark": "备注"
}

View File

@@ -0,0 +1,14 @@
{
"id": "ID",
"accountId": "操作人",
"actionName": "操作名称",
"actionType": "操作的类型",
"actionClass": "操作涉及的类",
"actionMethod": "操作涉及的方法",
"actionUrl": "操作涉及的 URL 地址",
"actionIp": "操作涉及的用户 IP 地址",
"actionParams": "操作请求参数",
"actionBody": "操作请求body",
"status": "操作状态 1 成功 9 失败",
"created": "操作时间"
}

View File

@@ -0,0 +1,20 @@
{
"root":"顶级",
"id": "主键",
"parentId": "父菜单",
"menuType": "菜单类型",
"menuTitle": "菜单标题",
"menuUrl": "菜单url",
"component": "组件路径",
"menuIcon": "图标",
"isShow": "是否显示",
"permissionTag": "权限标识",
"sortNo": "排序",
"status": "数据状态",
"created": "创建时间",
"createdBy": "创建者",
"modified": "修改时间",
"modifiedBy": "修改者",
"remark": "备注",
"isDeleted": "删除标识"
}

View File

@@ -0,0 +1,15 @@
{
"id": "主键",
"tenantId": "租户ID",
"deptId": "部门",
"positionName": "岗位名称",
"positionCode": "岗位编码",
"sortNo": "排序",
"status": "数据状态",
"created": "创建时间",
"createdBy": "创建者",
"modified": "修改时间",
"modifiedBy": "修改者",
"remark": "备注",
"isDeleted": "删除标识"
}

View File

@@ -0,0 +1,17 @@
{
"id": "主键",
"tenantId": "租户ID",
"roleName": "角色名称",
"roleKey": "角色标识",
"status": "数据状态",
"created": "创建时间",
"createdBy": "创建者",
"modified": "修改时间",
"modifiedBy": "修改者",
"remark": "备注",
"isDeleted": "删除标识",
"menuPermission": "菜单权限",
"dataPermission": "数据权限",
"checkStrictlyTrue": "联动",
"checkStrictlyFalse": "不联动"
}