Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

feat(assistant): give each settings page its own starter questions (#4762)

lyingbug26fe2a08e9f6
diff --git a/frontend/src/components/EmbedInputField.test.ts b/frontend/src/components/EmbedInputField.test.ts
index 2257f7d0f..7a990e062 100644
--- a/frontend/src/components/EmbedInputField.test.ts
+++ b/frontend/src/components/EmbedInputField.test.ts
@@ -44,7 +44,10 @@ async function fixture(showFileUploadToggle = true) {
})
const app = renderer.createApp(exports.default, {
isReplying: false, showFileUploadToggle,
- onSendMsg: (...args: any[]) => sent.push(args),
+ onSendMsg: (...args: any[]) => {
+ sent.push(args)
+ args[3]?.()
+ },
})
app.component('t-textarea', defineComponent({ props: ['modelValue'], setup: (props, { attrs }) => () => h('textarea', { ...attrs, value: props.modelValue }) }))
app.component('t-icon', { render: () => null })
diff --git a/frontend/src/components/assistant/AssistantPanel.test.ts b/frontend/src/components/assistant/AssistantPanel.test.ts
index a7d5f1111..2691097bf 100644
--- a/frontend/src/components/assistant/AssistantPanel.test.ts
+++ b/frontend/src/components/assistant/AssistantPanel.test.ts
@@ -96,7 +96,7 @@ async function fixture(
})
const component = evaluate(panelScript, {
vue,
- 'vue-i18n': { useI18n: () => ({ t: (key: string) => key }) },
+ 'vue-i18n': { useI18n: () => ({ t: (key: string) => key, te: () => true }) },
'vue-router': { useRoute: () => route },
'tdesign-vue-next': {
MessagePlugin: { error: (message: string) => errors.push(message) },
@@ -204,12 +204,13 @@ test('welcome descriptions and questions change with pages and toolbox tabs with
['knowledgeBaseDetail', {}, 'knowledgeBase', ['knowledgeTopics', 'recentActivity', 'knowledgeGaps']],
['artifactLibrary', {}, 'artifacts', ['artifactRecent', 'artifactSources', 'artifactCreate']],
['agentList', {}, 'agents', ['agents', 'agentCreate', 'agentChoose']],
+ ['organizationList', {}, 'organizations', ['organizationShared', 'organizationJoin', 'organizationCreate']],
['automationList', {}, 'automation', ['automationIdeas', 'automationCreate', 'automationOverview']],
['automationList', { automationId: 'weekly' }, 'automation', ['automationSummary', 'automationSchedule', 'automationImprove']],
['toolbox', { section: 'skills' }, 'skills', ['skillFind', 'skillAdd', 'skillUse']],
['toolbox', { section: 'mcp' }, 'mcp', ['mcpFind', 'mcpSetup', 'mcpExamples']],
['toolbox', { section: 'browserconnection' }, 'browser', ['browserConnect', 'browserTasks', 'browserReconnect']],
- ['chat', {}, 'chat', ['chatSummary', 'chatOpenQuestions', 'chatTodos']],
+ ['chat', {}, 'chat', ['chatSummary', 'chatCheck', 'chatFollowup']],
]
for (const [name, params, intro, expected] of pages) {
f.route.name = name
@@ -249,11 +250,13 @@ test('open resources and dialogs have their own welcome content and return to pa
[{ knowledgeBaseId: 'kb', knowledgeId: 'document' }, 'welcomeDescriptions.document', ['documentSummary', 'documentSteps', 'documentFaq']],
[{ knowledgeBaseId: 'kb', section: 'faq' }, 'welcomeDescriptions.faq', ['faqCoverage', 'faqDuplicates', 'faqImprove']],
[{ knowledgeBaseId: 'kb' }, 'welcomeDescriptions.knowledgeBase', ['knowledgeTopics', 'recentActivity', 'knowledgeGaps']],
- [{ page: 'chat', chatSessionId: 'chat' }, 'welcomeDescriptions.chat', ['chatSummary', 'chatOpenQuestions', 'chatTodos']],
+ [{ page: 'chat', chatSessionId: 'chat' }, 'welcomeDescriptions.chat', ['chatSummary', 'chatCheck', 'chatFollowup']],
+ [{ page: 'settings', section: 'members' }, 'settingsPages.members.description', ['settingsPages.members.q1', 'settingsPages.members.q2', 'settingsPages.members.q3']],
+ [{ page: 'settings', section: 'integration-im' }, 'settingsPages.integration-im.description', ['settingsPages.integration-im.q1', 'settingsPages.integration-im.q2', 'settingsPages.integration-im.q3']],
[{ chatSessionId: 'chat', messageId: 'answer' }, 'welcomeDescriptions.message', ['messageSources', 'messageCheck', 'messageReuse']],
]
const questions = () => f.findAll(node => node.props.class === 'assistant-starter')
- .map(node => node.text?.replace('assistant.starters.', ''))
+ .map(node => node.text?.replace(/^assistant\.(starters\.)?/, ''))
const description = () => f.findAll(node => node.props.class === 'assistant-welcome-desc')[0]?.text
for (const [context, intro, expected] of cases) {
f.assistant.publishPageContext(owner, context)
@@ -275,6 +278,25 @@ test('open resources and dialogs have their own welcome content and return to pa
} finally { f.close() }
})
+test('each settings section has its own welcome questions', async () => {
+ const f = await fixture()
+ try {
+ f.assistant.open()
+ const owner = Symbol('settings')
+ const questions = () => f.findAll(node => node.props.class === 'assistant-starter')
+ .map(node => node.text?.replace(/^assistant\.(starters\.)?/, ''))
+ for (const section of ['general', 'members', 'sandbox', 'websearch', 'integration-api', 'runtime-queues', 'system-global-users']) {
+ f.assistant.publishPageContext(owner, { page: 'settings', section })
+ await flush()
+ assert.deepEqual(questions(), [
+ `settingsPages.${section}.q1`,
+ `settingsPages.${section}.q2`,
+ `settingsPages.${section}.q3`,
+ ], section)
+ }
+ } finally { f.close() }
+})
+
test('the current-version question starts one conversation only when selected', async () => {
const f = await fixture()
try {
diff --git a/frontend/src/components/assistant/AssistantPanel.vue b/frontend/src/components/assistant/AssistantPanel.vue
index 9cd09dc52..74f431eab 100644
--- a/frontend/src/components/assistant/AssistantPanel.vue
+++ b/frontend/src/components/assistant/AssistantPanel.vue
@@ -196,7 +196,7 @@ import {
import { removeSession, SESSION_MUTATION_EVENT, type SessionMutationDetail } from '@/components/sessionMutations'
import type { PageContextPayload } from '@/api/chat/streame'
-const { t } = useI18n()
+const { t, te } = useI18n()
const route = useRoute()
const childTabs = createChildAgentTabs()
provide(childAgentTabsKey, childTabs)
@@ -270,6 +270,14 @@ const initialMessage = ref<{
const initialQuery = computed(() => initialMessage.value?.sessionId === assistant.sessionId
? initialMessage.value.query : '')
+function settingsWelcome(section: string) {
+ const key = te(`assistant.settingsPages.${section}.q1`) ? section : 'fallback'
+ return {
+ description: t(`assistant.settingsPages.${key}.description`),
+ starters: [t(`assistant.settingsPages.${key}.q1`), t(`assistant.settingsPages.${key}.q2`), t(`assistant.settingsPages.${key}.q3`)],
+ }
+}
+
const welcomeContent = computed(() => {
const general = {
description: t('assistant.welcomeDesc'),
@@ -298,6 +306,12 @@ const welcomeContent = computed(() => {
description: t('assistant.welcomeDescriptions.mcp'),
starters: [t('assistant.starters.mcpFind'), t('assistant.starters.mcpSetup'), t('assistant.starters.mcpExamples')],
}
+ if (c?.page === 'settings') return settingsWelcome(c.section || 'fallback')
+ if (route.name === 'settings') {
+ const section = typeof route.query.section === 'string' ? route.query.section : 'general'
+ const panel = typeof route.query.panel === 'string' ? route.query.panel : ''
+ return settingsWelcome(section === 'system-global' && panel ? `system-global-${panel}` : section)
+ }
if (c?.agentId) return {
description: t('assistant.agentWelcomeDesc'),
starters: [t('assistant.starters.agentConfig'), t('assistant.starters.agentModel'), t('assistant.starters.agentKnowledge')],
@@ -316,7 +330,7 @@ const welcomeContent = computed(() => {
}
if (c?.page === 'chat') return {
description: t('assistant.welcomeDescriptions.chat'),
- starters: [t('assistant.starters.chatSummary'), t('assistant.starters.chatOpenQuestions'), t('assistant.starters.chatTodos')],
+ starters: [t('assistant.starters.chatSummary'), t('assistant.starters.chatCheck'), t('assistant.starters.chatFollowup')],
}
if (c?.knowledgeBaseId || route.name === 'knowledgeBaseDetail') return {
description: t('assistant.welcomeDescriptions.knowledgeBase'),
@@ -334,6 +348,10 @@ const welcomeContent = computed(() => {
description: t('assistant.welcomeDescriptions.agents'),
starters: [t('assistant.starters.agents'), t('assistant.starters.agentCreate'), t('assistant.starters.agentChoose')],
}
+ if (route.name === 'organizationList') return {
+ description: t('assistant.welcomeDescriptions.organizations'),
+ starters: [t('assistant.starters.organizationShared'), t('assistant.starters.organizationJoin'), t('assistant.starters.organizationCreate')],
+ }
if (route.name === 'automationList') return {
description: t('assistant.welcomeDescriptions.automation'),
starters: route.params.automationId ? [
@@ -356,7 +374,7 @@ const welcomeContent = computed(() => {
}
if (route.name === 'chat') return {
description: t('assistant.welcomeDescriptions.chat'),
- starters: [t('assistant.starters.chatSummary'), t('assistant.starters.chatOpenQuestions'), t('assistant.starters.chatTodos')],
+ starters: [t('assistant.starters.chatSummary'), t('assistant.starters.chatCheck'), t('assistant.starters.chatFollowup')],
}
return general
})
diff --git a/frontend/src/i18n/locales/en-US.ts b/frontend/src/i18n/locales/en-US.ts
index 94a43506a..23fc37768 100755
--- a/frontend/src/i18n/locales/en-US.ts
+++ b/frontend/src/i18n/locales/en-US.ts
@@ -6430,9 +6430,228 @@ export default {
mcp: 'I can help find and connect MCP services, explain their tools and configure them for your agents.',
browser: 'I can guide you through connecting a browser, suitable automation tasks and the permissions they need.',
model: 'I can help connect models, compare their uses and check whether a configuration suits your task.',
- chat: 'I can summarize the conversation, check answer sources and organize follow-up tasks.',
+ chat: 'I can summarize what this conversation asked and produced, check the latest answer, and suggest what to ask next.',
message: 'I can trace this answer’s sources, check key details and help turn it into reusable content.',
artifacts: 'I can sort these files by time and type, find the conversation each one came from, and explain how to have an agent save its results.',
+ organizations: 'I can show what knowledge bases and agents each shared space makes available, and how to create, join or invite people.',
+ },
+ settingsPages: {
+ fallback: {
+ description: 'I can explain what this settings page does, what a change affects, and what to configure first.',
+ q1: 'What is this settings page for?',
+ q2: 'What will change if I edit these options?',
+ q3: 'Which settings should I configure first?',
+ },
+ general: {
+ description: 'I can explain language, theme and other personal preferences, and where they apply.',
+ q1: 'Which parts of the UI do these preferences affect?',
+ q2: 'How do I change the language or theme?',
+ q3: 'Which personal settings should I set up first?',
+ },
+ userprofile: {
+ description: 'I can help review and update your account profile, and explain what happens after a change.',
+ q1: 'Where do I change my account details?',
+ q2: 'How do I change my avatar, name or password?',
+ q3: 'Do I need to sign in again after updating my account?',
+ },
+ assistant: {
+ description: 'I can explain the assistant entry points, permission levels, and what it may or may not do for you.',
+ q1: 'What does each assistant permission level mean?',
+ q2: 'How do I put the assistant in the sidebar or the corner?',
+ q3: 'Can the assistant change settings or delete things for me?',
+ },
+ mymemory: {
+ description: 'I can show your personal memories, where they are used, and how to add or delete them.',
+ q1: 'Which personal memories are saved here?',
+ q2: 'How do I add or delete a memory?',
+ q3: 'Which conversations use these memories?',
+ },
+ envvars: {
+ description: 'I can explain where these environment variables are used, and how personal values differ from workspace ones.',
+ q1: 'Which skills or agents use these environment variables?',
+ q2: 'How do I fill in my own secrets safely?',
+ q3: 'What is the difference between workspace and personal variables?',
+ },
+ tenant: {
+ description: 'I can show this workspace’s name, quota and basic info, and what you can edit.',
+ q1: 'What is this workspace’s name and storage quota?',
+ q2: 'How do I change the workspace name or description?',
+ q3: 'What happens when storage is almost full?',
+ },
+ members: {
+ description: 'I can list members and roles, explain invites, and what each role can do.',
+ q1: 'Who is in this workspace, and what are their roles?',
+ q2: 'How do I invite a new member?',
+ q3: 'What can an admin do that a regular member cannot?',
+ },
+ chathistory: {
+ description: 'I can tell you whether chat-history search is on, what it can find, and how to build the index.',
+ q1: 'Is chat-history search turned on?',
+ q2: 'What past conversations can it search after I turn it on?',
+ q3: 'How do I index past conversations?',
+ },
+ memory: {
+ description: 'I can tell workspace memory apart from personal memory, and how to keep workspace conventions.',
+ q1: 'How is workspace memory different from my personal memory?',
+ q2: 'Which memory rules are enabled now?',
+ q3: 'How do I make agents remember this workspace’s conventions?',
+ },
+ ollama: {
+ description: 'I can walk you through connecting local Ollama and adding its models to this workspace.',
+ q1: 'How do I connect a local Ollama instance?',
+ q2: 'How do I add its models to this workspace after connecting?',
+ q3: 'What should I check if Ollama will not connect?',
+ },
+ weknoracloud: {
+ description: 'I can explain which models WeKnora Cloud offers, and how to bind and choose them.',
+ q1: 'Which models does WeKnora Cloud provide?',
+ q2: 'How do I enable or bind a Cloud account?',
+ q3: 'When should I use Cloud models versus ones I connect myself?',
+ },
+ vectorstore: {
+ description: 'I can explain the current vector engine, what changing it does, and how to check it.',
+ q1: 'Which vector search engine is in use now?',
+ q2: 'Will changing the engine affect existing knowledge bases?',
+ q3: 'How do I check that the search engine is working?',
+ },
+ parser: {
+ description: 'I can show the default document parser, which formats need another engine, and what to change after a failure.',
+ q1: 'Which document parser is the default?',
+ q2: 'Which file formats need a different parser?',
+ q3: 'What should I change when document parsing fails?',
+ },
+ storage: {
+ description: 'I can explain where files are stored, how to switch to object storage, and what happens at quota.',
+ q1: 'Where are uploaded files stored right now?',
+ q2: 'How do I switch to object storage?',
+ q3: 'What happens when the storage quota is used up?',
+ },
+ sandbox: {
+ description: 'I can explain what the sandbox runs, how to add a config, and what to check when scripts fail.',
+ q1: 'What is the sandbox used for?',
+ q2: 'How do I add a sandbox configuration?',
+ q3: 'Which sandbox settings should I check when an agent script fails?',
+ },
+ websearch: {
+ description: 'I can show configured web-search providers and how to let agents search the web.',
+ q1: 'Which web search services are configured?',
+ q2: 'How do I give agents web search?',
+ q3: 'Where do I put the search API key?',
+ },
+ system: {
+ description: 'I can tell you the current version, component status, and what to check before an upgrade.',
+ q1: 'What version is this, and what changed recently?',
+ q2: 'How do I check the status of this deployment’s components?',
+ q3: 'What should I review or back up before upgrading?',
+ },
+ 'system-global': {
+ description: 'I can walk through this deployment’s global settings, users and workspaces, and security switches.',
+ q1: 'Which global settings does this deployment have?',
+ q2: 'How do I manage users and workspaces on the platform?',
+ q3: 'What do the security switches control?',
+ },
+ 'system-global-access': {
+ description: 'I can explain the login, signup and access-control switches.',
+ q1: 'What does each access-control switch restrict?',
+ q2: 'How do I turn off open signup or limit sign-in methods?',
+ q3: 'Do I need to restart the service after changing these?',
+ },
+ 'system-global-users': {
+ description: 'I can list platform users, explain roles, and how to disable or adjust an account.',
+ q1: 'Which users are on this platform?',
+ q2: 'How do I disable a user or change their permissions?',
+ q3: 'How is a system admin different from a regular user?',
+ },
+ 'system-global-tenant': {
+ description: 'I can explain workspace policy, default quotas, and what a new workspace inherits.',
+ q1: 'What defaults apply when someone creates a workspace?',
+ q2: 'How do I limit how many workspaces one person can create?',
+ q3: 'What is the default storage quota for a workspace?',
+ },
+ 'system-global-runtime': {
+ description: 'I can explain how runtime, task and resource options affect background work.',
+ q1: 'Which background tasks do these runtime settings affect?',
+ q2: 'How do I limit concurrency or timeouts?',
+ q3: 'When do runtime changes take effect?',
+ },
+ 'system-global-security': {
+ description: 'I can explain security policy, keys and session switches, and the risk of changing them.',
+ q1: 'What does each security switch protect?',
+ q2: 'How do I rotate or revoke a platform-level key?',
+ q3: 'Which security changes affect users who are already signed in?',
+ },
+ 'system-global-other': {
+ description: 'I can explain uncategorized global settings and what to watch before changing them.',
+ q1: 'What are these uncategorized settings for?',
+ q2: 'What does changing one of them affect?',
+ q3: 'Which of these should I avoid changing in production?',
+ },
+ 'model-catalog': {
+ description: 'I can browse the model catalog and explain how to add a vendor model to this workspace.',
+ q1: 'Which vendors and models can I connect from the catalog?',
+ q2: 'How do I add a catalog model to this workspace?',
+ q3: 'What is still missing before I can use a vendor?',
+ },
+ 'runtime-queues': {
+ description: 'I can show stuck task queues and how to retry failed parse or index jobs.',
+ q1: 'Which task queues are stuck right now?',
+ q2: 'How do I retry a failed parse or index job?',
+ q3: 'How do I see the jobs running in a queue?',
+ },
+ 'platform-api-keys': {
+ description: 'I can tell platform keys from workspace keys, and how to create or revoke them.',
+ q1: 'What is the difference between a platform API key and a workspace key?',
+ q2: 'How do I create a key that can only access one workspace?',
+ q3: 'How do I revoke a leaked key immediately?',
+ },
+ 'system-audit-log': {
+ description: 'I can filter audit events, find risky actions, and say how long logs are kept.',
+ q1: 'What high-risk actions happened recently?',
+ q2: 'How do I filter audit records by person or workspace?',
+ q3: 'How long are these logs kept?',
+ },
+ 'integration-im': {
+ description: 'I can walk you through connecting Feishu or WeCom, and what to check when the bot is silent.',
+ q1: 'How do I connect Feishu or WeCom to this workspace?',
+ q2: 'How do people use an agent from the IM chat?',
+ q3: 'What should I check if the bot is not receiving messages?',
+ },
+ 'integration-embed': {
+ description: 'I can explain how to embed the chat widget, and which knowledge bases visitors can use.',
+ q1: 'How do I embed the chat widget on my website?',
+ q2: 'Which knowledge bases or agents can visitors use?',
+ q3: 'Which parameters do I need to change in the embed code?',
+ },
+ 'integration-api': {
+ description: 'I can explain how to start a chat over the API, which auth to send, and show an example.',
+ q1: 'How do I start a conversation through the API?',
+ q2: 'What authentication does a request need?',
+ q3: 'Is there a ready-made request example?',
+ },
+ 'integration-mcpserver': {
+ description: 'I can explain how to expose WeKnora as an MCP server, and which tools it offers.',
+ q1: 'How do I offer WeKnora as an MCP server?',
+ q2: 'How does an external client connect?',
+ q3: 'Which tools does this server expose?',
+ },
+ 'integration-cli': {
+ description: 'I can walk you through installing and signing in to the CLI, and the common commands.',
+ q1: 'How do I install and sign in to the WeKnora CLI?',
+ q2: 'What knowledge-base and chat operations can the CLI do?',
+ q3: 'What are the most useful commands?',
+ },
+ 'integration-chrome': {
+ description: 'I can explain what the browser extension does, how to install it, and where selected text goes.',
+ q1: 'What can the browser extension do?',
+ q2: 'How do I install and sign in to the extension?',
+ q3: 'Where does text I select in the extension get sent?',
+ },
+ 'integration-claw': {
+ description: 'I can explain how to connect WeKnora to Claw, and which skill to install.',
+ q1: 'How do I connect WeKnora to Claw?',
+ q2: 'Which skill do I need to install?',
+ q3: 'What can I do in Claw after it is connected?',
+ },
},
startFailed: 'Failed to start the assistant. Please try again.',
askAboutDocument: 'Ask {name}',
@@ -6568,6 +6787,7 @@ export default {
agent_editor: 'Agent editor',
settings_models: 'Models',
mcp_services: 'MCP services',
+ settings: 'Settings',
chat: 'Chat'
}
},
@@ -6626,12 +6846,15 @@ export default {
browserTasks: "Which web tasks can the browser automate?",
browserReconnect: "How do I reconnect when the browser shows as offline?",
messageReuse: "Turn this answer into steps I can follow",
- chatSummary: "What conclusions have we reached in this conversation?",
- chatOpenQuestions: "Which questions remain unresolved in this discussion?",
- chatTodos: "List what still needs to be done from this conversation",
+ chatSummary: "What was asked in this conversation, and what came out of it?",
+ chatCheck: "Did the latest answer miss or get anything wrong?",
+ chatFollowup: "Based on this conversation, what else can I ask next?",
artifactRecent: "Which files were generated recently?",
artifactSources: "Which conversation did each of these files come from?",
artifactCreate: "How do I have an agent save its results as files?",
+ organizationShared: "What knowledge bases and agents does each shared space provide?",
+ organizationJoin: "How do I join an existing shared space?",
+ organizationCreate: "How do I create a shared space and invite members?",
}
},
assistantSettings: {
@@ -7111,6 +7334,9 @@ export default {
update: "Update agent",
copy: "Copy agent",
},
+ artifact: {
+ list: "List generated files",
+ },
chunk: {
get: "Get chunk details",
update: "Update chunk",
diff --git a/frontend/src/i18n/locales/ja-JP.ts b/frontend/src/i18n/locales/ja-JP.ts
index afb1296a4..08d16653c 100644
--- a/frontend/src/i18n/locales/ja-JP.ts
+++ b/frontend/src/i18n/locales/ja-JP.ts
@@ -6430,10 +6430,229 @@ export default {
mcp: 'MCP サービスの検索と接続、利用できるツールの確認、エージェントでの利用設定をお手伝いします。',
browser: 'ブラウザの接続方法、自動化に適したタスク、必要な権限をご案内します。',
model: 'モデルの接続や用途の比較、タスクに合った設定の確認をお手伝いします。',
- chat: '会話の要点や回答の出典を確認し、次に行うことを整理できます。',
+ chat: 'この会話で何を尋ね、何が得られたかを要約し、最新の回答を確認し、次に何を聞くかを提案できます。',
message: 'この回答の出典や重要な情報を確認し、再利用しやすい内容に整理するお手伝いをします。',
artifacts: 'これらのファイルを日時や種類で整理し、どの会話から来たかを探し、エージェントに結果をファイルとして保存させる方法を説明できます。',
- },
+ organizations: '各共有スペースで使えるナレッジベースとエージェント、作成・参加・招待の方法をご案内します。',
+ },
+ settingsPages: {
+ fallback: {
+ description: 'I can explain what this settings page does, what a change affects, and what to configure first.',
+ q1: 'What is this settings page for?',
+ q2: 'What will change if I edit these options?',
+ q3: 'Which settings should I configure first?',
+ },
+ general: {
+ description: 'I can explain language, theme and other personal preferences, and where they apply.',
+ q1: 'Which parts of the UI do these preferences affect?',
+ q2: 'How do I change the language or theme?',
+ q3: 'Which personal settings should I set up first?',
+ },
+ userprofile: {
+ description: 'I can help review and update your account profile, and explain what happens after a change.',
+ q1: 'Where do I change my account details?',
+ q2: 'How do I change my avatar, name or password?',
+ q3: 'Do I need to sign in again after updating my account?',
+ },
+ assistant: {
+ description: 'I can explain the assistant entry points, permission levels, and what it may or may not do for you.',
+ q1: 'What does each assistant permission level mean?',
+ q2: 'How do I put the assistant in the sidebar or the corner?',
+ q3: 'Can the assistant change settings or delete things for me?',
+ },
+ mymemory: {
+ description: 'I can show your personal memories, where they are used, and how to add or delete them.',
+ q1: 'Which personal memories are saved here?',
+ q2: 'How do I add or delete a memory?',
+ q3: 'Which conversations use these memories?',
+ },
+ envvars: {
+ description: 'I can explain where these environment variables are used, and how personal values differ from workspace ones.',
+ q1: 'Which skills or agents use these environment variables?',
+ q2: 'How do I fill in my own secrets safely?',
+ q3: 'What is the difference between workspace and personal variables?',
+ },
+ tenant: {
+ description: 'I can show this workspace’s name, quota and basic info, and what you can edit.',
+ q1: 'What is this workspace’s name and storage quota?',
+ q2: 'How do I change the workspace name or description?',
+ q3: 'What happens when storage is almost full?',
+ },
+ members: {
+ description: 'I can list members and roles, explain invites, and what each role can do.',
+ q1: 'Who is in this workspace, and what are their roles?',
+ q2: 'How do I invite a new member?',
+ q3: 'What can an admin do that a regular member cannot?',
+ },
+ chathistory: {
+ description: 'I can tell you whether chat-history search is on, what it can find, and how to build the index.',
+ q1: 'Is chat-history search turned on?',
+ q2: 'What past conversations can it search after I turn it on?',
+ q3: 'How do I index past conversations?',
+ },
+ memory: {
+ description: 'I can tell workspace memory apart from personal memory, and how to keep workspace conventions.',
+ q1: 'How is workspace memory different from my personal memory?',
+ q2: 'Which memory rules are enabled now?',
+ q3: 'How do I make agents remember this workspace’s conventions?',
+ },
+ ollama: {
+ description: 'I can walk you through connecting local Ollama and adding its models to this workspace.',
+ q1: 'How do I connect a local Ollama instance?',
+ q2: 'How do I add its models to this workspace after connecting?',
+ q3: 'What should I check if Ollama will not connect?',
+ },
+ weknoracloud: {
+ description: 'I can explain which models WeKnora Cloud offers, and how to bind and choose them.',
+ q1: 'Which models does WeKnora Cloud provide?',
+ q2: 'How do I enable or bind a Cloud account?',
+ q3: 'When should I use Cloud models versus ones I connect myself?',
+ },
+ vectorstore: {
+ description: 'I can explain the current vector engine, what changing it does, and how to check it.',
+ q1: 'Which vector search engine is in use now?',
+ q2: 'Will changing the engine affect existing knowledge bases?',
+ q3: 'How do I check that the search engine is working?',
+ },
+ parser: {
+ description: 'I can show the default document parser, which formats need another engine, and what to change after a failure.',
+ q1: 'Which document parser is the default?',
+ q2: 'Which file formats need a different parser?',
+ q3: 'What should I change when document parsing fails?',
+ },
+ storage: {
+ description: 'I can explain where files are stored, how to switch to object storage, and what happens at quota.',
+ q1: 'Where are uploaded files stored right now?',
+ q2: 'How do I switch to object storage?',
+ q3: 'What happens when the storage quota is used up?',
+ },
+ sandbox: {
+ description: 'I can explain what the sandbox runs, how to add a config, and what to check when scripts fail.',
+ q1: 'What is the sandbox used for?',
+ q2: 'How do I add a sandbox configuration?',
+ q3: 'Which sandbox settings should I check when an agent script fails?',
+ },
+ websearch: {
+ description: 'I can show configured web-search providers and how to let agents search the web.',
+ q1: 'Which web search services are configured?',
+ q2: 'How do I give agents web search?',
+ q3: 'Where do I put the search API key?',
+ },
+ system: {
+ description: 'I can tell you the current version, component status, and what to check before an upgrade.',
+ q1: 'What version is this, and what changed recently?',
+ q2: 'How do I check the status of this deployment’s components?',
+ q3: 'What should I review or back up before upgrading?',
+ },
+ 'system-global': {
+ description: 'I can walk through this deployment’s global settings, users and workspaces, and security switches.',
+ q1: 'Which global settings does this deployment have?',
+ q2: 'How do I manage users and workspaces on the platform?',
+ q3: 'What do the security switches control?',
+ },
+ 'system-global-access': {
+ description: 'I can explain the login, signup and access-control switches.',
+ q1: 'What does each access-control switch restrict?',
+ q2: 'How do I turn off open signup or limit sign-in methods?',
+ q3: 'Do I need to restart the service after changing these?',
+ },
+ 'system-global-users': {
+ description: 'I can list platform users, explain roles, and how to disable or adjust an account.',
+ q1: 'Which users are on this platform?',
+ q2: 'How do I disable a user or change their permissions?',
+ q3: 'How is a system admin different from a regular user?',
+ },
+ 'system-global-tenant': {
+ description: 'I can explain workspace policy, default quotas, and what a new workspace inherits.',
+ q1: 'What defaults apply when someone creates a workspace?',
+ q2: 'How do I limit how many workspaces one person can create?',
+ q3: 'What is the default storage quota for a workspace?',
+ },
+ 'system-global-runtime': {
+ description: 'I can explain how runtime, task and resource options affect background work.',
+ q1: 'Which background tasks do these runtime settings affect?',
+ q2: 'How do I limit concurrency or timeouts?',
+ q3: 'When do runtime changes take effect?',
+ },
+ 'system-global-security': {
+ description: 'I can explain security policy, keys and session switches, and the risk of changing them.',
+ q1: 'What does each security switch protect?',
+ q2: 'How do I rotate or revoke a platform-level key?',
+ q3: 'Which security changes affect users who are already signed in?',
+ },
+ 'system-global-other': {
+ description: 'I can explain uncategorized global settings and what to watch before changing them.',
+ q1: 'What are these uncategorized settings for?',
+ q2: 'What does changing one of them affect?',
+ q3: 'Which of these should I avoid changing in production?',
+ },
+ 'model-catalog': {
+ description: 'I can browse the model catalog and explain how to add a vendor model to this workspace.',
+ q1: 'Which vendors and models can I connect from the catalog?',
+ q2: 'How do I add a catalog model to this workspace?',
+ q3: 'What is still missing before I can use a vendor?',
+ },
+ 'runtime-queues': {
+ description: 'I can show stuck task queues and how to retry failed parse or index jobs.',
+ q1: 'Which task queues are stuck right now?',
+ q2: 'How do I retry a failed parse or index job?',
+ q3: 'How do I see the jobs running in a queue?',
+ },
+ 'platform-api-keys': {
+ description: 'I can tell platform keys from workspace keys, and how to create or revoke them.',
+ q1: 'What is the difference between a platform API key and a workspace key?',
+ q2: 'How do I create a key that can only access one workspace?',
+ q3: 'How do I revoke a leaked key immediately?',
+ },
+ 'system-audit-log': {
+ description: 'I can filter audit events, find risky actions, and say how long logs are kept.',
+ q1: 'What high-risk actions happened recently?',
+ q2: 'How do I filter audit records by person or workspace?',
+ q3: 'How long are these logs kept?',
+ },
+ 'integration-im': {
+ description: 'I can walk you through connecting Feishu or WeCom, and what to check when the bot is silent.',
+ q1: 'How do I connect Feishu or WeCom to this workspace?',
+ q2: 'How do people use an agent from the IM chat?',
+ q3: 'What should I check if the bot is not receiving messages?',
+ },
+ 'integration-embed': {
+ description: 'I can explain how to embed the chat widget, and which knowledge bases visitors can use.',
+ q1: 'How do I embed the chat widget on my website?',
+ q2: 'Which knowledge bases or agents can visitors use?',
+ q3: 'Which parameters do I need to change in the embed code?',
+ },
+ 'integration-api': {
+ description: 'I can explain how to start a chat over the API, which auth to send, and show an example.',
+ q1: 'How do I start a conversation through the API?',
+ q2: 'What authentication does a request need?',
+ q3: 'Is there a ready-made request example?',
+ },
+ 'integration-mcpserver': {
+ description: 'I can explain how to expose WeKnora as an MCP server, and which tools it offers.',
+ q1: 'How do I offer WeKnora as an MCP server?',
+ q2: 'How does an external client connect?',
+ q3: 'Which tools does this server expose?',
+ },
+ 'integration-cli': {
+ description: 'I can walk you through installing and signing in to the CLI, and the common commands.',
+ q1: 'How do I install and sign in to the WeKnora CLI?',
+ q2: 'What knowledge-base and chat operations can the CLI do?',
+ q3: 'What are the most useful commands?',
+ },
+ 'integration-chrome': {
+ description: 'I can explain what the browser extension does, how to install it, and where selected text goes.',
+ q1: 'What can the browser extension do?',
+ q2: 'How do I install and sign in to the extension?',
+ q3: 'Where does text I select in the extension get sent?',
+ },
+ 'integration-claw': {
+ description: 'I can explain how to connect WeKnora to Claw, and which skill to install.',
+ q1: 'How do I connect WeKnora to Claw?',
+ q2: 'Which skill do I need to install?',
+ q3: 'What can I do in Claw after it is connected?',
+ },
+ },
startFailed: 'アシスタントを起動できませんでした。もう一度お試しください。',
askAboutDocument: '{name}に聞く',
chooseAction: "機能を選ぶか、希望する内容を入力してください。",
@@ -6568,6 +6787,7 @@ export default {
agent_editor: 'エージェント編集',
settings_models: 'モデル管理',
mcp_services: 'MCP サービス',
+ settings: '設定',
chat: 'チャット'
}
},
@@ -6626,12 +6846,15 @@ export default {
browserTasks: "ブラウザでどんな Web 操作を自動化できますか?",
browserReconnect: "ブラウザがオフラインと表示されたら、どう再接続しますか?",
messageReuse: "この回答を、そのまま実行できる手順にして",
- chatSummary: "この会話でどんな結論が出ましたか?",
- chatOpenQuestions: "この議論でまだ解決していない問題は何ですか?",
- chatTodos: "この会話でまだやることをリストにして",
+ chatSummary: "この会話では何を尋ね、どんな結果が得られましたか?",
+ chatCheck: "直近の回答に漏れや誤りはありませんか?",
+ chatFollowup: "この会話を踏まえて、次にどんな質問ができますか?",
artifactRecent: "最近生成されたファイルはどれですか?",
artifactSources: "これらのファイルはそれぞれどの会話から来ましたか?",
artifactCreate: "エージェントに結果をファイルとして保存させるには?",
+ organizationShared: "これらの共有スペースには、それぞれどのナレッジベースとエージェントがありますか?",
+ organizationJoin: "既存の共有スペースに参加するには?",
+ organizationCreate: "共有スペースを作成してメンバーを招待するには?",
}
},
assistantSettings: {
@@ -7111,6 +7334,9 @@ export default {
update: "エージェントを更新",
copy: "エージェントをコピー",
},
+ artifact: {
+ list: "生成ファイル一覧を取得",
+ },
chunk: {
get: "チャンク詳細を取得",
update: "チャンクを更新",
diff --git a/frontend/src/i18n/locales/ko-KR.ts b/frontend/src/i18n/locales/ko-KR.ts
index 15bd9c8af..418c5a9bb 100755
--- a/frontend/src/i18n/locales/ko-KR.ts
+++ b/frontend/src/i18n/locales/ko-KR.ts
@@ -2186,6 +2186,9 @@ export default {
update: "에이전트 수정",
copy: "에이전트 복사",
},
+ artifact: {
+ list: "생성 파일 목록 조회",
+ },
chunk: {
get: "청크 상세 조회",
update: "청크 수정",
@@ -2639,10 +2642,229 @@ export default {
mcp: 'MCP 서비스를 찾아 연결하고, 사용 가능한 도구를 살펴보고, 에이전트에서 사용하도록 설정을 도와드립니다.',
browser: '브라우저 연결 방법, 자동화에 적합한 작업, 필요한 권한을 안내해 드립니다.',
model: '모델을 연결하고 용도를 비교하며, 작업에 맞는 설정인지 확인하도록 도와드립니다.',
- chat: '대화의 핵심과 답변 출처를 확인하고, 후속 할 일을 정리할 수 있습니다.',
+ chat: '이번 대화에서 무엇을 물었고 무엇을 얻었는지 요약하고, 마지막 답변을 확인한 뒤 다음에 무엇을 물을지 제안할 수 있습니다.',
message: '이 답변의 출처와 주요 정보를 확인하고, 재사용하기 좋은 내용으로 정리하도록 도와드립니다.',
artifacts: '이 파일들을 시간과 유형별로 정리하고, 어느 대화에서 왔는지 찾으며, 에이전트가 결과를 파일로 저장하게 하는 방법을 설명할 수 있습니다.',
- },
+ organizations: '각 공유 공간에 어떤 지식 베이스와 에이전트가 있는지, 그리고 만들고 참여하거나 멤버를 초대하는 방법을 안내할 수 있습니다.',
+ },
+ settingsPages: {
+ fallback: {
+ description: 'I can explain what this settings page does, what a change affects, and what to configure first.',
+ q1: 'What is this settings page for?',
+ q2: 'What will change if I edit these options?',
+ q3: 'Which settings should I configure first?',
+ },
+ general: {
+ description: 'I can explain language, theme and other personal preferences, and where they apply.',
+ q1: 'Which parts of the UI do these preferences affect?',
+ q2: 'How do I change the language or theme?',
+ q3: 'Which personal settings should I set up first?',
+ },
+ userprofile: {
+ description: 'I can help review and update your account profile, and explain what happens after a change.',
+ q1: 'Where do I change my account details?',
+ q2: 'How do I change my avatar, name or password?',
+ q3: 'Do I need to sign in again after updating my account?',
+ },
+ assistant: {
+ description: 'I can explain the assistant entry points, permission levels, and what it may or may not do for you.',
+ q1: 'What does each assistant permission level mean?',
+ q2: 'How do I put the assistant in the sidebar or the corner?',
+ q3: 'Can the assistant change settings or delete things for me?',
+ },
+ mymemory: {
+ description: 'I can show your personal memories, where they are used, and how to add or delete them.',
+ q1: 'Which personal memories are saved here?',
+ q2: 'How do I add or delete a memory?',
+ q3: 'Which conversations use these memories?',
+ },
+ envvars: {
+ description: 'I can explain where these environment variables are used, and how personal values differ from workspace ones.',
+ q1: 'Which skills or agents use these environment variables?',
+ q2: 'How do I fill in my own secrets safely?',
+ q3: 'What is the difference between workspace and personal variables?',
+ },
+ tenant: {
+ description: 'I can show this workspace’s name, quota and basic info, and what you can edit.',
+ q1: 'What is this workspace’s name and storage quota?',
+ q2: 'How do I change the workspace name or description?',
+ q3: 'What happens when storage is almost full?',
+ },
+ members: {
+ description: 'I can list members and roles, explain invites, and what each role can do.',
+ q1: 'Who is in this workspace, and what are their roles?',
+ q2: 'How do I invite a new member?',
+ q3: 'What can an admin do that a regular member cannot?',
+ },
+ chathistory: {
+ description: 'I can tell you whether chat-history search is on, what it can find, and how to build the index.',
+ q1: 'Is chat-history search turned on?',
+ q2: 'What past conversations can it search after I turn it on?',
+ q3: 'How do I index past conversations?',
+ },
+ memory: {
+ description: 'I can tell workspace memory apart from personal memory, and how to keep workspace conventions.',
+ q1: 'How is workspace memory different from my personal memory?',
+ q2: 'Which memory rules are enabled now?',
+ q3: 'How do I make agents remember this workspace’s conventions?',
+ },
+ ollama: {
+ description: 'I can walk you through connecting local Ollama and adding its models to this workspace.',
+ q1: 'How do I connect a local Ollama instance?',
+ q2: 'How do I add its models to this workspace after connecting?',
+ q3: 'What should I check if Ollama will not connect?',
+ },
+ weknoracloud: {
+ description: 'I can explain which models WeKnora Cloud offers, and how to bind and choose them.',
+ q1: 'Which models does WeKnora Cloud provide?',
+ q2: 'How do I enable or bind a Cloud account?',
+ q3: 'When should I use Cloud models versus ones I connect myself?',
+ },
+ vectorstore: {
+ description: 'I can explain the current vector engine, what changing it does, and how to check it.',
+ q1: 'Which vector search engine is in use now?',
+ q2: 'Will changing the engine affect existing knowledge bases?',
+ q3: 'How do I check that the search engine is working?',
+ },
+ parser: {
+ description: 'I can show the default document parser, which formats need another engine, and what to change after a failure.',
+ q1: 'Which document parser is the default?',
+ q2: 'Which file formats need a different parser?',
+ q3: 'What should I change when document parsing fails?',
+ },
+ storage: {
+ description: 'I can explain where files are stored, how to switch to object storage, and what happens at quota.',
+ q1: 'Where are uploaded files stored right now?',
+ q2: 'How do I switch to object storage?',
+ q3: 'What happens when the storage quota is used up?',
+ },
+ sandbox: {
+ description: 'I can explain what the sandbox runs, how to add a config, and what to check when scripts fail.',
+ q1: 'What is the sandbox used for?',
+ q2: 'How do I add a sandbox configuration?',
+ q3: 'Which sandbox settings should I check when an agent script fails?',
+ },
+ websearch: {
+ description: 'I can show configured web-search providers and how to let agents search the web.',
+ q1: 'Which web search services are configured?',
+ q2: 'How do I give agents web search?',
+ q3: 'Where do I put the search API key?',
+ },
+ system: {
+ description: 'I can tell you the current version, component status, and what to check before an upgrade.',
+ q1: 'What version is this, and what changed recently?',
+ q2: 'How do I check the status of this deployment’s components?',
+ q3: 'What should I review or back up before upgrading?',
+ },
+ 'system-global': {
+ description: 'I can walk through this deployment’s global settings, users and workspaces, and security switches.',
+ q1: 'Which global settings does this deployment have?',
+ q2: 'How do I manage users and workspaces on the platform?',
+ q3: 'What do the security switches control?',
+ },
+ 'system-global-access': {
+ description: 'I can explain the login, signup and access-control switches.',
+ q1: 'What does each access-control switch restrict?',
+ q2: 'How do I turn off open signup or limit sign-in methods?',
+ q3: 'Do I need to restart the service after changing these?',
+ },
+ 'system-global-users': {
+ description: 'I can list platform users, explain roles, and how to disable or adjust an account.',
+ q1: 'Which users are on this platform?',
+ q2: 'How do I disable a user or change their permissions?',
+ q3: 'How is a system admin different from a regular user?',
+ },
+ 'system-global-tenant': {
+ description: 'I can explain workspace policy, default quotas, and what a new workspace inherits.',
+ q1: 'What defaults apply when someone creates a workspace?',
+ q2: 'How do I limit how many workspaces one person can create?',
+ q3: 'What is the default storage quota for a workspace?',
+ },
+ 'system-global-runtime': {
+ description: 'I can explain how runtime, task and resource options affect background work.',
+ q1: 'Which background tasks do these runtime settings affect?',
+ q2: 'How do I limit concurrency or timeouts?',
+ q3: 'When do runtime changes take effect?',
+ },
+ 'system-global-security': {
+ description: 'I can explain security policy, keys and session switches, and the risk of changing them.',
+ q1: 'What does each security switch protect?',
+ q2: 'How do I rotate or revoke a platform-level key?',
+ q3: 'Which security changes affect users who are already signed in?',
+ },
+ 'system-global-other': {
+ description: 'I can explain uncategorized global settings and what to watch before changing them.',
+ q1: 'What are these uncategorized settings for?',
+ q2: 'What does changing one of them affect?',
+ q3: 'Which of these should I avoid changing in production?',
+ },
+ 'model-catalog': {
+ description: 'I can browse the model catalog and explain how to add a vendor model to this workspace.',
+ q1: 'Which vendors and models can I connect from the catalog?',
+ q2: 'How do I add a catalog model to this workspace?',
+ q3: 'What is still missing before I can use a vendor?',
+ },
+ 'runtime-queues': {
+ description: 'I can show stuck task queues and how to retry failed parse or index jobs.',
+ q1: 'Which task queues are stuck right now?',
+ q2: 'How do I retry a failed parse or index job?',
+ q3: 'How do I see the jobs running in a queue?',
+ },
+ 'platform-api-keys': {
+ description: 'I can tell platform keys from workspace keys, and how to create or revoke them.',
+ q1: 'What is the difference between a platform API key and a workspace key?',
+ q2: 'How do I create a key that can only access one workspace?',
+ q3: 'How do I revoke a leaked key immediately?',
+ },
+ 'system-audit-log': {
+ description: 'I can filter audit events, find risky actions, and say how long logs are kept.',
+ q1: 'What high-risk actions happened recently?',
+ q2: 'How do I filter audit records by person or workspace?',
+ q3: 'How long are these logs kept?',
+ },
+ 'integration-im': {
+ description: 'I can walk you through connecting Feishu or WeCom, and what to check when the bot is silent.',
+ q1: 'How do I connect Feishu or WeCom to this workspace?',
+ q2: 'How do people use an agent from the IM chat?',
+ q3: 'What should I check if the bot is not receiving messages?',
+ },
+ 'integration-embed': {
+ description: 'I can explain how to embed the chat widget, and which knowledge bases visitors can use.',
+ q1: 'How do I embed the chat widget on my website?',
+ q2: 'Which knowledge bases or agents can visitors use?',
+ q3: 'Which parameters do I need to change in the embed code?',
+ },
+ 'integration-api': {
+ description: 'I can explain how to start a chat over the API, which auth to send, and show an example.',
+ q1: 'How do I start a conversation through the API?',
+ q2: 'What authentication does a request need?',
+ q3: 'Is there a ready-made request example?',
+ },
+ 'integration-mcpserver': {
+ description: 'I can explain how to expose WeKnora as an MCP server, and which tools it offers.',
+ q1: 'How do I offer WeKnora as an MCP server?',
+ q2: 'How does an external client connect?',
+ q3: 'Which tools does this server expose?',
+ },
+ 'integration-cli': {
+ description: 'I can walk you through installing and signing in to the CLI, and the common commands.',
+ q1: 'How do I install and sign in to the WeKnora CLI?',
+ q2: 'What knowledge-base and chat operations can the CLI do?',
+ q3: 'What are the most useful commands?',
+ },
+ 'integration-chrome': {
+ description: 'I can explain what the browser extension does, how to install it, and where selected text goes.',
+ q1: 'What can the browser extension do?',
+ q2: 'How do I install and sign in to the extension?',
+ q3: 'Where does text I select in the extension get sent?',
+ },
+ 'integration-claw': {
+ description: 'I can explain how to connect WeKnora to Claw, and which skill to install.',
+ q1: 'How do I connect WeKnora to Claw?',
+ q2: 'Which skill do I need to install?',
+ q3: 'What can I do in Claw after it is connected?',
+ },
+ },
startFailed: '어시스턴트를 시작하지 못했습니다. 다시 시도해 주세요.',
askAboutDocument: '{name}에게 묻기',
chooseAction: "기능을 선택하거나 원하는 작업을 입력하세요.",
@@ -2777,6 +2999,7 @@ export default {
agent_editor: '에이전트 편집',
settings_models: '모델 관리',
mcp_services: 'MCP 서비스',
+ settings: '설정',
chat: '대화'
}
},
@@ -2835,12 +3058,15 @@ export default {
browserTasks: "브라우저로 어떤 웹 작업을 자동화할 수 있나요?",
browserReconnect: "브라우저가 오프라인으로 표시되면 어떻게 다시 연결하나요?",
messageReuse: "이 답변을 따라 할 수 있는 단계로 정리해 줘",
- chatSummary: "이 대화에서 어떤 결론을 내렸나요?",
- chatOpenQuestions: "이 논의에서 아직 해결되지 않은 질문은 무엇인가요?",
- chatTodos: "이 대화에서 아직 할 일을 목록으로 정리해 줘",
+ chatSummary: "이번 대화에서는 무엇을 물었고, 어떤 결과를 얻었나요?",
+ chatCheck: "마지막 답변에 빠지거나 잘못된 내용이 있나요?",
+ chatFollowup: "이번 대화를 바탕으로 이어서 무엇을 물어볼 수 있나요?",
artifactRecent: "최근에 생성된 파일은 무엇인가요?",
artifactSources: "이 파일들은 각각 어느 대화에서 왔나요?",
artifactCreate: "에이전트가 결과를 파일로 저장하게 하려면 어떻게 하나요?",
+ organizationShared: "이 공유 공간들에는 각각 어떤 지식 베이스와 에이전트가 있나요?",
+ organizationJoin: "이미 있는 공유 공간에 어떻게 참여하나요?",
+ organizationCreate: "공유 공간을 만들고 멤버를 초대하려면 어떻게 하나요?",
}
},
assistantSettings: {
diff --git a/frontend/src/i18n/locales/ru-RU.ts b/frontend/src/i18n/locales/ru-RU.ts
index 702d8c049..8d65e38dd 100755
--- a/frontend/src/i18n/locales/ru-RU.ts
+++ b/frontend/src/i18n/locales/ru-RU.ts
@@ -2186,6 +2186,9 @@ export default {
update: "Обновить агента",
copy: "Копировать агента",
},
+ artifact: {
+ list: "Получить список сгенерированных файлов",
+ },
chunk: {
get: "Получить сведения о фрагменте",
update: "Изменить фрагмент",
@@ -2639,10 +2642,229 @@ export default {
mcp: 'Помогу найти и подключить сервисы MCP, разобраться в их инструментах и настроить их для агентов.',
browser: 'Объясню, как подключить браузер, какие задачи можно автоматизировать и какие разрешения нужны.',
model: 'Помогу подключить модели, сравнить их назначение и проверить настройки для вашей задачи.',
- chat: 'Могу обобщить разговор, проверить источники ответов и составить список дальнейших задач.',
+ chat: 'Могу кратко сказать, о чём был этот разговор и что получилось, проверить последний ответ и предложить, что спросить дальше.',
message: 'Могу проверить источники и ключевые сведения этого ответа и подготовить материал для повторного использования.',
artifacts: 'Могу разложить эти файлы по времени и типу, найти диалог, из которого каждый появился, и объяснить, как сохранить результат агента в файл.',
- },
+ organizations: 'Могу показать, какие базы знаний и агенты доступны в каждом общем пространстве, и как создать пространство, вступить в него или пригласить участников.',
+ },
+ settingsPages: {
+ fallback: {
+ description: 'I can explain what this settings page does, what a change affects, and what to configure first.',
+ q1: 'What is this settings page for?',
+ q2: 'What will change if I edit these options?',
+ q3: 'Which settings should I configure first?',
+ },
+ general: {
+ description: 'I can explain language, theme and other personal preferences, and where they apply.',
+ q1: 'Which parts of the UI do these preferences affect?',
+ q2: 'How do I change the language or theme?',
+ q3: 'Which personal settings should I set up first?',
+ },
+ userprofile: {
+ description: 'I can help review and update your account profile, and explain what happens after a change.',
+ q1: 'Where do I change my account details?',
+ q2: 'How do I change my avatar, name or password?',
+ q3: 'Do I need to sign in again after updating my account?',
+ },
+ assistant: {
+ description: 'I can explain the assistant entry points, permission levels, and what it may or may not do for you.',
+ q1: 'What does each assistant permission level mean?',
+ q2: 'How do I put the assistant in the sidebar or the corner?',
+ q3: 'Can the assistant change settings or delete things for me?',
+ },
+ mymemory: {
+ description: 'I can show your personal memories, where they are used, and how to add or delete them.',
+ q1: 'Which personal memories are saved here?',
+ q2: 'How do I add or delete a memory?',
+ q3: 'Which conversations use these memories?',
+ },
+ envvars: {
+ description: 'I can explain where these environment variables are used, and how personal values differ from workspace ones.',
+ q1: 'Which skills or agents use these environment variables?',
+ q2: 'How do I fill in my own secrets safely?',
+ q3: 'What is the difference between workspace and personal variables?',
+ },
+ tenant: {
+ description: 'I can show this workspace’s name, quota and basic info, and what you can edit.',
+ q1: 'What is this workspace’s name and storage quota?',
+ q2: 'How do I change the workspace name or description?',
+ q3: 'What happens when storage is almost full?',
+ },
+ members: {
+ description: 'I can list members and roles, explain invites, and what each role can do.',
+ q1: 'Who is in this workspace, and what are their roles?',
+ q2: 'How do I invite a new member?',
+ q3: 'What can an admin do that a regular member cannot?',
+ },
+ chathistory: {
+ description: 'I can tell you whether chat-history search is on, what it can find, and how to build the index.',
+ q1: 'Is chat-history search turned on?',
+ q2: 'What past conversations can it search after I turn it on?',
+ q3: 'How do I index past conversations?',
+ },
+ memory: {
+ description: 'I can tell workspace memory apart from personal memory, and how to keep workspace conventions.',
+ q1: 'How is workspace memory different from my personal memory?',
+ q2: 'Which memory rules are enabled now?',
+ q3: 'How do I make agents remember this workspace’s conventions?',
+ },
+ ollama: {
+ description: 'I can walk you through connecting local Ollama and adding its models to this workspace.',
+ q1: 'How do I connect a local Ollama instance?',
+ q2: 'How do I add its models to this workspace after connecting?',
+ q3: 'What should I check if Ollama will not connect?',
+ },
+ weknoracloud: {
+ description: 'I can explain which models WeKnora Cloud offers, and how to bind and choose them.',
+ q1: 'Which models does WeKnora Cloud provide?',
+ q2: 'How do I enable or bind a Cloud account?',
+ q3: 'When should I use Cloud models versus ones I connect myself?',
+ },
+ vectorstore: {
+ description: 'I can explain the current vector engine, what changing it does, and how to check it.',
+ q1: 'Which vector search engine is in use now?',
+ q2: 'Will changing the engine affect existing knowledge bases?',
+ q3: 'How do I check that the search engine is working?',
+ },
+ parser: {
+ description: 'I can show the default document parser, which formats need another engine, and what to change after a failure.',
+ q1: 'Which document parser is the default?',
+ q2: 'Which file formats need a different parser?',
+ q3: 'What should I change when document parsing fails?',
+ },
+ storage: {
+ description: 'I can explain where files are stored, how to switch to object storage, and what happens at quota.',
+ q1: 'Where are uploaded files stored right now?',
+ q2: 'How do I switch to object storage?',
+ q3: 'What happens when the storage quota is used up?',
+ },
+ sandbox: {
+ description: 'I can explain what the sandbox runs, how to add a config, and what to check when scripts fail.',
+ q1: 'What is the sandbox used for?',
+ q2: 'How do I add a sandbox configuration?',
+ q3: 'Which sandbox settings should I check when an agent script fails?',
+ },
+ websearch: {
+ description: 'I can show configured web-search providers and how to let agents search the web.',
+ q1: 'Which web search services are configured?',
+ q2: 'How do I give agents web search?',
+ q3: 'Where do I put the search API key?',
+ },
+ system: {
+ description: 'I can tell you the current version, component status, and what to check before an upgrade.',
+ q1: 'What version is this, and what changed recently?',
+ q2: 'How do I check the status of this deployment’s components?',
+ q3: 'What should I review or back up before upgrading?',
+ },
+ 'system-global': {
+ description: 'I can walk through this deployment’s global settings, users and workspaces, and security switches.',
+ q1: 'Which global settings does this deployment have?',
+ q2: 'How do I manage users and workspaces on the platform?',
+ q3: 'What do the security switches control?',
+ },
+ 'system-global-access': {
+ description: 'I can explain the login, signup and access-control switches.',
+ q1: 'What does each access-control switch restrict?',
+ q2: 'How do I turn off open signup or limit sign-in methods?',
+ q3: 'Do I need to restart the service after changing these?',
+ },
+ 'system-global-users': {
+ description: 'I can list platform users, explain roles, and how to disable or adjust an account.',
+ q1: 'Which users are on this platform?',
+ q2: 'How do I disable a user or change their permissions?',
+ q3: 'How is a system admin different from a regular user?',
+ },
+ 'system-global-tenant': {
+ description: 'I can explain workspace policy, default quotas, and what a new workspace inherits.',
+ q1: 'What defaults apply when someone creates a workspace?',
+ q2: 'How do I limit how many workspaces one person can create?',
+ q3: 'What is the default storage quota for a workspace?',
+ },
+ 'system-global-runtime': {
+ description: 'I can explain how runtime, task and resource options affect background work.',
+ q1: 'Which background tasks do these runtime settings affect?',
+ q2: 'How do I limit concurrency or timeouts?',
+ q3: 'When do runtime changes take effect?',
+ },
+ 'system-global-security': {
+ description: 'I can explain security policy, keys and session switches, and the risk of changing them.',
+ q1: 'What does each security switch protect?',
+ q2: 'How do I rotate or revoke a platform-level key?',
+ q3: 'Which security changes affect users who are already signed in?',
+ },
+ 'system-global-other': {
+ description: 'I can explain uncategorized global settings and what to watch before changing them.',
+ q1: 'What are these uncategorized settings for?',
+ q2: 'What does changing one of them affect?',
+ q3: 'Which of these should I avoid changing in production?',
+ },
+ 'model-catalog': {
+ description: 'I can browse the model catalog and explain how to add a vendor model to this workspace.',
+ q1: 'Which vendors and models can I connect from the catalog?',
+ q2: 'How do I add a catalog model to this workspace?',
+ q3: 'What is still missing before I can use a vendor?',
+ },
+ 'runtime-queues': {
+ description: 'I can show stuck task queues and how to retry failed parse or index jobs.',
+ q1: 'Which task queues are stuck right now?',
+ q2: 'How do I retry a failed parse or index job?',
+ q3: 'How do I see the jobs running in a queue?',
+ },
+ 'platform-api-keys': {
+ description: 'I can tell platform keys from workspace keys, and how to create or revoke them.',
+ q1: 'What is the difference between a platform API key and a workspace key?',
+ q2: 'How do I create a key that can only access one workspace?',
+ q3: 'How do I revoke a leaked key immediately?',
+ },
+ 'system-audit-log': {
+ description: 'I can filter audit events, find risky actions, and say how long logs are kept.',
+ q1: 'What high-risk actions happened recently?',
+ q2: 'How do I filter audit records by person or workspace?',
+ q3: 'How long are these logs kept?',
+ },
+ 'integration-im': {
+ description: 'I can walk you through connecting Feishu or WeCom, and what to check when the bot is silent.',
+ q1: 'How do I connect Feishu or WeCom to this workspace?',
+ q2: 'How do people use an agent from the IM chat?',
+ q3: 'What should I check if the bot is not receiving messages?',
+ },
+ 'integration-embed': {
+ description: 'I can explain how to embed the chat widget, and which knowledge bases visitors can use.',
+ q1: 'How do I embed the chat widget on my website?',
+ q2: 'Which knowledge bases or agents can visitors use?',
+ q3: 'Which parameters do I need to change in the embed code?',
+ },
+ 'integration-api': {
+ description: 'I can explain how to start a chat over the API, which auth to send, and show an example.',
+ q1: 'How do I start a conversation through the API?',
+ q2: 'What authentication does a request need?',
+ q3: 'Is there a ready-made request example?',
+ },
+ 'integration-mcpserver': {
+ description: 'I can explain how to expose WeKnora as an MCP server, and which tools it offers.',
+ q1: 'How do I offer WeKnora as an MCP server?',
+ q2: 'How does an external client connect?',
+ q3: 'Which tools does this server expose?',
+ },
+ 'integration-cli': {
+ description: 'I can walk you through installing and signing in to the CLI, and the common commands.',
+ q1: 'How do I install and sign in to the WeKnora CLI?',
+ q2: 'What knowledge-base and chat operations can the CLI do?',
+ q3: 'What are the most useful commands?',
+ },
+ 'integration-chrome': {
+ description: 'I can explain what the browser extension does, how to install it, and where selected text goes.',
+ q1: 'What can the browser extension do?',
+ q2: 'How do I install and sign in to the extension?',
+ q3: 'Where does text I select in the extension get sent?',
+ },
+ 'integration-claw': {
+ description: 'I can explain how to connect WeKnora to Claw, and which skill to install.',
+ q1: 'How do I connect WeKnora to Claw?',
+ q2: 'Which skill do I need to install?',
+ q3: 'What can I do in Claw after it is connected?',
+ },
+ },
startFailed: 'Не удалось запустить ассистента. Попробуйте ещё раз.',
askAboutDocument: 'Спросить: {name}',
chooseAction: "Выберите действие или опишите свою задачу.",
@@ -2777,6 +2999,7 @@ export default {
agent_editor: 'Редактор агента',
settings_models: 'Модели',
mcp_services: 'MCP-сервисы',
+ settings: 'Настройки',
chat: 'Чат'
}
},
@@ -2835,12 +3058,15 @@ export default {
browserTasks: "Какие действия на сайтах можно автоматизировать с помощью браузера?",
browserReconnect: "Как переподключить браузер, если он показан как не в сети?",
messageReuse: "Преврати этот ответ в шаги, которые можно выполнить",
- chatSummary: "К каким выводам мы пришли в этом разговоре?",
- chatOpenQuestions: "Какие вопросы в этом обсуждении остались нерешёнными?",
- chatTodos: "Составь список дел по этому разговору",
+ chatSummary: "О чём спрашивали в этом разговоре и что в итоге получили?",
+ chatCheck: "Не упустил ли и не ошибся ли последний ответ?",
+ chatFollowup: "Исходя из этого разговора, что ещё можно спросить дальше?",
artifactRecent: "Какие файлы были созданы недавно?",
artifactSources: "Из какого диалога появился каждый из этих файлов?",
artifactCreate: "Как сохранить результат агента в файл?",
+ organizationShared: "Какие базы знаний и агенты есть в каждом общем пространстве?",
+ organizationJoin: "Как вступить в существующее общее пространство?",
+ organizationCreate: "Как создать общее пространство и пригласить участников?",
}
},
assistantSettings: {
diff --git a/frontend/src/i18n/locales/zh-CN.ts b/frontend/src/i18n/locales/zh-CN.ts
index f8545507e..8b261aa5a 100755
--- a/frontend/src/i18n/locales/zh-CN.ts
+++ b/frontend/src/i18n/locales/zh-CN.ts
@@ -2188,6 +2188,9 @@ export default {
update: "更新智能体",
copy: "复制智能体",
},
+ artifact: {
+ list: "获取产物库文件列表",
+ },
chunk: {
get: "获取分块详情",
update: "更新分块",
@@ -2641,9 +2644,228 @@ export default {
mcp: '我可以帮你查找和接入 MCP 服务,了解可用工具,并配置给智能体使用。',
browser: '我可以指导你连接浏览器,了解适合自动操作的任务和所需授权。',
model: '我可以帮你接入模型、比较用途,检查配置是否适合当前任务。',
- chat: '我可以梳理对话要点、核对回答来源,并整理出待办事项。',
+ chat: '我可以概括这次对话做了什么,核对最后一轮回答,并帮你想好还能接着问什么。',
message: '我可以追溯这条回答的来源、核对关键信息,帮你整理成可复用的内容。',
artifacts: '我可以按时间和类型整理这些文件,找到它们来自哪次对话,以及怎样让智能体把结果保存下来。',
+ organizations: '我可以帮你看清各共享空间里有哪些知识库和智能体,以及怎样创建、加入或邀请成员。',
+ },
+ settingsPages: {
+ fallback: {
+ description: '我可以解释这个设置页是做什么的,改动会影响什么,以及哪些项建议先配好。',
+ q1: '这个设置页是做什么的?',
+ q2: '改这里会影响哪些功能?',
+ q3: '有哪些项建议先配好?',
+ },
+ general: {
+ description: '我可以帮你看清界面、语言和主题这些个人偏好,以及它们会影响哪些地方。',
+ q1: '这些个人偏好分别会影响哪些界面?',
+ q2: '语言和主题要怎么改?',
+ q3: '还有哪些个人设置建议先配好?',
+ },
+ userprofile: {
+ description: '我可以帮你查看和修改账号资料,并说明登录信息改动后会发生什么。',
+ q1: '我的账号信息在哪里改?',
+ q2: '怎样修改头像、昵称或密码?',
+ q3: '改完账号信息后需要重新登录吗?',
+ },
+ assistant: {
+ description: '我可以说明助手入口、权限等级,以及它能代你做什么、不能做什么。',
+ q1: '助手的权限等级分别意味着什么?',
+ q2: '怎样把助手入口放到侧栏或右下角?',
+ q3: '助手能替我改设置或删除内容吗?',
+ },
+ mymemory: {
+ description: '我可以帮你查看个人记忆、说明它们会用在哪些对话,以及怎样增删。',
+ q1: '这里保存了哪些我的个人记忆?',
+ q2: '怎样新增或删除一条记忆?',
+ q3: '这些记忆会用在哪些对话里?',
+ },
+ envvars: {
+ description: '我可以说明这些环境变量会用在哪里,以及个人变量和工作区变量的区别。',
+ q1: '这些环境变量会用在哪些技能或智能体上?',
+ q2: '怎样安全地填写我自己的密钥?',
+ q3: '工作区变量和我个人的变量有什么区别?',
+ },
+ tenant: {
+ description: '我可以帮你看这个空间的名称、配额和基本信息,以及哪些可以改。',
+ q1: '这个空间的名称和存储配额是多少?',
+ q2: '怎样修改空间名称或描述?',
+ q3: '存储快用完时会有什么影响?',
+ },
+ members: {
+ description: '我可以帮你看成员和角色、说明邀请方式,以及各角色能做什么。',
+ q1: '这个空间现在有哪些成员、分别是什么角色?',
+ q2: '怎样邀请新成员加入?',
+ q3: '管理员和普通成员的权限差在哪里?',
+ },
+ chathistory: {
+ description: '我可以说明对话历史检索开了没有、能搜到什么,以及怎样建索引。',
+ q1: '对话历史检索现在开了吗?',
+ q2: '开启后能搜索到哪些历史内容?',
+ q3: '怎样给历史对话建立索引?',
+ },
+ memory: {
+ description: '我可以区分工作区记忆和个人记忆,并说明怎样让智能体记住空间约定。',
+ q1: '工作区记忆和我的个人记忆有什么不同?',
+ q2: '现在启用了哪些记忆规则?',
+ q3: '怎样让智能体记住这个空间的约定?',
+ },
+ ollama: {
+ description: '我可以指导你连接本机 Ollama,并把拉下来的模型加到这个空间。',
+ q1: '怎样连接本机的 Ollama?',
+ q2: '连上之后要怎样把模型加到空间里?',
+ q3: 'Ollama 连不上时通常要检查什么?',
+ },
+ weknoracloud: {
+ description: '我可以说明 WeKnora Cloud 能提供哪些模型,以及怎样开通和选用。',
+ q1: 'WeKnora Cloud 能提供哪些模型?',
+ q2: '怎样开通或绑定 Cloud 账号?',
+ q3: 'Cloud 模型和我自己接入的模型怎么选?',
+ },
+ vectorstore: {
+ description: '我可以说明当前向量检索引擎、换引擎的影响,以及怎样检查是否正常。',
+ q1: '当前用的是哪套向量检索引擎?',
+ q2: '换引擎会影响已经建好的知识库吗?',
+ q3: '怎样检查检索引擎是否工作正常?',
+ },
+ parser: {
+ description: '我可以帮你看默认解析引擎、哪些格式需要换解析器,以及失败时该查哪里。',
+ q1: '当前默认用哪个文档解析引擎?',
+ q2: '哪些文件格式需要换解析器?',
+ q3: '文档解析失败时通常要改哪里?',
+ },
+ storage: {
+ description: '我可以说明文件存在哪里、怎样改到对象存储,以及配额用完怎么办。',
+ q1: '上传的文件现在存在哪里?',
+ q2: '怎样改成对象存储?',
+ q3: '存储配额用完了会怎样?',
+ },
+ sandbox: {
+ description: '我可以说明沙箱用来跑什么、怎样加配置,以及脚本失败时要检查哪些项。',
+ q1: '沙箱是干什么用的?',
+ q2: '怎样新增一套沙箱配置?',
+ q3: '智能体跑脚本失败时,要检查沙箱的哪些设置?',
+ },
+ websearch: {
+ description: '我可以帮你看已接入的搜索服务,并说明怎样给智能体加上联网搜索。',
+ q1: '现在配置了哪些网页搜索服务?',
+ q2: '怎样给智能体加上联网搜索?',
+ q3: '搜索用的密钥要填在哪里?',
+ },
+ system: {
+ description: '我可以告诉你当前版本、组件状态,以及升级前建议核对什么。',
+ q1: '当前版本是什么,最近更新了哪些内容?',
+ q2: '怎样查看这次部署的组件状态?',
+ q3: '升级前需要检查或备份什么?',
+ },
+ 'system-global': {
+ description: '我可以帮你看这套部署的全局配置、用户与空间,以及安全相关开关。',
+ q1: '这套部署的全局配置有哪些?',
+ q2: '怎样管理平台上的用户和空间?',
+ q3: '安全相关的开关分别管什么?',
+ },
+ 'system-global-access': {
+ description: '我可以说明登录、注册和访问控制这些全局开关各自管什么。',
+ q1: '这些访问控制开关分别限制什么?',
+ q2: '怎样关闭开放注册或限制登录方式?',
+ q3: '改完这些开关要重启服务吗?',
+ },
+ 'system-global-users': {
+ description: '我可以帮你查看平台用户、说明角色,以及怎样停用或调整账号。',
+ q1: '平台上现在有哪些用户?',
+ q2: '怎样停用或调整一个用户的权限?',
+ q3: '系统管理员和普通用户差在哪里?',
+ },
+ 'system-global-tenant': {
+ description: '我可以说明平台上的空间策略、默认配额,以及新建空间时会套用什么。',
+ q1: '新建空间时会套用哪些默认设置?',
+ q2: '怎样限制一个人能创建多少个空间?',
+ q3: '空间的默认存储配额是多少?',
+ },
+ 'system-global-runtime': {
+ description: '我可以说明运行时、任务和资源相关的全局选项分别影响什么。',
+ q1: '这些运行时设置会影响哪些后台任务?',
+ q2: '怎样限制并发或超时?',
+ q3: '改完运行时配置何时生效?',
+ },
+ 'system-global-security': {
+ description: '我可以解释安全策略、密钥和会话相关开关,以及改动的风险。',
+ q1: '这些安全开关分别保护什么?',
+ q2: '怎样轮换或作废平台级密钥?',
+ q3: '哪些安全改动会影响已经登录的用户?',
+ },
+ 'system-global-other': {
+ description: '我可以帮你看那些没有归类的全局配置,并说明改动前该注意什么。',
+ q1: '这些未归类的配置是做什么的?',
+ q2: '改其中某一项会影响什么?',
+ q3: '哪些项不建议在生产环境随便改?',
+ },
+ 'model-catalog': {
+ description: '我可以帮你浏览模型目录、说明怎样把厂商模型加到空间。',
+ q1: '目录里有哪些厂商和模型可以接入?',
+ q2: '怎样把目录里的模型加到当前空间?',
+ q3: '某个厂商还缺什么配置才能用?',
+ },
+ 'runtime-queues': {
+ description: '我可以帮你查看任务队列是否卡住,以及失败任务怎样重试。',
+ q1: '现在哪些任务队列卡住了?',
+ q2: '解析或索引失败时要怎么重试?',
+ q3: '怎样查看某个队列里正在跑的任务?',
+ },
+ 'platform-api-keys': {
+ description: '我可以区分平台 Key 和空间 Key,并说明怎样创建和作废。',
+ q1: '平台 API Key 和空间 Key 有什么区别?',
+ q2: '怎样创建一把只能访问某个空间的 Key?',
+ q3: '密钥泄露后要怎么立刻作废?',
+ },
+ 'system-audit-log': {
+ description: '我可以帮你筛选审计记录、找出高风险操作,并说明日志保留多久。',
+ q1: '最近有哪些高风险操作?',
+ q2: '怎样按人、按空间筛选审计记录?',
+ q3: '这些日志会保留多久?',
+ },
+ 'integration-im': {
+ description: '我可以指导你把飞书、企微等 IM 接到这个空间,并排查收不到消息的原因。',
+ q1: '怎样把飞书或企微接到这个空间?',
+ q2: '接入后用户要怎样在 IM 里用智能体?',
+ q3: '机器人收不到消息时要检查什么?',
+ },
+ 'integration-embed': {
+ description: '我可以说明怎样把对话窗口嵌到网站,以及访客能用哪些知识库。',
+ q1: '怎样把对话窗口嵌到自己的网站?',
+ q2: '嵌入后访客能用哪些知识库或智能体?',
+ q3: '嵌入代码里要改哪些参数?',
+ },
+ 'integration-api': {
+ description: '我可以说明怎样用 API 发起对话、要带哪些鉴权,并给出请求示例。',
+ q1: '怎样用 API 发起一次对话?',
+ q2: '调用时要带哪些鉴权信息?',
+ q3: '有没有现成的请求示例?',
+ },
+ 'integration-mcpserver': {
+ description: '我可以说明怎样把 WeKnora 作为 MCP 服务提供出去,以及会暴露哪些工具。',
+ q1: '怎样把 WeKnora 作为 MCP 服务提供出去?',
+ q2: '外部客户端要怎样连接?',
+ q3: '这个服务会暴露哪些工具?',
+ },
+ 'integration-cli': {
+ description: '我可以指导你安装并登录 CLI,并列出常用的知识库和对话命令。',
+ q1: '怎样安装并登录 WeKnora CLI?',
+ q2: 'CLI 能做哪些知识库和对话操作?',
+ q3: '最常用的几条命令是什么?',
+ },
+ 'integration-chrome': {
+ description: '我可以说明浏览器扩展能做什么、怎样安装登录,以及选中内容会发到哪里。',
+ q1: '浏览器扩展能做什么?',
+ q2: '怎样安装并登录这个扩展?',
+ q3: '扩展里选中的内容会发到哪里?',
+ },
+ 'integration-claw': {
+ description: '我可以说明怎样把 WeKnora 接到 Claw,以及需要安装哪个技能。',
+ q1: '怎样把 WeKnora 接到 Claw?',
+ q2: '需要安装哪个技能?',
+ q3: '连上之后能在 Claw 里做什么?',
+ },
},
startFailed: '启动助手失败,请重试',
askAboutDocument: '问 {name}',
@@ -2779,6 +3001,7 @@ export default {
agent_editor: '智能体编辑',
settings_models: '模型管理',
mcp_services: 'MCP 服务',
+ settings: '设置',
chat: '对话'
}
},
@@ -2837,12 +3060,15 @@ export default {
browserTasks: "用浏览器可以自动完成哪些网页操作?",
browserReconnect: "浏览器显示离线时,要怎么重连?",
messageReuse: "把这个回答整理成可以照着做的步骤",
- chatSummary: "这段对话已经得出了哪些结论?",
- chatOpenQuestions: "这段讨论还有哪些问题没有解决?",
- chatTodos: "把这段对话里还要做的事列成清单",
+ chatSummary: "这次对话主要问了什么、得到了哪些结果?",
+ chatCheck: "最后一轮回答有没有漏掉或说错的地方?",
+ chatFollowup: "基于这次对话,还能接着问哪些问题?",
artifactRecent: "最近生成了哪些文件?",
artifactSources: "这些文件分别来自哪次对话?",
artifactCreate: "怎样让智能体把结果保存成文件?",
+ organizationShared: "这些共享空间分别共享了哪些知识库和智能体?",
+ organizationJoin: "怎样加入一个已有的共享空间?",
+ organizationCreate: "怎样创建一个共享空间并邀请成员?",
}
},
assistantSettings: {
diff --git a/frontend/src/i18n/locales/zh-TW.ts b/frontend/src/i18n/locales/zh-TW.ts
index 78470f06a..b3add7161 100644
--- a/frontend/src/i18n/locales/zh-TW.ts
+++ b/frontend/src/i18n/locales/zh-TW.ts
@@ -2188,6 +2188,9 @@ export default {
update: "更新智慧體",
copy: "複製智慧體",
},
+ artifact: {
+ list: "取得產物庫檔案清單",
+ },
chunk: {
get: "取得分塊詳情",
update: "更新分塊",
@@ -2641,9 +2644,228 @@ export default {
mcp: '我可以幫你尋找和接入 MCP 服務,了解可用工具,並設定給智慧代理使用。',
browser: '我可以引導你連接瀏覽器,了解適合自動操作的任務和所需授權。',
model: '我可以幫你接入模型、比較用途,檢查設定是否適合目前任務。',
- chat: '我可以梳理對話重點、核對回答來源,並整理出待辦事項。',
+ chat: '我可以概括這次對話做了什麼,核對最後一輪回答,並幫你想好還能接著問什麼。',
message: '我可以追溯這則回答的來源、核對關鍵資訊,幫你整理成可重複使用的內容。',
artifacts: '我可以按時間和類型整理這些檔案,找到它們來自哪次對話,以及怎樣讓智慧代理把結果儲存下來。',
+ organizations: '我可以幫你看清各共享空間裡有哪些知識庫和智慧代理,以及怎樣建立、加入或邀請成員。',
+ },
+ settingsPages: {
+ fallback: {
+ description: '我可以解释這個設定页是做什麼的,改动会影响什麼,以及哪些项建議先配好。',
+ q1: '這個設定页是做什麼的?',
+ q2: '改這裡会影响哪些功能?',
+ q3: '有哪些项建議先配好?',
+ },
+ general: {
+ description: '我可以帮你看清介面、語言和主題這些個人偏好,以及它们会影响哪些地方。',
+ q1: '這些個人偏好分別会影响哪些介面?',
+ q2: '語言和主題要怎么改?',
+ q3: '还有哪些個人設定建議先配好?',
+ },
+ userprofile: {
+ description: '我可以帮你檢視和修改帳號资料,并說明登入信息改动后会发生什麼。',
+ q1: '我的帳號信息在哪裡改?',
+ q2: '怎樣修改頭像、暱稱或密碼?',
+ q3: '改完帳號信息后需要重新登入吗?',
+ },
+ assistant: {
+ description: '我可以說明助手入口、權限等级,以及它能代你做什麼、不能做什麼。',
+ q1: '助手的權限等级分別意味着什麼?',
+ q2: '怎樣把助手入口放到側欄或右下角?',
+ q3: '助手能替我改設定或删除内容吗?',
+ },
+ mymemory: {
+ description: '我可以帮你檢視個人記憶、說明它们会用在哪些對話,以及怎樣增刪。',
+ q1: '這裡保存了哪些我的個人記憶?',
+ q2: '怎樣新增或删除一条記憶?',
+ q3: '這些記憶会用在哪些對話里?',
+ },
+ envvars: {
+ description: '我可以說明這些环境变量会用在哪裡,以及個人变量和工作区变量的区别。',
+ q1: '這些环境变量会用在哪些技能或智慧代理上?',
+ q2: '怎樣安全地填写我自己的金鑰?',
+ q3: '工作区变量和我個人的变量有什麼区别?',
+ },
+ tenant: {
+ description: '我可以帮你看這個空間的名称、配額和基本信息,以及哪些可以改。',
+ q1: '這個空間的名称和儲存配額是多少?',
+ q2: '怎樣修改空間名称或描述?',
+ q3: '儲存快用完时会有什麼影响?',
+ },
+ members: {
+ description: '我可以帮你看成員和角色、說明邀請方式,以及各角色能做什麼。',
+ q1: '這個空間現在有哪些成員、分別是什麼角色?',
+ q2: '怎樣邀請新成員加入?',
+ q3: '管理員和一般成員的權限差在哪裡?',
+ },
+ chathistory: {
+ description: '我可以說明對話歷史檢索开了没有、能搜到什麼,以及怎樣建索引。',
+ q1: '對話歷史檢索現在开了吗?',
+ q2: '開啟后能搜索到哪些歷史内容?',
+ q3: '怎樣给歷史對話建立索引?',
+ },
+ memory: {
+ description: '我可以區分工作区記憶和個人記憶,并說明怎樣让智慧代理记住空間約定。',
+ q1: '工作区記憶和我的個人記憶有什麼不同?',
+ q2: '現在启用了哪些記憶规则?',
+ q3: '怎樣让智慧代理记住這個空間的約定?',
+ },
+ ollama: {
+ description: '我可以指導你連接本机 Ollama,并把拉下来的模型加到這個空間。',
+ q1: '怎樣連接本机的 Ollama?',
+ q2: '连上之后要怎樣把模型加到空間里?',
+ q3: 'Ollama 连不上时通常要檢查什麼?',
+ },
+ weknoracloud: {
+ description: '我可以說明 WeKnora Cloud 能提供哪些模型,以及怎樣开通和选用。',
+ q1: 'WeKnora Cloud 能提供哪些模型?',
+ q2: '怎樣开通或绑定 Cloud 帳號?',
+ q3: 'Cloud 模型和我自己接入的模型怎么选?',
+ },
+ vectorstore: {
+ description: '我可以說明当前向量檢索引擎、换引擎的影响,以及怎樣檢查是否正常。',
+ q1: '当前用的是哪套向量檢索引擎?',
+ q2: '换引擎会影响已經建好的知识库吗?',
+ q3: '怎樣檢查檢索引擎是否工作正常?',
+ },
+ parser: {
+ description: '我可以帮你看預設解析引擎、哪些格式需要换解析器,以及失败时该查哪裡。',
+ q1: '当前預設用哪个檔案解析引擎?',
+ q2: '哪些檔案格式需要换解析器?',
+ q3: '檔案解析失败时通常要改哪裡?',
+ },
+ storage: {
+ description: '我可以說明檔案存在哪裡、怎樣改到对象儲存,以及配額用完怎么办。',
+ q1: '上傳的檔案現在存在哪裡?',
+ q2: '怎樣改成对象儲存?',
+ q3: '儲存配額用完了会怎樣?',
+ },
+ sandbox: {
+ description: '我可以說明沙箱用来跑什麼、怎樣加配置,以及脚本失败时要檢查哪些项。',
+ q1: '沙箱是干什麼用的?',
+ q2: '怎樣新增一套沙箱配置?',
+ q3: '智慧代理跑脚本失败时,要檢查沙箱的哪些設定?',
+ },
+ websearch: {
+ description: '我可以帮你看已接入的搜索服务,并說明怎樣给智慧代理加上連網搜索。',
+ q1: '現在配置了哪些網頁搜索服务?',
+ q2: '怎樣给智慧代理加上連網搜索?',
+ q3: '搜索用的金鑰要填在哪裡?',
+ },
+ system: {
+ description: '我可以告訴你当前版本、组件状态,以及升級前建議核对什麼。',
+ q1: '当前版本是什麼,最近更新了哪些内容?',
+ q2: '怎樣檢視这次部署的组件状态?',
+ q3: '升級前需要檢查或備份什麼?',
+ },
+ 'system-global': {
+ description: '我可以帮你看这套部署的全局配置、使用者与空間,以及安全相关開關。',
+ q1: '这套部署的全局配置有哪些?',
+ q2: '怎樣管理平台上的使用者和空間?',
+ q3: '安全相关的開關分別管什麼?',
+ },
+ 'system-global-access': {
+ description: '我可以說明登入、註冊和访问控制這些全局開關各自管什麼。',
+ q1: '這些访问控制開關分別限制什麼?',
+ q2: '怎樣關閉开放註冊或限制登入方式?',
+ q3: '改完這些開關要重启服务吗?',
+ },
+ 'system-global-users': {
+ description: '我可以帮你檢視平台使用者、說明角色,以及怎樣停用或调整帳號。',
+ q1: '平台上現在有哪些使用者?',
+ q2: '怎樣停用或调整一个使用者的權限?',
+ q3: '系统管理員和一般使用者差在哪裡?',
+ },
+ 'system-global-tenant': {
+ description: '我可以說明平台上的空間策略、預設配額,以及新建空間时会套用什麼。',
+ q1: '新建空間时会套用哪些預設設定?',
+ q2: '怎樣限制一個人能创建多少个空間?',
+ q3: '空間的預設儲存配額是多少?',
+ },
+ 'system-global-runtime': {
+ description: '我可以說明运行时、任务和资源相关的全局选项分別影响什麼。',
+ q1: '這些运行时設定会影响哪些后台任务?',
+ q2: '怎樣限制並發或逾時?',
+ q3: '改完运行时配置何时生效?',
+ },
+ 'system-global-security': {
+ description: '我可以解释安全策略、金鑰和会话相关開關,以及改动的风险。',
+ q1: '這些安全開關分別保护什麼?',
+ q2: '怎樣輪換或作廢平台级金鑰?',
+ q3: '哪些安全改动会影响已經登入的使用者?',
+ },
+ 'system-global-other': {
+ description: '我可以帮你看那些没有歸類的全局配置,并說明改动前该注意什麼。',
+ q1: '這些未歸類的配置是做什麼的?',
+ q2: '改其中某一项会影响什麼?',
+ q3: '哪些项不建議在正式环境随便改?',
+ },
+ 'model-catalog': {
+ description: '我可以帮你瀏覽模型目錄、說明怎樣把廠商模型加到空間。',
+ q1: '目錄里有哪些廠商和模型可以接入?',
+ q2: '怎樣把目錄里的模型加到当前空間?',
+ q3: '某个廠商还缺什麼配置才能用?',
+ },
+ 'runtime-queues': {
+ description: '我可以帮你檢視任务佇列是否卡住,以及失败任务怎樣重試。',
+ q1: '現在哪些任务佇列卡住了?',
+ q2: '解析或索引失败时要怎么重試?',
+ q3: '怎樣檢視某个佇列里正在跑的任务?',
+ },
+ 'platform-api-keys': {
+ description: '我可以區分平台 Key 和空間 Key,并說明怎樣创建和作廢。',
+ q1: '平台 API Key 和空間 Key 有什麼区别?',
+ q2: '怎樣创建一把只能访问某个空間的 Key?',
+ q3: '金鑰外洩后要怎么立刻作廢?',
+ },
+ 'system-audit-log': {
+ description: '我可以帮你篩選审计记录、找出高风险操作,并說明日志保留多久。',
+ q1: '最近有哪些高风险操作?',
+ q2: '怎樣按人、按空間篩選审计记录?',
+ q3: '這些日志会保留多久?',
+ },
+ 'integration-im': {
+ description: '我可以指導你把飛書、企微等 IM 接到這個空間,并排查收不到消息的原因。',
+ q1: '怎樣把飛書或企微接到這個空間?',
+ q2: '接入后使用者要怎樣在 IM 里用智慧代理?',
+ q3: '机器人收不到消息时要檢查什麼?',
+ },
+ 'integration-embed': {
+ description: '我可以說明怎樣把對話窗口嵌到網站,以及訪客能用哪些知识库。',
+ q1: '怎樣把對話窗口嵌到自己的網站?',
+ q2: '嵌入后訪客能用哪些知识库或智慧代理?',
+ q3: '嵌入代码里要改哪些参数?',
+ },
+ 'integration-api': {
+ description: '我可以說明怎樣用 API 发起對話、要带哪些鑑權,并给出请求範例。',
+ q1: '怎樣用 API 发起一次對話?',
+ q2: '调用时要带哪些鑑權信息?',
+ q3: '有没有现成的请求範例?',
+ },
+ 'integration-mcpserver': {
+ description: '我可以說明怎樣把 WeKnora 作为 MCP 服务提供出去,以及会暴露哪些工具。',
+ q1: '怎樣把 WeKnora 作为 MCP 服务提供出去?',
+ q2: '外部客户端要怎樣連接?',
+ q3: '這個服务会暴露哪些工具?',
+ },
+ 'integration-cli': {
+ description: '我可以指導你安装并登入 CLI,并列出常用的知识库和對話命令。',
+ q1: '怎樣安装并登入 WeKnora CLI?',
+ q2: 'CLI 能做哪些知识库和對話操作?',
+ q3: '最常用的几条命令是什麼?',
+ },
+ 'integration-chrome': {
+ description: '我可以說明瀏覽器擴充功能能做什麼、怎樣安装登入,以及選取内容会发到哪裡。',
+ q1: '瀏覽器擴充功能能做什麼?',
+ q2: '怎樣安装并登入這個擴充功能?',
+ q3: '擴充功能里選取的内容会发到哪裡?',
+ },
+ 'integration-claw': {
+ description: '我可以說明怎樣把 WeKnora 接到 Claw,以及需要安装哪个技能。',
+ q1: '怎樣把 WeKnora 接到 Claw?',
+ q2: '需要安装哪个技能?',
+ q3: '连上之后能在 Claw 里做什麼?',
+ },
},
startFailed: '啟動助手失敗,請重試',
askAboutDocument: '問 {name}',
@@ -2779,6 +3001,7 @@ export default {
agent_editor: '智能體編輯',
settings_models: '模型管理',
mcp_services: 'MCP 服務',
+ settings: '設定',
chat: '對話'
}
},
@@ -2837,12 +3060,15 @@ export default {
browserTasks: "用瀏覽器可以自動完成哪些網頁操作?",
browserReconnect: "瀏覽器顯示離線時,要怎麼重新連線?",
messageReuse: "把這個回答整理成可以照著做的步驟",
- chatSummary: "這段對話已經得出了哪些結論?",
- chatOpenQuestions: "這段討論還有哪些問題沒有解決?",
- chatTodos: "把這段對話裡還要做的事列成清單",
+ chatSummary: "這次對話主要問了什麼、得到了哪些結果?",
+ chatCheck: "最後一輪回答有沒有漏掉或說錯的地方?",
+ chatFollowup: "基於這次對話,還能接著問哪些問題?",
artifactRecent: "最近產生了哪些檔案?",
artifactSources: "這些檔案分別來自哪次對話?",
artifactCreate: "怎樣讓智慧代理把結果儲存成檔案?",
+ organizationShared: "這些共享空間分別共享了哪些知識庫和智慧代理?",
+ organizationJoin: "怎樣加入一個既有的共享空間?",
+ organizationCreate: "怎樣建立一個共享空間並邀請成員?",
}
},
assistantSettings: {
diff --git a/frontend/src/stores/assistant.ts b/frontend/src/stores/assistant.ts
index f9608d261..17acbcc59 100644
--- a/frontend/src/stores/assistant.ts
+++ b/frontend/src/stores/assistant.ts
@@ -18,6 +18,7 @@ export type AssistantPageId =
| 'agent_editor'
| 'settings_models'
| 'mcp_services'
+ | 'settings'
| 'chat'
/** What the user has open, as published by the pages that know it. */
@@ -174,7 +175,7 @@ export function toPageContextPayload(context: AssistantPageContext): PageContext
function contextKey(context: AssistantPageContext | null): string {
if (!context) return ''
return [
- context.page, context.agentId, context.knowledgeBaseId, context.knowledgeId, context.wikiSlug,
+ context.page, context.section, context.agentId, context.knowledgeBaseId, context.knowledgeId, context.wikiSlug,
context.modelId, context.mcpServiceId, context.messageId,
].map(part => part || '').join('|')
}
diff --git a/frontend/src/views/settings/Settings.vue b/frontend/src/views/settings/Settings.vue
index 951e049c1..8e4a4c875 100644
--- a/frontend/src/views/settings/Settings.vue
+++ b/frontend/src/views/settings/Settings.vue
@@ -208,6 +208,7 @@ import { useDeploymentCapabilitiesStore } from '@/stores/deploymentCapabilities'
import { useI18n } from 'vue-i18n'
import { MessagePlugin } from 'tdesign-vue-next'
import { useModalShell } from '@/composables/useModalShell'
+import { useAssistantPageContext } from '@/composables/useAssistantPageContext'
import SettingsModalShell from '@/components/SettingsModalShell.vue'
import ResourceIcon from '@/components/icons/ResourceIcon.vue'
import SystemInfo from './SystemInfo.vue'
@@ -486,6 +487,15 @@ const visible = computed(() => {
return route.path === '/platform/settings' || uiStore.showSettingsModal
})
+useAssistantPageContext(() => {
+ if (!visible.value) return null
+ const panel = typeof route.query.panel === 'string' ? route.query.panel : ''
+ const section = currentSection.value === 'system-global' && panel
+ ? `system-global-${panel}`
+ : currentSection.value
+ return { page: 'settings', section }
+})
+
// 关闭弹窗
const handleClose = () => {
// Blur before unmount so TDesign textarea autosize won't run on a detached node.