Files
catonline_ai/vw-agentic-rag/web/public/embeded-sample/sample.html

44 lines
1.1 KiB
HTML
Raw Normal View History

2025-09-26 17:15:54 +08:00
<!DOCTYPE html>
<html>
<head>
<!-- embeded AI Assistant sample scripts Begin-->
<script>
//set ui language in query string. support: zh-cn, en
baseUrl = "http://localhost:3000/agentic-rag?language=zh-cn";
// set open button icon url
openButtonIconUrl = "/agentic-rag/CATOnline.svg";
window.agenticragChatbotConfig = {
token: Array(32)
.fill(0)
.map(() => Math.random().toString(36).charAt(2))
.join(""),
baseUrl: baseUrl,
systemVariables: {},
openButtonIconUrl: openButtonIconUrl
};
</script>
<script src="http://localhost:3000/agentic-rag/embed.min.js" defer></script>
<style>
#agenticrag-chatbot-bubble-button {
background-color: #1c64f2 !important;
}
#agenticrag-chatbot-bubble-window {
width: 40rem !important;
height: 56rem !important;
}
</style>
<!-- embeded AI Assistant sample scripts End-->
<style>
body {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(300deg, gray 100%, lightgray 0%);
/* min-height: 100vh; */
padding: 20px;
}
</style>
</head>
</html>