Revert "Feat/parent child retrieval" (#12095)
This commit is contained in:
@@ -4,9 +4,9 @@ const translation = {
|
||||
creation: 'Create Knowledge',
|
||||
update: 'Add data',
|
||||
},
|
||||
one: 'Data Source',
|
||||
two: 'Document Processing',
|
||||
three: 'Execute & Finish',
|
||||
one: 'Choose data source',
|
||||
two: 'Text Preprocessing and Cleaning',
|
||||
three: 'Execute and finish',
|
||||
},
|
||||
error: {
|
||||
unavailable: 'This Knowledge is not available',
|
||||
@@ -47,7 +47,6 @@ const translation = {
|
||||
notionSyncTitle: 'Notion is not connected',
|
||||
notionSyncTip: 'To sync with Notion, connection to Notion must be established first.',
|
||||
connect: 'Go to connect',
|
||||
cancel: 'Cancel',
|
||||
button: 'Next',
|
||||
emptyDatasetCreation: 'I want to create an empty Knowledge',
|
||||
modal: {
|
||||
@@ -95,49 +94,36 @@ const translation = {
|
||||
},
|
||||
},
|
||||
stepTwo: {
|
||||
segmentation: 'Chunk Settings',
|
||||
segmentation: 'Chunk settings',
|
||||
auto: 'Automatic',
|
||||
autoDescription: 'Automatically set chunk and preprocessing rules. Unfamiliar users are recommended to select this.',
|
||||
custom: 'Custom',
|
||||
customDescription: 'Customize chunks rules, chunks length, and preprocessing rules, etc.',
|
||||
general: 'General',
|
||||
generalTip: 'General text chunking mode, the chunks retrieved and recalled are the same.',
|
||||
parentChild: 'Parent-child',
|
||||
parentChildTip: 'When using the parent-child mode, the child-chunk is used for retrieval and the parent-chunk is used for recall as context.',
|
||||
parentChunkForContext: 'Parent-chunk for Context',
|
||||
childChunkForRetrieval: 'Child-chunk for Retrieval',
|
||||
paragraph: 'Paragraph',
|
||||
paragraphTip: 'This mode splits the text in to paragraphs based on delimiters and the maximum chunk length, using the split text as the parent chunk for retrieval.',
|
||||
fullDoc: 'Full Doc',
|
||||
fullDocTip: 'The entire document is used as the parent chunk and retrieved directly. Please note that for performance reasons, text exceeding 10000 tokens will be automatically truncated.',
|
||||
separator: 'Delimiter',
|
||||
separatorTip: 'A delimiter is the character used to separate text. \\n\\n and \\n are commonly used delimiters for separating paragraphs and lines. Combined with commas (\\n\\n,\\n), paragraphs will be segmented by lines when exceeding the maximum chunk length. You can also use special delimiters defined by yourself (e.g. ***).',
|
||||
separatorPlaceholder: '\\n\\n for paragraphs; \\n for lines',
|
||||
separatorPlaceholder: '\\n\\n for separating paragraphs; \\n for separating lines',
|
||||
maxLength: 'Maximum chunk length',
|
||||
maxLengthCheck: 'Maximum chunk length should be less than {{limit}}',
|
||||
overlap: 'Chunk overlap',
|
||||
overlapTip: 'Setting the chunk overlap can maintain the semantic relevance between them, enhancing the retrieve effect. It is recommended to set 10%-25% of the maximum chunk size.',
|
||||
overlapCheck: 'chunk overlap should not bigger than maximum chunk length',
|
||||
rules: 'Text Pre-processing Rules',
|
||||
rules: 'Text preprocessing rules',
|
||||
removeExtraSpaces: 'Replace consecutive spaces, newlines and tabs',
|
||||
removeUrlEmails: 'Delete all URLs and email addresses',
|
||||
removeStopwords: 'Remove stopwords such as "a", "an", "the"',
|
||||
preview: 'Preview',
|
||||
previewChunk: 'Preview Chunk',
|
||||
preview: 'Confirm & Preview',
|
||||
reset: 'Reset',
|
||||
indexMode: 'Index Method',
|
||||
indexMode: 'Index mode',
|
||||
qualified: 'High Quality',
|
||||
highQualityTip: 'Once finishing embedding in High Quality mode, reverting to Economical mode is not available.',
|
||||
recommend: 'Recommend',
|
||||
qualifiedTip: 'Calling the embedding model to process documents for more precise retrieval helps LLM generate high-quality answers.',
|
||||
qualifiedTip: 'Call default system embedding interface for processing to provide higher accuracy when users query.',
|
||||
warning: 'Please set up the model provider API key first.',
|
||||
click: 'Go to settings',
|
||||
economical: 'Economical',
|
||||
economicalTip: 'Using 10 keywords per chunk for retrieval, no tokens are consumed at the expense of reduced retrieval accuracy.',
|
||||
economicalTip: 'Use offline vector engines, keyword indexes, etc. to reduce accuracy without spending tokens',
|
||||
QATitle: 'Segmenting in Question & Answer format',
|
||||
QATip: 'Enable this option will consume more tokens',
|
||||
QALanguage: 'Segment using',
|
||||
useQALanguage: 'Chunk using Q&A format in',
|
||||
estimateCost: 'Estimation',
|
||||
estimateSegment: 'Estimated chunks',
|
||||
segmentCount: 'chunks',
|
||||
@@ -167,19 +153,10 @@ const translation = {
|
||||
indexSettingTip: 'To change the index method & embedding model, please go to the ',
|
||||
retrievalSettingTip: 'To change the retrieval setting, please go to the ',
|
||||
datasetSettingLink: 'Knowledge settings.',
|
||||
previewChunkTip: 'Click the \'Preview Chunk\' button on the left to load the preview',
|
||||
previewChunkCount: '{{count}} Estimated chunks',
|
||||
switch: 'Switch',
|
||||
qaSwitchHighQualityTipTitle: 'Q&A Format Requires High-quality Indexing Method',
|
||||
qaSwitchHighQualityTipContent: 'Currently, only high-quality index method supports Q&A format chunking. Would you like to switch to high-quality mode?',
|
||||
notAvailableForParentChild: 'Not available for Parent-child Index',
|
||||
notAvailableForQA: 'Not available for Q&A Index',
|
||||
parentChildDelimiterTip: 'A delimiter is the character used to separate text. \\n\\n is recommended for splitting the original document into large parent chunks. You can also use special delimiters defined by yourself.',
|
||||
parentChildChunkDelimiterTip: 'A delimiter is the character used to separate text. \\n is recommended for splitting parent chunks into small child chunks. You can also use special delimiters defined by yourself.',
|
||||
},
|
||||
stepThree: {
|
||||
creationTitle: '🎉 Knowledge created',
|
||||
creationContent: 'We automatically named the Knowledge, you can modify it at any time.',
|
||||
creationContent: 'We automatically named the Knowledge, you can modify it at any time',
|
||||
label: 'Knowledge name',
|
||||
additionTitle: '🎉 Document uploaded',
|
||||
additionP1: 'The document has been uploaded to the Knowledge',
|
||||
@@ -194,11 +171,6 @@ const translation = {
|
||||
modelButtonConfirm: 'Confirm',
|
||||
modelButtonCancel: 'Cancel',
|
||||
},
|
||||
otherDataSource: {
|
||||
title: 'Connect to other data sources?',
|
||||
description: 'Currently, Dify\'s knowledge base only has limited data sources. Contributing a data source to the Dify knowledge base is a fantastic way to help enhance the platform\'s flexibility and power for all users. Our contribution guide makes it easy to get started. Please click on the link below to learn more.',
|
||||
learnMore: 'Learn more',
|
||||
},
|
||||
}
|
||||
|
||||
export default translation
|
||||
|
Reference in New Issue
Block a user