feat: upgrade knowledge metadata (#16063)
Support filter knowledge by metadata. Co-authored-by: Joel <iamjoel007@gmail.com> Co-authored-by: NFish <douxc512@gmail.com>
This commit is contained in:
parent
475b8d731e
commit
20376ca951
72 changed files with 4775 additions and 101 deletions
|
|
@ -56,6 +56,7 @@ const translation = {
|
|||
documentsRequestQuota: '{{count,number}}/min Knowledge Request Rate Limit',
|
||||
documentsRequestQuotaTooltip: 'Specifies the total number of actions a workspace can perform per minute within the knowledge base, including dataset creation, deletion, updates, document uploads, modifications, archiving, and knowledge base queries. This metric is used to evaluate the performance of knowledge base requests. For example, if a Sandbox user performs 10 consecutive hit tests within one minute, their workspace will be temporarily restricted from performing the following actions for the next minute: dataset creation, deletion, updates, and document uploads or modifications. ',
|
||||
documentProcessingPriority: ' Document Processing',
|
||||
documentProcessingPriorityUpgrade: 'Process more data with higher accuracy at faster speeds.',
|
||||
priority: {
|
||||
'standard': 'Standard',
|
||||
'priority': 'Priority',
|
||||
|
|
|
|||
|
|
@ -168,6 +168,54 @@ const translation = {
|
|||
preprocessDocument: '{{num}} Preprocess Documents',
|
||||
allKnowledge: 'All Knowledge',
|
||||
allKnowledgeDescription: 'Select to display all knowledge in this workspace. Only the Workspace Owner can manage all knowledge.',
|
||||
embeddingModelNotAvailable: 'Embedding model is unavailable.',
|
||||
metadata: {
|
||||
metadata: 'Metadata',
|
||||
addMetadata: 'Add Metadata',
|
||||
chooseTime: 'Choose a time...',
|
||||
createMetadata: {
|
||||
title: 'New Metadata',
|
||||
back: 'Back',
|
||||
type: 'Type',
|
||||
name: 'Name',
|
||||
namePlaceholder: 'Add metadata name',
|
||||
},
|
||||
checkName: {
|
||||
empty: 'Metadata name cannot be empty',
|
||||
invalid: 'Metadata name can only contain lowercase letters, numbers, and underscores and must start with a lowercase letter',
|
||||
},
|
||||
batchEditMetadata: {
|
||||
editMetadata: 'Edit Metadata',
|
||||
editDocumentsNum: 'Editing {{num}} documents',
|
||||
applyToAllSelectDocument: 'Apply to all selected documents',
|
||||
applyToAllSelectDocumentTip: 'Automatically create all the above edited and new metadata for all selected documents, otherwise editing metadata will only apply to documents with it.',
|
||||
multipleValue: 'Multiple Value',
|
||||
},
|
||||
selectMetadata: {
|
||||
search: 'Search metadata',
|
||||
newAction: 'New Metadata',
|
||||
manageAction: 'Manage',
|
||||
},
|
||||
datasetMetadata: {
|
||||
description: 'You can manage all metadata in this knowledge here. Modifications will be synchronized to every document.',
|
||||
addMetaData: 'Add Metadata',
|
||||
values: '{{num}} Values',
|
||||
disabled: 'Disabled',
|
||||
rename: 'Rename',
|
||||
name: 'Name',
|
||||
namePlaceholder: 'Metadata name',
|
||||
builtIn: 'Built-in',
|
||||
builtInDescription: 'Built-in metadata is automatically extracted and generated. It must be enabled before use and cannot be edited.',
|
||||
deleteTitle: 'Confirm to delete',
|
||||
deleteContent: 'Are you sure you want to delete the metadata "{{name}}"',
|
||||
},
|
||||
documentMetadata: {
|
||||
metadataToolTip: 'Metadata serves as a critical filter that enhances the accuracy and relevance of information retrieval. You can modify and add metadata for this document here.',
|
||||
startLabeling: 'Start Labeling',
|
||||
documentInformation: 'Document Information',
|
||||
technicalParameters: 'Technical Parameters',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
export default translation
|
||||
|
|
|
|||
|
|
@ -429,6 +429,34 @@ const translation = {
|
|||
url: 'Segmented URL',
|
||||
metadata: 'Other metadata',
|
||||
},
|
||||
metadata: {
|
||||
title: 'Metadata Filtering',
|
||||
tip: 'Metadata filtering is the process of using metadata attributes (such as tags, categories, or access permissions) to refine and control the retrieval of relevant information within a system.',
|
||||
options: {
|
||||
disabled: {
|
||||
title: 'Disabled',
|
||||
subTitle: 'Not enabling metadata filtering',
|
||||
},
|
||||
automatic: {
|
||||
title: 'Automatic',
|
||||
subTitle: 'Automatically generate metadata filtering conditions based on user query',
|
||||
desc: 'Automatically generate metadata filtering conditions based on Query Variable',
|
||||
},
|
||||
manual: {
|
||||
title: 'Manual',
|
||||
subTitle: 'Manually add metadata filtering conditions',
|
||||
},
|
||||
},
|
||||
panel: {
|
||||
title: 'Metadata Filter Conditions',
|
||||
conditions: 'Conditions',
|
||||
add: 'Add Condition',
|
||||
search: 'Search metadata',
|
||||
placeholder: 'Enter value',
|
||||
datePlaceholder: 'Choose a time...',
|
||||
select: 'Select variable...',
|
||||
},
|
||||
},
|
||||
},
|
||||
http: {
|
||||
inputVars: 'Input Variables',
|
||||
|
|
@ -517,6 +545,8 @@ const translation = {
|
|||
'all of': 'all of',
|
||||
'exists': 'exists',
|
||||
'not exists': 'not exists',
|
||||
'before': 'before',
|
||||
'after': 'after',
|
||||
},
|
||||
optionName: {
|
||||
image: 'Image',
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ const translation = {
|
|||
documentsRequestQuota: '{{count,number}}/分のナレッジ リクエストのレート制限',
|
||||
documentsRequestQuotaTooltip: 'ナレッジベース内でワークスペースが1分間に実行できる操作の総数を示します。これには、データセットの作成、削除、更新、ドキュメントのアップロード、修正、アーカイブ、およびナレッジベースクエリが含まれます。この指標は、ナレッジベースリクエストのパフォーマンスを評価するために使用されます。例えば、Sandbox ユーザーが1分間に10回連続でヒットテストを実行した場合、そのワークスペースは次の1分間、データセットの作成、削除、更新、ドキュメントのアップロードや修正などの操作を一時的に実行できなくなります。',
|
||||
documentProcessingPriority: '文書処理',
|
||||
documentProcessingPriorityUpgrade: 'より高い精度と高速な速度でデータを処理します。',
|
||||
priority: {
|
||||
'standard': '標準',
|
||||
'priority': '優先',
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ const translation = {
|
|||
documentsRequestQuota: '{{count,number}}/分钟 知识库请求频率限制',
|
||||
documentsRequestQuotaTooltip: '指每分钟内,一个空间在知识库中可执行的操作总数,包括数据集的创建、删除、更新,文档的上传、修改、归档,以及知识库查询等,用于评估知识库请求的性能。例如,Sandbox 用户在 1 分钟内连续执行 10 次命中测试,其工作区将在接下来的 1 分钟内无法继续执行以下操作:数据集的创建、删除、更新,文档的上传、修改等操作。',
|
||||
documentProcessingPriority: '文档处理',
|
||||
documentProcessingPriorityUpgrade: '以更快的速度、更高的精度处理更多的数据。',
|
||||
priority: {
|
||||
'standard': '标准',
|
||||
'priority': '优先',
|
||||
|
|
|
|||
|
|
@ -168,6 +168,54 @@ const translation = {
|
|||
preprocessDocument: '{{num}} 个预处理文档',
|
||||
allKnowledge: '所有知识库',
|
||||
allKnowledgeDescription: '选择以显示该工作区内所有知识库。只有工作区所有者才能管理所有知识库。',
|
||||
embeddingModelNotAvailable: 'Embedding 模型不可用。',
|
||||
metadata: {
|
||||
metadata: '元数据',
|
||||
addMetadata: '添加元数据',
|
||||
chooseTime: '选择时间',
|
||||
createMetadata: {
|
||||
title: '新建元数据',
|
||||
back: '返回',
|
||||
type: '类型',
|
||||
name: '名称',
|
||||
namePlaceholder: '添加元数据名称',
|
||||
},
|
||||
checkName: {
|
||||
empty: '元数据名称不能为空',
|
||||
invalid: '元数据名称只能包含小写字母、数字和下划线,并且必须以小写字母开头',
|
||||
},
|
||||
batchEditMetadata: {
|
||||
editMetadata: '编辑元数据',
|
||||
editDocumentsNum: '编辑 {{num}} 个文档',
|
||||
applyToAllSelectDocument: '应用于所有选定文档',
|
||||
applyToAllSelectDocumentTip: '自动为所有选定文档创建上述编辑和新元数据,否则仅对具有元数据的文档应用编辑。',
|
||||
multipleValue: '多个值',
|
||||
},
|
||||
selectMetadata: {
|
||||
search: '搜索元数据',
|
||||
newAction: '新建元数据',
|
||||
manageAction: '管理',
|
||||
},
|
||||
datasetMetadata: {
|
||||
description: '元数据是关于文档的数据,用于描述文档的属性。元数据可以帮助您更好地组织和管理文档。',
|
||||
addMetaData: '添加元数据',
|
||||
values: '{{num}} 个值',
|
||||
disabled: '已禁用',
|
||||
rename: '重命名',
|
||||
name: '名称',
|
||||
namePlaceholder: '元数据名称',
|
||||
builtIn: '内置',
|
||||
builtInDescription: '内置元数据是系统预定义的元数据,您可以在此处查看和管理内置元数据。',
|
||||
deleteTitle: '确定删除',
|
||||
deleteContent: '你确定要删除元数据 "{{name}}" 吗?',
|
||||
},
|
||||
documentMetadata: {
|
||||
metadataToolTip: '元数据是关于文档的数据,用于描述文档的属性。元数据可以帮助您更好地组织和管理文档。',
|
||||
startLabeling: '开始标注',
|
||||
documentInformation: '文档信息',
|
||||
technicalParameters: '技术参数',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
export default translation
|
||||
|
|
|
|||
|
|
@ -430,6 +430,34 @@ const translation = {
|
|||
url: '分段链接',
|
||||
metadata: '其他元数据',
|
||||
},
|
||||
metadata: {
|
||||
title: '元数据过滤',
|
||||
tip: '元数据过滤是使用元数据属性(例如标签、类别或访问权限)来细化和控制系统内相关信息的检索过程。',
|
||||
options: {
|
||||
disabled: {
|
||||
title: '禁用',
|
||||
subTitle: '禁用元数据过滤',
|
||||
},
|
||||
automatic: {
|
||||
title: '自动',
|
||||
subTitle: '根据用户查询自动生成元数据过滤条件',
|
||||
desc: '根据 Query Variable 自动生成元数据过滤条件',
|
||||
},
|
||||
manual: {
|
||||
title: '手动',
|
||||
subTitle: '手动添加元数据过滤条件',
|
||||
},
|
||||
},
|
||||
panel: {
|
||||
title: '元数据过滤条件',
|
||||
conditions: '条件',
|
||||
add: '添加条件',
|
||||
search: '搜索元数据',
|
||||
placeholder: '输入值',
|
||||
datePlaceholder: '选择日期...',
|
||||
select: '选择变量...',
|
||||
},
|
||||
},
|
||||
},
|
||||
http: {
|
||||
inputVars: '输入变量',
|
||||
|
|
@ -518,6 +546,8 @@ const translation = {
|
|||
'all of': '全部是',
|
||||
'exists': '存在',
|
||||
'not exists': '不存在',
|
||||
'before': '早于',
|
||||
'after': '晚于',
|
||||
},
|
||||
optionName: {
|
||||
image: '图片',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue