diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts index 1a04f2c3da..7d83c155a1 100644 --- a/web/src/locales/en.ts +++ b/web/src/locales/en.ts @@ -350,6 +350,8 @@ Procedural Memory: Learned skills, habits, and automated procedures.`, action: 'Action', }, config: { + titleDescription: + 'Update your memory configuration here, particularly the LLM and prompts.', descriptionPlaceholder: 'Describe your memory', memorySizeTooltip: `Accounts for each message's content + its embedding vector (≈ Content + Dimensions × 8 Bytes). Example: A 1 KB message with 1024-dim embedding uses ~9 KB. The 5 MB default limit holds ~500 such messages.`, @@ -501,7 +503,7 @@ Example: A 1 KB message with 1024-dim embedding uses ~9 KB. The 5 MB default lim testing: 'Retrieval testing', files: 'files', configuration: 'Configuration', - nextConfiguration: 'Next configuration', + nextConfiguration: 'Dataset configuration', knowledgeGraph: 'Knowledge graph', compilation: 'Compilation', export: 'Export', diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts index b8654a1f25..736b637a2a 100644 --- a/web/src/locales/zh.ts +++ b/web/src/locales/zh.ts @@ -310,6 +310,7 @@ export default { action: '操作', }, config: { + titleDescription: '在这里更新您的记忆配置,特别是大语言模型和提示词。', descriptionPlaceholder: '描述你的记忆', memorySizeTooltip: `记录每条消息的内容 + 其嵌入向量(≈ 内容 + 维度 × 8 字节)。 例如:一条带有 1024 维嵌入的 1 KB 消息大约使用 9 KB。5 MB 的默认限制大约可容纳 500 条此类消息。`, @@ -447,7 +448,7 @@ export default { dataset: '知识库', testing: '检索测试', configuration: '配置', - nextConfiguration: '下个配置', + nextConfiguration: '知识库配置', knowledgeGraph: '知识图谱', compilation: '编译', export: '导出', @@ -678,7 +679,7 @@ export default { parseType: '解析方法', manualSetup: '选择pipeline', builtIn: '内置', - titleDescription: '在这里更新您的记忆配置,特别是大语言模型和提示词。', + titleDescription: '在这里更新您的知识库配置,特别是大语言模型和提示词。', name: '知识库名称', photo: '知识库图片', photoTip: '你可以上传4MB的文件', diff --git a/web/src/pages/memory/memory-setting/index.tsx b/web/src/pages/memory/memory-setting/index.tsx index 978c6d074e..93ddb39cd7 100644 --- a/web/src/pages/memory/memory-setting/index.tsx +++ b/web/src/pages/memory/memory-setting/index.tsx @@ -72,42 +72,42 @@ export default function MemoryMessage() {
{})} className="space-y-6 "> -
- -
- {t('knowledgeConfiguration.baseInfo')} -
- - - - -
-
-
- - { - console.log('form-value', value); - onSubmit(value as IMemory); - }} - > -
-
+
+ +
+ {t('knowledgeConfiguration.baseInfo')} +
+ + + + +
+
+
+ + { + console.log('form-value', value); + onSubmit(value as IMemory); + }} + > +
+