feat(web): add Ontology menu

This commit is contained in:
zhaoying
2026-01-29 17:13:19 +08:00
parent cca3900678
commit d1b4f2b6c2
16 changed files with 916 additions and 24 deletions

View File

@@ -112,7 +112,8 @@ export const en = {
pricing: 'Pricing Management',
orderPayment: 'Order Payment',
orderHistory: 'Order History',
spaceConfig: 'Space Configuration'
spaceConfig: 'Space Configuration',
ontology: 'Ontology Engineering',
},
dashboard: {
total_models: 'Available Models',
@@ -807,7 +808,8 @@ export const en = {
inactive: 'Inactive',
configurationName: 'Configuration Name',
emotionEngine: 'Emotion Engine',
reflectionEngine: 'Self-Reflection Engine'
reflectionEngine: 'Self-Reflection Engine',
scene_id: 'Ontology Scenario',
},
member: {
username: 'Username',
@@ -2355,6 +2357,34 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re
question: 'Lessons Learned',
summary: 'Core Insights',
none: 'None'
}
},
ontology: {
searchPlaceholder: 'Search scenarios',
create: 'Create Project',
edit: 'Edit Project',
scene_name: 'Scenario Name',
scene_description: 'Scenario Description',
descriptionPlaceholder: 'Describe the purpose of this scenario and the entity types to extract',
typeCount: 'types',
created_at: 'Created At',
updated_at: 'Updated At',
entityTypes: 'Entity Types',
addClass: 'Add Type',
class_name: 'Type Name',
class_description: 'Type Definition',
classDescriptionPlaceholder: 'Describe the meaning and purpose of this type',
llm_id: 'Select Model',
scenario: 'Scenario Description',
scenarioPlaceholder: 'Please describe your business requirements',
run: 'Inference',
loadingConfirm: 'Inferring',
extractConfirm: 'Add Selected Types',
classType: 'Project Type',
extract: 'Project Inference',
source: 'Not Added',
target: 'Added',
},
},
};

View File

@@ -111,7 +111,8 @@ export const zh = {
pricing: '收费管理',
orderPayment: '订单支付',
orderHistory: '订单记录',
spaceConfig: '空间配置'
spaceConfig: '空间配置',
ontology: '本体工程',
},
knowledgeBase: {
home: '首页',
@@ -1172,7 +1173,8 @@ export const zh = {
inactive: '不活跃',
configurationName: '配置名称',
emotionEngine: '情感引擎',
reflectionEngine: '反思引擎'
reflectionEngine: '反思引擎',
scene_id: '本体场景',
},
member: {
username: '用户名',
@@ -2449,6 +2451,34 @@ export const zh = {
question: '踩过的坑',
summary: '核心洞察',
none: '无'
},
ontology: {
searchPlaceholder: '搜索场景',
create: '新增工程',
edit: '编辑工程',
scene_name: '场景名称',
scene_description: '场景描述',
descriptionPlaceholder: '描述该场景的用途和提取的实体类型',
typeCount: '个类型',
created_at: '创建时间',
updated_at: '更新时间',
entityTypes: '实体类型',
addClass: '添加类型',
class_name: '类型名称',
class_description: '类型定义',
classDescriptionPlaceholder: '描述该类型的含义和用途',
llm_id: '选择模型',
scenario: '场景描述',
scenarioPlaceholder: '请描述您的业务需求',
run: '推理',
loadingConfirm: '推断中',
extractConfirm: '添加选中类型',
classType: '工程类型',
extract: '工程推理',
source: '未添加项',
target: '已添加项',
}
},
}