From 901aba5a6fdccfff52407e2779bac0de926efe01 Mon Sep 17 00:00:00 2001 From: Jacob Date: Sun, 6 Sep 2026 08:58:51 +0900 Subject: [PATCH] =?UTF-8?q?feat(graph,chat):=20=EC=A7=80=EC=8B=9D=EA=B7=B8?= =?UTF-8?q?=EB=9E=98=ED=94=84=205=EB=8C=80=20=EC=8B=9C=EB=A7=A8=ED=8B=B1?= =?UTF-8?q?=20=ED=8C=94=EB=A0=88=ED=8A=B8=20=EB=B0=8F=20=EC=B1=97=EB=B4=87?= =?UTF-8?q?=20=EC=B2=A8=EB=B6=80=20=EB=B2=84=ED=8A=BC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/app/chat/KnowledgePanel.tsx | 14 ++- frontend/src/app/chat/page.tsx | 28 ++++-- frontend/src/app/graph/page.tsx | 10 +- frontend/src/components/GraphView.tsx | 117 ++++++++++++++++++++--- 4 files changed, 140 insertions(+), 29 deletions(-) diff --git a/frontend/src/app/chat/KnowledgePanel.tsx b/frontend/src/app/chat/KnowledgePanel.tsx index f2f8b49..6d5f1f9 100644 --- a/frontend/src/app/chat/KnowledgePanel.tsx +++ b/frontend/src/app/chat/KnowledgePanel.tsx @@ -148,9 +148,15 @@ export default function KnowledgePanel() { {/* 파일 첨부 → 임베딩 */}
-

- 파일 추가 -

+
+

+ 파일 추가 (첨부) +

+ PDF, TXT, MD +
+

+ 세무 서류, 청약 가이드, 금융사기 예방 매뉴얼 등을 첨부하면 임베딩되어 챗봇 답변의 근거로 활용됩니다. +

⚠ 엔티티 추출(LLM)로 수 분 소요되며, 그동안 같은 LLM 자원을 공유하는 - 챗 응답이 느려질 수 있습니다. 시연·발표 중에는 실행하지 마세요. + 챗 응답이 느려질 수 있습니다. 시연이나 발표 중에는 실행하지 마세요.

{buildJobId && (
diff --git a/frontend/src/app/chat/page.tsx b/frontend/src/app/chat/page.tsx index c48dbbc..4433859 100644 --- a/frontend/src/app/chat/page.tsx +++ b/frontend/src/app/chat/page.tsx @@ -13,6 +13,7 @@ import { CheckCircle, Copy, Check, + Paperclip, } from "@phosphor-icons/react"; import { apiDelete, @@ -95,7 +96,7 @@ function AssistantAnswer({ content }: { content: string }) { {/* 5겹째 — 라벨이 "5겹"인데 4줄만 있으면 세어 보는 사람에게 바로 걸린다. */}
- 외곽 경계: fetch 허용목록 · JWT 세션 + 외곽 경계: fetch 허용목록, JWT 세션
@@ -392,7 +393,7 @@ function ChatClient() { >
{s.title}
- {fmtDate(s.updated_at)} · {s.message_count}개 메시지 + {fmtDate(s.updated_at)} / {s.message_count}개 메시지