mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-03 19:15:30 +08:00
### What problem does this PR solve? Feat: Metadata in documents for improve the prompt #3690 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -166,6 +166,28 @@ export default {
|
||||
autoQuestions: '自动问题',
|
||||
autoQuestionsTip: `在查询此类问题时,为每个块提取 N 个问题以提高其排名得分。在“系统模型设置”中设置的 LLM 将消耗额外的 token。您可以在块列表中查看结果。如果发生错误,此功能不会破坏整个分块过程,除了将空结果添加到原始块。`,
|
||||
redo: '是否清空已有 {{chunkNum}}个 chunk?',
|
||||
setMetaData: '设置元数据',
|
||||
pleaseInputJson: '请输入JSON',
|
||||
documentMetaTips: `<p>元数据为 Json 格式(不可搜索)。如果提示中包含此文档的任何块,它将被添加到 LLM 的提示中。</p>
|
||||
<p>示例:</p>
|
||||
<b>元数据为:</b><br>
|
||||
<code>
|
||||
{
|
||||
“作者”:“Alex Dowson”,
|
||||
“日期”:“2024-11-12”
|
||||
}
|
||||
</code><br>
|
||||
<b>提示将为:</b><br>
|
||||
<p>文档:the_name_of_document</p>
|
||||
<p>作者:Alex Dowson</p>
|
||||
<p>日期:2024-11-12</p>
|
||||
<p>相关片段如下:</p>
|
||||
<ul>
|
||||
<li> 这是块内容....</li>
|
||||
<li> 这是块内容....</li>
|
||||
</ul>
|
||||
`,
|
||||
metaData: '元資料',
|
||||
},
|
||||
knowledgeConfiguration: {
|
||||
titleDescription: '在这里更新您的知识库详细信息,尤其是解析方法。',
|
||||
|
||||
Reference in New Issue
Block a user