init
This commit is contained in:
44
vw-agentic-rag/web/public/embeded-sample/sample.html
Normal file
44
vw-agentic-rag/web/public/embeded-sample/sample.html
Normal file
@@ -0,0 +1,44 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user