docs: change knowledge base documents chunk max limit

This commit is contained in:
kangfenmao 2025-02-12 14:36:56 +08:00
parent ce66f2e2ea
commit 1b3ae92854
6 changed files with 26 additions and 27 deletions

View File

@ -436,7 +436,6 @@
"notion.api_key": "Notion API Key",
"notion.database_id": "Notion Database ID",
"notion.title": "Notion Configuration"
},
"quickAssistant": {
"title": "Quick Assistant",
@ -677,8 +676,8 @@
"chunk_overlap": "Chunk Overlap",
"not_set": "Not Set",
"settings": "Knowledge Base Settings",
"document_count": "Requested Document Count",
"document_count_help": "The more documents requested, the more information is included, but the more tokens are consumed",
"document_count": "Requested Document Chunks",
"document_count_help": "The more document chunks requested, the more information is included, but the more tokens are consumed",
"document_count_default": "Default",
"chunk_size_placeholder": "Default (not recommended to change)",
"chunk_overlap_placeholder": "Default (not recommended to change)",

View File

@ -655,8 +655,8 @@
"chunk_overlap": "チャンクの重なり",
"not_set": "未設定",
"settings": "ナレッジベース設定",
"document_count": "要求されたドキュメント数",
"document_count_help": "要求されたドキュメント数が多いほど、付随する情報が多くなりますが、トークンの消費量も増加します",
"document_count": "要求されたドキュメント分段数",
"document_count_help": "要求されたドキュメント分段数が多いほど、付随する情報が多くなりますが、トークンの消費量も増加します",
"document_count_default": "デフォルト",
"chunk_size_placeholder": "デフォルト(変更しないでください)",
"chunk_overlap_placeholder": "デフォルト(変更しないでください)",

View File

@ -521,7 +521,7 @@
"add.type": "提供商类型",
"api.url.preview": "预览: {{url}}",
"api.url.reset": "重置",
"api.url.tip": "/结尾忽略v1版本#结尾制使用输入地址",
"api.url.tip": "/结尾忽略v1版本#结尾制使用输入地址",
"api_host": "API 地址",
"api_key": "API 密钥",
"api_key.tip": "多个密钥使用逗号分隔",
@ -663,8 +663,8 @@
"chunk_overlap": "重叠大小",
"not_set": "未设置",
"settings": "知识库设置",
"document_count": "请求文档数量",
"document_count_help": "请求文档数量越多,附带的信息越多,但需要消耗的 Token 也越多",
"document_count": "请求文档分段数量",
"document_count_help": "请求文档分段数量越多,附带的信息越多,但需要消耗的 Token 也越多",
"document_count_default": "默认",
"chunk_size_placeholder": "默认值(不建议修改)",
"chunk_overlap_placeholder": "默认值(不建议修改)",

View File

@ -662,8 +662,8 @@
"chunk_overlap": "重疊大小",
"not_set": "未設置",
"settings": "知識庫設定",
"document_count": "請求文件數量",
"document_count_help": "請求文件數量越多,附帶的資訊越多,但需要消耗的 Token 也越多",
"document_count": "請求文件分段數量",
"document_count_help": "請求文件分段數量越多,附帶的資訊越多,但需要消耗的 Token 也越多",
"document_count_default": "預設",
"chunk_size_placeholder": "預設值(不建議修改)",
"chunk_overlap_placeholder": "預設值(不建議修改)",

View File

@ -121,9 +121,9 @@ const PopupContainer: React.FC<Props> = ({ base: _base, resolve }) => {
<Slider
style={{ width: '100%' }}
min={1}
max={15}
max={30}
step={1}
marks={{ 1: '1', 6: t('knowledge.document_count_default'), 15: '15' }}
marks={{ 1: '1', 6: t('knowledge.document_count_default'), 30: '30' }}
/>
</Form.Item>