-
+ {/* Only me */}
+
+ }
+ text={t('datasetSettings.form.permissionsOnlyMe')}
+ onClick={onSelectOnlyMe}
+ isSelected={isOnlyMe}
+ />
+ {/* All team members */}
+
+
+ )
+}
+
+export default React.memo(PermissionItem)
diff --git a/web/i18n/en-US/dataset-settings.ts b/web/i18n/en-US/dataset-settings.ts
index bf10bed436..f6b50b9b3b 100644
--- a/web/i18n/en-US/dataset-settings.ts
+++ b/web/i18n/en-US/dataset-settings.ts
@@ -3,9 +3,10 @@ const translation = {
desc: 'Here you can modify the properties and retrieval settings of this Knowledge.',
form: {
name: 'Knowledge Name',
+ nameAndIcon: 'Name & Icon',
namePlaceholder: 'Please enter the Knowledge name',
nameError: 'Name cannot be empty',
- desc: 'Knowledge Description',
+ desc: 'Description',
descInfo: 'Please write a clear textual description to outline the content of the Knowledge. This description will be used as a basis for matching when selecting from multiple Knowledge for inference.',
descPlaceholder: 'Describe what is in this data set. A detailed description allows AI to access the content of the data set in a timely manner. If empty, LangGenius will use the default hit strategy.',
helpText: 'Learn how to write a good dataset description.',
@@ -15,6 +16,12 @@ const translation = {
permissionsAllMember: 'All team members',
permissionsInvitedMembers: 'Partial team members',
me: '(You)',
+ onSearchResults: 'No members match your search query.\nTry your search again.',
+ chunkStructure: {
+ title: 'Chunk Structure',
+ learnMore: 'Learn more',
+ description: ' about Chunk Structure.',
+ },
indexMethod: 'Index Method',
indexMethodHighQuality: 'High Quality',
indexMethodHighQualityTip: 'Calling the embedding model to process documents for more precise retrieval helps LLM generate high-quality answers.',
diff --git a/web/i18n/zh-Hans/dataset-settings.ts b/web/i18n/zh-Hans/dataset-settings.ts
index f23355dbe1..f3d5ff6dc0 100644
--- a/web/i18n/zh-Hans/dataset-settings.ts
+++ b/web/i18n/zh-Hans/dataset-settings.ts
@@ -3,9 +3,10 @@ const translation = {
desc: '在这里,您可以修改此知识库的属性和检索设置',
form: {
name: '知识库名称',
+ nameAndIcon: '名称和图标',
namePlaceholder: '请输入知识库名称',
nameError: '名称不能为空',
- desc: '知识库描述',
+ desc: '描述',
descInfo: '请写出清楚的文字描述来概述知识库的内容。当从多个知识库中进行选择匹配时,该描述将用作匹配的基础。',
descPlaceholder: '描述该数据集的内容。详细描述可以让 AI 更快地访问数据集的内容。如果为空,LangGenius 将使用默认的命中策略。',
helpText: '学习如何编写一份优秀的数据集描述。',
@@ -15,6 +16,12 @@ const translation = {
permissionsAllMember: '所有团队成员',
permissionsInvitedMembers: '部分团队成员',
me: '(你)',
+ onSearchResults: '没有成员匹配您的搜索查询。\n请尝试其他关键词。',
+ chunkStructure: {
+ title: '分段模式',
+ learnMore: '了解更多',
+ description: '关于分段模式。',
+ },
indexMethod: '索引模式',
indexMethodHighQuality: '高质量',
indexMethodHighQualityTip: '调用嵌入模型来处理文档以实现更精确的检索,可以帮助大语言模型生成高质量的回答。',
diff --git a/web/service/datasets.ts b/web/service/datasets.ts
index 0380218ae0..f145f2b421 100644
--- a/web/service/datasets.ts
+++ b/web/service/datasets.ts
@@ -57,7 +57,7 @@ export const fetchDatasetDetail: Fetcher = (datasetId: string)
export const updateDatasetSetting: Fetcher>
}> = ({ datasetId, body }) => {
return patch(`/datasets/${datasetId}`, { body })