mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-11 16:29:00 +08:00
### What problem does this PR solve? Feat: Add tooltip to delimiter filed #1909 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
parent
b2abc36baa
commit
a19210daf1
@ -25,6 +25,7 @@ const Delimiter = () => {
|
||||
label={t('knowledgeDetails.delimiter')}
|
||||
initialValue={`\\n!?;。;!?`}
|
||||
rules={[{ required: true }]}
|
||||
tooltip={t('knowledgeDetails.delimiterTip')}
|
||||
>
|
||||
<DelimiterInput />
|
||||
</Form.Item>
|
||||
|
@ -157,6 +157,8 @@ export default {
|
||||
topK: 'Top-K',
|
||||
topKTip: `K chunks will be fed into rerank models.`,
|
||||
delimiter: `Delimiter`,
|
||||
delimiterTip:
|
||||
'Supports multiple characters as separators, and the multiple character separators are wrapped with `. For example, if it is configured like this: \n`##`; then the text will be separated by line breaks, two #s and a semicolon, and then assembled according to the size of the "token number".',
|
||||
html4excel: 'Excel to HTML',
|
||||
html4excelTip: `When enabled, the spreadsheet will be parsed into HTML tables; otherwise, it will be parsed into key-value pairs by row.`,
|
||||
autoKeywords: 'Auto-keyword',
|
||||
|
@ -153,6 +153,8 @@ export default {
|
||||
topK: 'Top-K',
|
||||
topKTip: `K塊將被送入Rerank型號。`,
|
||||
delimiter: `分段標識符`,
|
||||
delimiterTip:
|
||||
'支援多字元作為分隔符,多字元分隔符用`包裹。如配置成這樣:\n`##`;那麼就會用換行,兩個#以及分號先對文字進行分割,然後按照「 token number」大小進行拼裝。',
|
||||
html4excel: '表格轉HTML',
|
||||
html4excelTip: `Excel 是否會被解析為 HTML 表格。如果為 FALSE,Excel 中的每一行都會形成一個區塊。`,
|
||||
autoKeywords: '自動關鍵字',
|
||||
|
@ -154,6 +154,8 @@ export default {
|
||||
topK: 'Top-K',
|
||||
topKTip: `K块将被送入Rerank型号。`,
|
||||
delimiter: `分段标识符`,
|
||||
delimiterTip:
|
||||
'支持多字符作为分隔符,多字符分隔符用`包裹。如配置成这样:\n`##`;那么就会用换行,两个#以及分号先对文本进行分割,然后按照“ token number”大小进行拼装。',
|
||||
html4excel: '表格转HTML',
|
||||
html4excelTip: `Excel 是否将被解析为 HTML 表。如果为 FALSE,Excel 中的每一行都将形成一个块。`,
|
||||
autoKeywords: '自动关键词',
|
||||
|
Loading…
x
Reference in New Issue
Block a user