diff --git a/ui/src/components/ai-chat/component/knowledge-source-component/index.vue b/ui/src/components/ai-chat/component/knowledge-source-component/index.vue
index b176750b0..4733f1107 100644
--- a/ui/src/components/ai-chat/component/knowledge-source-component/index.vue
+++ b/ui/src/components/ai-chat/component/knowledge-source-component/index.vue
@@ -77,6 +77,24 @@
:close-on-click-modal="false"
:close-on-press-escape="false"
>
+
+
+
+ {{ dialogTitle }}
+
+
+
+
@@ -119,6 +137,7 @@ const dialogVisible = ref(false)
const dialogTitle = ref('')
const currentComponent = shallowRef(null)
const currentChatDetail = ref(null)
+const dialogType = ref('')
function openParagraph(row: any, id?: string) {
dialogTitle.value = t('chat.KnowledgeSource.title')
const obj = cloneDeep(row)
@@ -149,7 +168,7 @@ function openParagraphDocument(row: any) {
emit('openParagraphDocument', row)
return
}
-
+ dialogType.value = 'pdfDocument'
currentComponent.value = ParagraphDocumentContent
dialogTitle.value = row.document_name
currentChatDetail.value = row
diff --git a/ui/src/views/chat/pc/index.vue b/ui/src/views/chat/pc/index.vue
index 58cfb26c2..fe0811e85 100644
--- a/ui/src/views/chat/pc/index.vue
+++ b/ui/src/views/chat/pc/index.vue
@@ -167,7 +167,22 @@
>
{{ rightPanelTitle }}
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+