Feat: Add tag_kwd parameter to chunk configuration modal #4368 (#4414)

### What problem does this PR solve?

Feat: Add tag_kwd parameter to chunk configuration modal  #4368

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-01-08 19:45:34 +08:00
committed by GitHub
parent 3d66d78304
commit af43cb04e8
13 changed files with 204 additions and 13 deletions

View File

@ -325,6 +325,19 @@ The above is the content you need to summarize.`,
searchTags: 'Search tags',
tagCloud: 'Cloud',
tagTable: 'Table',
tagSet: 'Tag set',
tagSetTip: `
<p> Selecting the 'Tag' knowledge bases helps to tag every chunks. </p>
<p>Query to those chunks will also be with tags too.</p>
This procedure will improve precision of retrieval by adding more information to the dataset, especially when there's a large set of chunks.
<p>Difference between tags and keywords:</p>
<ul>
<li>Tag is a close set which is defined and manipulated by user while keyword is an open set.</li>
<li>You need to upload tag sets with samples prior to use.</li>
<li>Keywords are generated by LLM which is expensive and time consuming.</li>
</ul>
`,
topnTags: 'Top-N Tags',
},
chunk: {
chunk: 'Chunk',

View File

@ -309,6 +309,19 @@ export default {
searchTags: '搜尋標籤',
tagCloud: '雲端',
tagTable: '表',
tagSet: '標籤庫',
topnTags: 'Top-N 標籤',
tagSetTip: `
<p> 選擇「標籤」知識庫有助於標記每個區塊。 </p>
<p>對這些區塊的查詢也將帶有標籤。
此過程將透過向資料集添加更多資訊來提高檢索精度,特別是當存在大量區塊時。
<p>標籤和關鍵字的差異:</p>
<ul>
<li>標籤是一個閉集,由使用者定義和操作,而關鍵字是一個開集。
<li>您需要在使用前上傳包含範例的標籤集。
<li>關鍵字由 LLM 生成,既昂貴又耗時。
</ul>
`,
},
chunk: {
chunk: '解析塊',

View File

@ -326,6 +326,19 @@ export default {
searchTags: '搜索标签',
tagCloud: '云',
tagTable: '表',
tagSet: '标签库',
topnTags: 'Top-N 标签',
tagSetTip: `
<p> 选择“标签”知识库有助于标记每个块。 </p>
<p>对这些块的查询也将带有标签。 </p>
此过程将通过向数据集添加更多信息来提高检索的准确性,尤其是在存在大量块的情况下。
<p>标签和关键字之间的区别:</p>
<ul>
<li>标签是一个由用户定义和操作的封闭集,而关键字是一个开放集。 </li>
<li>您需要在使用前上传带有样本的标签集。 </li>
<li>关键字由 LLM 生成,这既昂贵又耗时。 </li>
</ul>
`,
},
chunk: {
chunk: '解析块',