ellibot_v1 / index.html
fishytorts's picture
Update index.html
90bb90e verified
raw
history blame contribute delete
No virus
3.92 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link href="https://fonts.googleapis.com/css?family=Libre+Baskerville" rel="stylesheet" type="text/css">
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Top University's Elli Bot</title>
</head>
<body>
<div><p>Loading...</p></div>
<div>
<script src="https://cdn.botpress.cloud/webchat/v0/inject.js"></script>
<script>
window.botpressWebChat.init({
// Replace <your-bot-id> and <your-client-id> with your actual bot and client IDs
"botId": "a434ad46-9d4e-40c4-a0d4-8fa75e11012b",
"clientId": "a434ad46-9d4e-40c4-a0d4-8fa75e11012b",
// Set the URL for the Botpress WebChat JavaScript file and the messaging server
"hostUrl": "https://cdn.botpress.cloud/webchat/v0",
"messagingUrl": "https://messaging.botpress.cloud",
// Set the name of the bot that will be displayed in the WebChat interface
"botName": "Top Universities AI Counsellor",
// Set the width of the WebChat container and layout to 100% (Full Screen)
"containerWidth": "100%25",
"layoutWidth": "100%25",
// Hide the widget and disable animations
"hideWidget": true,
"disableAnimations": true,
// additional css
'stylesheet': "https://webchat-styler-css.botpress.app/prod/code/b30514af-e04f-4323-8308-531b6579cb06/v93996/style.css",
'enableConversationDeletion': false,
'useSessionStorage': true,
'showPoweredBy': false,
'botConversationDescription': "πŸ‘‹ Chat with our AI Counsellor today!",
'composerPlaceholder': 'Type here',
'showCloseButton': false,
'closeOnEscape': false,
'showConversationsButton': false,
'enableTranscriptDownload': false,
"avatarUrl": "https://cdn-assets-cloud.frontify.com/s3/frontify-cloud-files-us/eyJwYXRoIjoiZnJvbnRpZnlcL2FjY291bnRzXC84MVwvMjA5NzcwXC9wcm9qZWN0c1wvMjg3MDAzXC9hc3NldHNcLzBhXC81MjM2MTI4XC9mZjI1ZTcyZDg4N2RhZWQ3ZDhiMDE4NzJjNGJkOTg2Zi0xNjE0NjI2MTQwLnBuZyJ9:frontify:RdGpiOL_3z3qpPO5DXJfmNUBrcpjs-LLBgnISJWhn1k?width=2400",
});
// Opens up the Chatbot by default
// This lets users start chatting with the Chatbot without needing to click any buttons or menus.
window.botpressWebChat.onEvent(
function () {
window.botpressWebChat.sendEvent({ type: "show" });
},
["LIFECYCLE.LOADED"]
);
</script>
</div>
</body>
</html>