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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8" />
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 6 |
+
<title>Create by Pejman</title>
|
| 7 |
+
<link
|
| 8 |
+
href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css"
|
| 9 |
+
rel="stylesheet"
|
| 10 |
+
/>
|
| 11 |
+
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
|
| 12 |
+
</head>
|
| 13 |
+
<body
|
| 14 |
+
class="bg-gradient-to-br from-indigo-100 via-white to-blue-100 text-gray-800 font-sans"
|
| 15 |
+
>
|
| 16 |
+
<!-- Hero Section -->
|
| 17 |
+
<section
|
| 18 |
+
class="flex flex-col items-center justify-center min-h-screen text-center px-4"
|
| 19 |
+
>
|
| 20 |
+
<h1
|
| 21 |
+
class="text-4xl md:text-6xl font-bold text-indigo-800 mb-4 animate-pulse"
|
| 22 |
+
>
|
| 23 |
+
Welcome to Pejman's Educational Chatbot
|
| 24 |
+
</h1>
|
| 25 |
+
<p class="text-lg md:text-xl max-w-2xl text-gray-700 mb-6">
|
| 26 |
+
This chatbot is part of an educational practice in the
|
| 27 |
+
<strong>Deep Learning course</strong> at the
|
| 28 |
+
<strong>University of Liechtenstein</strong>.
|
| 29 |
+
</p>
|
| 30 |
+
<lottie-player
|
| 31 |
+
src="https://assets9.lottiefiles.com/packages/lf20_tno6cg2w.json"
|
| 32 |
+
background="transparent"
|
| 33 |
+
speed="1"
|
| 34 |
+
style="width: 300px; height: 300px"
|
| 35 |
+
loop
|
| 36 |
+
autoplay
|
| 37 |
+
>
|
| 38 |
+
</lottie-player>
|
| 39 |
+
</section>
|
| 40 |
+
|
| 41 |
+
<!-- Footer -->
|
| 42 |
+
<footer
|
| 43 |
+
class="bg-white shadow-md py-4 text-center border-t border-gray-200"
|
| 44 |
+
>
|
| 45 |
+
<p class="text-sm text-gray-600">
|
| 46 |
+
© 2025 Pejman Ebrahimi – All rights reserved.
|
| 47 |
+
</p>
|
| 48 |
+
</footer>
|
| 49 |
+
|
| 50 |
+
<!-- Chatbot Script -->
|
| 51 |
+
<script type="module">
|
| 52 |
+
import Chatbot from "https://cdn.jsdelivr.net/npm/flowise-embed/dist/web.js";
|
| 53 |
+
Chatbot.init({
|
| 54 |
+
chatflowid: "7e8a750a-c1be-48cc-9852-3243e1a8ccae",
|
| 55 |
+
apiHost: "https://arad1367-flowise-hosttest.hf.space",
|
| 56 |
+
chatflowConfig: {
|
| 57 |
+
/* Chatflow Config */
|
| 58 |
+
},
|
| 59 |
+
observersConfig: {
|
| 60 |
+
/* Observers Config */
|
| 61 |
+
},
|
| 62 |
+
theme: {
|
| 63 |
+
button: {
|
| 64 |
+
backgroundColor: "#3B81F6",
|
| 65 |
+
right: 20,
|
| 66 |
+
bottom: 20,
|
| 67 |
+
size: 48,
|
| 68 |
+
dragAndDrop: true,
|
| 69 |
+
iconColor: "white",
|
| 70 |
+
customIconSrc:
|
| 71 |
+
"https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/svg/google-messages.svg",
|
| 72 |
+
autoWindowOpen: {
|
| 73 |
+
autoOpen: true,
|
| 74 |
+
openDelay: 2,
|
| 75 |
+
autoOpenOnMobile: false,
|
| 76 |
+
},
|
| 77 |
+
},
|
| 78 |
+
tooltip: {
|
| 79 |
+
showTooltip: true,
|
| 80 |
+
tooltipMessage: "Hi There 👋!",
|
| 81 |
+
tooltipBackgroundColor: "black",
|
| 82 |
+
tooltipTextColor: "white",
|
| 83 |
+
tooltipFontSize: 16,
|
| 84 |
+
},
|
| 85 |
+
disclaimer: {
|
| 86 |
+
title: "Disclaimer",
|
| 87 |
+
message:
|
| 88 |
+
'By using this chatbot, you agree to the <a target="_blank" href="https://flowiseai.com/terms">Terms & Condition</a>',
|
| 89 |
+
textColor: "black",
|
| 90 |
+
buttonColor: "#3b82f6",
|
| 91 |
+
buttonText: "Start Chatting",
|
| 92 |
+
buttonTextColor: "white",
|
| 93 |
+
blurredBackgroundColor: "rgba(0, 0, 0, 0.4)",
|
| 94 |
+
backgroundColor: "white",
|
| 95 |
+
},
|
| 96 |
+
customCSS: ``,
|
| 97 |
+
chatWindow: {
|
| 98 |
+
showTitle: true,
|
| 99 |
+
showAgentMessages: true,
|
| 100 |
+
title: "Flowise Bot",
|
| 101 |
+
titleAvatarSrc:
|
| 102 |
+
"https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/svg/google-messages.svg",
|
| 103 |
+
welcomeMessage: "Hello! This is e-service to help you",
|
| 104 |
+
errorMessage: "We will back soon.",
|
| 105 |
+
backgroundColor: "#ffffff",
|
| 106 |
+
backgroundImage: "enter image path or link",
|
| 107 |
+
height: 550,
|
| 108 |
+
width: 400,
|
| 109 |
+
fontSize: 16,
|
| 110 |
+
starterPrompts: [
|
| 111 |
+
"What is ML projects?",
|
| 112 |
+
"Who ML tutorial can help me?",
|
| 113 |
+
],
|
| 114 |
+
starterPromptFontSize: 15,
|
| 115 |
+
clearChatOnReload: false,
|
| 116 |
+
sourceDocsTitle: "Sources:",
|
| 117 |
+
renderHTML: true,
|
| 118 |
+
botMessage: {
|
| 119 |
+
backgroundColor: "#f7f8ff",
|
| 120 |
+
textColor: "#303235",
|
| 121 |
+
showAvatar: true,
|
| 122 |
+
avatarSrc:
|
| 123 |
+
"https://raw.githubusercontent.com/zahidkhawaja/langchain-chat-nextjs/main/public/parroticon.png",
|
| 124 |
+
},
|
| 125 |
+
userMessage: {
|
| 126 |
+
backgroundColor: "#3B81F6",
|
| 127 |
+
textColor: "#ffffff",
|
| 128 |
+
showAvatar: true,
|
| 129 |
+
avatarSrc:
|
| 130 |
+
"https://raw.githubusercontent.com/zahidkhawaja/langchain-chat-nextjs/main/public/usericon.png",
|
| 131 |
+
},
|
| 132 |
+
textInput: {
|
| 133 |
+
placeholder: "Type your question",
|
| 134 |
+
backgroundColor: "#ffffff",
|
| 135 |
+
textColor: "#303235",
|
| 136 |
+
sendButtonColor: "#3B81F6",
|
| 137 |
+
maxChars: 50,
|
| 138 |
+
maxCharsWarningMessage:
|
| 139 |
+
"You exceeded the characters limit. Please input less than 50 characters.",
|
| 140 |
+
autoFocus: true,
|
| 141 |
+
sendMessageSound: true,
|
| 142 |
+
sendSoundLocation: "send_message.mp3",
|
| 143 |
+
receiveMessageSound: true,
|
| 144 |
+
receiveSoundLocation: "receive_message.mp3",
|
| 145 |
+
},
|
| 146 |
+
feedback: {
|
| 147 |
+
color: "#303235",
|
| 148 |
+
},
|
| 149 |
+
dateTimeToggle: {
|
| 150 |
+
date: true,
|
| 151 |
+
time: true,
|
| 152 |
+
},
|
| 153 |
+
footer: {
|
| 154 |
+
textColor: "#303235",
|
| 155 |
+
text: "Powered by",
|
| 156 |
+
company: "GilTech Megoldások KFT.",
|
| 157 |
+
companyLink: "https://giltech-megoldasok.com/",
|
| 158 |
+
},
|
| 159 |
+
},
|
| 160 |
+
},
|
| 161 |
+
});
|
| 162 |
+
</script>
|
| 163 |
+
</body>
|
| 164 |
</html>
|