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

@ -433,10 +433,9 @@
"webdav.noSync": "Waiting for next backup",
"webdav.syncError": "Backup Error",
"webdav.lastSync": "Last Backup",
"notion.api_key":"Notion API Key",
"notion.database_id":"Notion Database ID",
"notion.title":"Notion Configuration"
"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

@ -424,9 +424,9 @@
"webdav.noSync": "次回のバックアップを待っています",
"webdav.syncError": "バックアップエラー",
"webdav.lastSync": "最終同期",
"notion.api_key":"Notion APIキー",
"notion.database_id":"Notion データベースID",
"notion.title":"Notion 設定"
"notion.api_key": "Notion APIキー",
"notion.database_id": "Notion データベースID",
"notion.title": "Notion 設定"
},
"quickAssistant": {
"title": "クイックアシスタント",
@ -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

@ -425,9 +425,9 @@
"webdav.noSync": "Ожидание следующего резервного копирования",
"webdav.syncError": "Ошибка резервного копирования",
"webdav.lastSync": "Последняя синхронизация",
"notion.api_key":"Ключ API Notion",
"notion.database_id":"ID базы данных Notion",
"notion.title":"Настройки Notion"
"notion.api_key": "Ключ API Notion",
"notion.database_id": "ID базы данных Notion",
"notion.title": "Настройки Notion"
},
"quickAssistant": {
"title": "Быстрый помощник",

View File

@ -123,8 +123,8 @@
"topics.list": "话题列表",
"topics.move_to": "移动到",
"topics.title": "话题",
"topics.pinned":"固定话题",
"topics.unpinned":"取消固定",
"topics.pinned": "固定话题",
"topics.unpinned": "取消固定",
"translate": "翻译",
"resend": "重新发送",
"thinking": "思考中",
@ -302,10 +302,10 @@
"group.delete.title": "删除分组消息",
"group.delete.content": "删除分组消息会删除用户提问和所有助手的回答",
"mention.title": "切换模型回答",
"error.notion.export":"Notion 导入失败",
"error.notion.no_api_key":"未配置Notion ApiKey或Notion DatabaseID",
"success.notion.export":"导入Notion成功",
"warn.notion.exporting":"Notion正在导入请勿重复导入",
"error.notion.export": "Notion 导入失败",
"error.notion.no_api_key": "未配置Notion ApiKey或Notion DatabaseID",
"success.notion.export": "导入Notion成功",
"warn.notion.exporting": "Notion正在导入请勿重复导入",
"citations": "引用内容"
},
"minapp": {
@ -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>