+ {Array.isArray(tagChild) && tagChild.length > 0 && (
{
>
{tagChild}
-
+ )}
{inputVisible ? (
{
)}
- >
+
);
};
diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts
index 104b91fffd6..4e44cf98efd 100644
--- a/web/src/locales/en.ts
+++ b/web/src/locales/en.ts
@@ -326,6 +326,7 @@ The above is the content you need to summarize.`,
graph: 'Knowledge graph',
mind: 'Mind map',
question: 'Question',
+ questionTip: `If there're given questions, the embedding of the chunk will be based on them.`,
},
chat: {
newConversation: 'New conversation',
diff --git a/web/src/locales/zh-traditional.ts b/web/src/locales/zh-traditional.ts
index 9cbc6f86039..a015f0e9afc 100644
--- a/web/src/locales/zh-traditional.ts
+++ b/web/src/locales/zh-traditional.ts
@@ -310,6 +310,7 @@ export default {
graph: '知識圖譜',
mind: '心智圖',
question: '問題',
+ questionTip: `如果存在給定的問題,則區塊的嵌入將基於它們。`,
},
chat: {
newConversation: '新會話',
diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts
index e4fc4a8b8d0..2b8f8a0e464 100644
--- a/web/src/locales/zh.ts
+++ b/web/src/locales/zh.ts
@@ -327,6 +327,7 @@ export default {
graph: '知识图谱',
mind: '思维导图',
question: '问题',
+ questionTip: `如果有给定的问题,则块的嵌入将基于它们。`,
},
chat: {
newConversation: '新会话',
diff --git a/web/src/pages/add-knowledge/components/knowledge-chunk/components/chunk-creating-modal/index.tsx b/web/src/pages/add-knowledge/components/knowledge-chunk/components/chunk-creating-modal/index.tsx
index 922a1c9a14d..01a7b34da91 100644
--- a/web/src/pages/add-knowledge/components/knowledge-chunk/components/chunk-creating-modal/index.tsx
+++ b/web/src/pages/add-knowledge/components/knowledge-chunk/components/chunk-creating-modal/index.tsx
@@ -1,8 +1,8 @@
import EditTag from '@/components/edit-tag';
import { useFetchChunk } from '@/hooks/chunk-hooks';
import { IModalProps } from '@/interfaces/common';
-import { DeleteOutlined } from '@ant-design/icons';
-import { Divider, Form, Input, Modal, Space, Switch } from 'antd';
+import { DeleteOutlined, QuestionCircleOutlined } from '@ant-design/icons';
+import { Divider, Form, Input, Modal, Space, Switch, Tooltip } from 'antd';
import React, { useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { useDeleteChunkByIds } from '../../hooks';
@@ -41,7 +41,7 @@ const ChunkCreatingModal: React.FC