File size: 3,915 Bytes
a75462a
c70c9d8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cedf36c
c70c9d8
 
 
 
 
 
90bb90e
 
c70c9d8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2999a85
c70c9d8
ec2ab02
c70c9d8
90bb90e
c70c9d8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a75462a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!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>