Skip to content

Commit 0d84452

Browse files
feat: Application replaced with agent
1 parent 5f78814 commit 0d84452

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+260
-274
lines changed

ui/src/components/app-charts/components/BarCharts.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ watch(
128128
)
129129
130130
onMounted(() => {
131-
console.log(props.option.dataZoom)
132131
nextTick(() => {
133132
initChart()
134133
window.addEventListener('resize', changeChartSize)

ui/src/components/resource_mapping/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
collapse-tags-tooltip
5050
style="width: 220px"
5151
>
52-
<el-option label="应用" value="APPLICATION" />
53-
<el-option label="知识库" value="KNOWLEDGE" />
52+
<el-option :label="$t('views.application.title')" value="APPLICATION" />
53+
<el-option :label="$t('views.knowledge.title')" value="KNOWLEDGE" />
5454
</el-select>
5555
</div>
5656
</div>

ui/src/components/workflow-dropdown-menu/application/NodeContent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
</div>
5656
<div v-if="item.type" class="status-tag" style="margin-left: auto">
5757
<el-tag class="warning-tag" v-if="isWorkFlow(item.type)">
58-
{{ $t('views.application.workflow') }}
58+
{{ $t('views.application.senior') }}
5959
</el-tag>
6060
<el-tag class="blue-tag" v-else>
6161
{{ $t('views.application.simple') }}

ui/src/locales/lang/en-US/common.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ export default {
9797
rename: 'Rename',
9898
renameSuccess: 'Successful',
9999
EditAvatarDialog: {
100-
title: 'App Logo',
101100
customizeUpload: 'Custom Upload',
102101
upload: 'Upload',
103102
default: 'Default Logo',

ui/src/locales/lang/en-US/views/application-overview.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
export default {
22
title: 'Overview',
33
appInfo: {
4-
header: 'App Information',
54
publicAccessLink: 'Public URL',
65
openText: 'On',
76
closeText: 'Off',
@@ -44,7 +43,7 @@ export default {
4443
toSettingChatUser: 'Go to configure chat user',
4544
displayCodeRequired: 'Please enter the number of failed attempts',
4645
authenticationTooltip:
47-
'Enabling login authentication requires chat users to have authorization configured for both the app and its associated knowledge bases. Without proper authorization, users will not be able to log in or access knowledge base retrieval features.',
46+
'Enabling login authentication requires chat users to have authorization configured for both the agent and its associated knowledge bases. Without proper authorization, users will not be able to log in or access knowledge base retrieval features.',
4847
},
4948
SettingAPIKeyDialog: {
5049
allowCrossDomainLabel: 'Allow Cross-Domain Access',

ui/src/locales/lang/en-US/views/application.ts

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
export default {
2-
title: 'APP',
3-
createApplication: 'Create Simple APP',
4-
createWorkFlowApplication: 'Create Workflow APP',
5-
importApplication: 'Import APP',
6-
copyApplication: 'Copy APP',
2+
title: 'Agent',
3+
createApplication: 'Create Simple Agent',
4+
createWorkFlowApplication: 'Create Workflow Agent',
5+
importApplication: 'Import Agent',
6+
copyApplication: 'Copy Agent',
77
workflow: 'WORKFLOW',
88
simple: 'SIMPLE',
9+
senior: 'WORKFLOW',
10+
simpleAgent: 'SIMPLE',
911
simplePlaceholder: 'Suitable for beginners to create assistant using form settings',
1012
workflowPlaceholder:
1113
'Suitable for advanced users to build complex logic AI assistants using low-code drag-and-drop',
@@ -15,16 +17,16 @@ export default {
1517
toChat: 'Chat',
1618
},
1719
delete: {
18-
confirmTitle: 'Are you sure you want to delete this APP: ',
20+
confirmTitle: 'Are you sure you want to delete this agent: ',
1921
confirmMessage:
20-
'Deleting this APP will no longer provide its services. Please proceed with caution.',
21-
resourceCountMessage: 'This application is associated with {count} resources, and will be unavailable after deletion. Please proceed with caution.',
22+
'Deleting this agent will no longer provide its services. Please proceed with caution.',
23+
resourceCountMessage: 'This agent is associated with {count} resources, and will be unavailable after deletion. Please proceed with caution.',
2224
},
2325
tip: {
2426
publishSuccess: 'Published successfully',
2527
ExportError: 'Export Failed',
2628
professionalMessage:
27-
'The Community Edition supports up to 5 APP. If you need more APP, please upgrade to the Professional Edition.',
29+
'The Community Edition supports up to 5 agents. If you need more agents, please upgrade to the Professional Edition.',
2830
saveErrorMessage: 'Saving failed, please check your input or try again later',
2931
loadingErrorMessage: 'Failed to load configuration, please check your input or try again later',
3032
noDocPermission: 'No permission to create documents',
@@ -34,20 +36,20 @@ export default {
3436

3537
form: {
3638
appName: {
37-
placeholder: 'Please enter the APP name',
38-
requiredMessage: 'APP name is required',
39+
placeholder: 'Please enter the agent name',
40+
requiredMessage: 'Agent name is required',
3941
},
4042
appDescription: {
4143
placeholder:
42-
'Describe the APP scenario and use, e.g.: XXX assistant answering user questions about XXX product usage',
44+
'Describe the Agent scenario and use, e.g.: XXX assistant answering user questions about XXX product usage',
4345
},
4446
appType: {
4547
simplePlaceholder: 'Suitable for beginners to create assistant.',
4648
workflowPlaceholder: 'Suitable for advanced users to customize the workflow of assistant',
4749
},
4850
appTemplate: {
4951
blankApp: {
50-
title: 'Blank APP',
52+
title: 'Blank Agent',
5153
},
5254
assistantApp: {
5355
title: 'Knowledge Assistant',
@@ -165,17 +167,17 @@ export default {
165167
defaultPrompt2: 'tag',
166168
},
167169
applicationAccess: {
168-
title: 'APP Access',
170+
title: 'Third-Party Access',
169171
wecom: 'WeCom',
170-
wecomTip: 'Create WeCom intelligent APP',
172+
wecomTip: 'Create WeCom Agent',
171173
wecomBot: 'WeCom Bot',
172174
wecomBotTip: 'Create WeCom intelligent Bot',
173175
dingtalk: 'DingTalk',
174-
dingtalkTip: 'Create DingTalk intelligent APP',
176+
dingtalkTip: 'Create DingTalk Agent',
175177
wechat: 'WeChat',
176-
wechatTip: 'Create WeChat intelligent APP',
178+
wechatTip: 'Create WeChat Agent',
177179
lark: 'Lark',
178-
larkTip: 'Create Lark intelligent APP',
180+
larkTip: 'Create Lark Agent',
179181
setting: 'Setting',
180182
callback: 'Callback Address',
181183
callbackTip: 'Please fill in the callback address',
@@ -184,7 +186,7 @@ export default {
184186
dingtalkPlatform: 'DingTalk Open Platform',
185187
larkPlatform: 'Lark Open Platform',
186188
slack: 'Slack',
187-
slackTip: 'Create Slack intelligent APP',
189+
slackTip: 'Create Slack Agent',
188190
wecomSetting: {
189191
title: 'WeCom Configuration',
190192
cropId: 'Crop ID',

ui/src/locales/lang/en-US/views/chat-user.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ export default {
44
syncUsersTip: 'Only import newly added users',
55
setUserGroups: 'Configure User Groups',
66
knowledgeTitleTip:
7-
'This configuration will only take effect after enabling chat user login authentication in the associated application',
7+
'This configuration will only take effect after enabling chat user login authentication in the associated agent',
88
applicationTitleTip:
9-
'This configuration requires login authentication to be enabled in the application',
9+
'This configuration requires login authentication to be enabled in the agent',
1010
autoAuthorization: 'Auto Authorization',
1111
authorization: 'Authorization',
1212
batchDeleteUser: 'Delete selected {count} users?',

ui/src/locales/lang/en-US/views/knowledge.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
export default {
22
title: 'Knowledge',
3-
relatedApplications: 'Linked App',
3+
relatedApplications: 'Linked Agent',
44
document_count: 'docs',
5-
relatedApp_count: 'linked apps',
5+
relatedApp_count: 'linked agents',
66
setting: {
77
vectorization: 'Vectorization',
88
sync: 'Sync',
@@ -17,7 +17,7 @@ export default {
1717
delete: {
1818
confirmTitle: 'Confirm deletion of knowledge:',
1919
confirmMessage1: 'This knowledge is related with',
20-
confirmMessage2: 'APP. Deleting it will be irreversible, please proceed with caution.',
20+
confirmMessage2: 'agent. Deleting it will be irreversible, please proceed with caution.',
2121
resourceCountMessage: 'This knowledge is associated with {count} resources, and will be unavailable after deletion. Please proceed with caution.',
2222
},
2323
knowledgeType: {

ui/src/locales/lang/en-US/views/model.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,20 +58,20 @@ export default {
5858
model_type: {
5959
label: 'Model Type',
6060
placeholder: 'Select a model type',
61-
tooltip1: 'LLM: An inference model for AI chats in the APP.',
61+
tooltip1: 'LLM: An inference model for AI chats in the agent.',
6262
tooltip2: 'Embedding Model: A model for vectorizing document content in the knowledge.',
63-
tooltip3: 'Speech2Text: A model used for speech recognition in the APP.',
64-
tooltip4: 'TTS: A model used for TTS in the APP.',
63+
tooltip3: 'Speech2Text: A model used for speech recognition in the agent.',
64+
tooltip4: 'TTS: A model used for TTS in the agent.',
6565
tooltip5:
66-
'Rerank: A model used to reorder candidate segments when using multi-route recall in advanced orchestration APP.',
66+
'Rerank: A model used to reorder candidate segments when using multi-route recall in advanced orchestration agent.',
6767
tooltip6:
68-
'Vision Model: A visual model used for image understanding in advanced orchestration APP.',
68+
'Vision Model: A visual model used for image understanding in advanced orchestration agent.',
6969
tooltip7:
70-
'Image Generation: A visual model used for image generation in advanced orchestration APP.',
70+
'Image Generation: A visual model used for image generation in advanced orchestration agent.',
7171
tooltip8:
72-
'Text-to-Video: A visual model used for text-to-video in the APP.',
72+
'Text-to-Video: A visual model used for text-to-video in the agent.',
7373
tooltip9:
74-
'Image-to-Video: A visual model used for image-to-video in the APP.',
74+
'Image-to-Video: A visual model used for image-to-video in the agent.',
7575
requiredMessage: 'Model type cannot be empty',
7676
},
7777
base_model: {

ui/src/locales/lang/en-US/views/tool.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ export default {
3939
delete: {
4040
confirmTitle: 'Confirm deletion of tool:',
4141
confirmMessage:
42-
'Deleting this tool will cause errors in APP that reference it when they are queried. Please proceed with caution.',
42+
'Deleting this tool will cause errors in agent that reference it when they are queried. Please proceed with caution.',
4343
resourceCountMessage: 'This tool is associated with {count} resources, and will be unavailable after deletion. Please proceed with caution.',
4444
},
4545
disabled: {
4646
confirmTitle: 'Confirm disable tool:',
4747
confirmMessage:
48-
'Disabling this tool will cause errors in APP that reference it when they are queried. Please proceed with caution.',
48+
'Disabling this tool will cause errors in agent that reference it when they are queried. Please proceed with caution.',
4949
},
5050

5151
form: {

0 commit comments

Comments
 (0)