Update 공개버전-시크릿에 담을 html 코드 코드.html
Browse files
공개버전-시크릿에 담을 html 코드 코드.html
CHANGED
|
@@ -964,18 +964,18 @@ box-shadow: var(--shadow-sm);
|
|
| 964 |
<!-- AI 버튼 추가 -->
|
| 965 |
<div id="aiButton" class="floating-ai" style="display:none;">
|
| 966 |
<div class="icon"><i class="fas fa-robot"></i></div>
|
| 967 |
-
<div class="title">AI
|
| 968 |
</div>
|
| 969 |
|
| 970 |
<!-- AI 챗봇 컨테이너 -->
|
| 971 |
<div id="aiChatContainer">
|
| 972 |
<div id="aiChatHeader">
|
| 973 |
-
<h3><i class="fas fa-robot"></i> AI
|
| 974 |
<button id="aiChatClose"><i class="fas fa-times"></i></button>
|
| 975 |
</div>
|
| 976 |
<div id="aiChatMessages"></div>
|
| 977 |
<form id="aiChatForm">
|
| 978 |
-
<input type="text" id="aiChatInput" placeholder="
|
| 979 |
<button type="submit" id="aiChatSubmit"><i class="fas fa-paper-plane"></i></button>
|
| 980 |
</form>
|
| 981 |
</div>
|
|
@@ -1267,7 +1267,7 @@ async function loadPdfSummary() {
|
|
| 1267 |
}
|
| 1268 |
} else {
|
| 1269 |
// 환영 메시지와 요약 추가
|
| 1270 |
-
addChatMessage(`
|
| 1271 |
hasLoadedSummary = true;
|
| 1272 |
}
|
| 1273 |
} catch (error) {
|
|
|
|
| 964 |
<!-- AI 버튼 추가 -->
|
| 965 |
<div id="aiButton" class="floating-ai" style="display:none;">
|
| 966 |
<div class="icon"><i class="fas fa-robot"></i></div>
|
| 967 |
+
<div class="title">AI-BOOK Chatbot</div>
|
| 968 |
</div>
|
| 969 |
|
| 970 |
<!-- AI 챗봇 컨테이너 -->
|
| 971 |
<div id="aiChatContainer">
|
| 972 |
<div id="aiChatHeader">
|
| 973 |
+
<h3><i class="fas fa-robot"></i> AI-BOOK Chatbot</h3>
|
| 974 |
<button id="aiChatClose"><i class="fas fa-times"></i></button>
|
| 975 |
</div>
|
| 976 |
<div id="aiChatMessages"></div>
|
| 977 |
<form id="aiChatForm">
|
| 978 |
+
<input type="text" id="aiChatInput" placeholder="Question, PDF..." autocomplete="off">
|
| 979 |
<button type="submit" id="aiChatSubmit"><i class="fas fa-paper-plane"></i></button>
|
| 980 |
</form>
|
| 981 |
</div>
|
|
|
|
| 1267 |
}
|
| 1268 |
} else {
|
| 1269 |
// 환영 메시지와 요약 추가
|
| 1270 |
+
addChatMessage(`HELLO! Everything Questions<br><br><strong>PDF summarization:</strong><br>${data.summary}`);
|
| 1271 |
hasLoadedSummary = true;
|
| 1272 |
}
|
| 1273 |
} catch (error) {
|