-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved out rasa X requirement and made another simple website-based GU…
…I using Rasa WebChat. Updated necessary files, and README.md
- Loading branch information
Showing
6 changed files
with
58 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
* { | ||
font-family: "Open Sans", Helvetica, "Helvetica Neue", sans-serif; | ||
box-sizing: border-box; | ||
} | ||
|
||
.chat-container { | ||
margin: 100px auto; | ||
width: 360px; | ||
z-index: 100; | ||
box-shadow: 0 0 3em black; | ||
} | ||
|
||
@media (max-width: 400px) { | ||
.chat-container { | ||
margin: 20px 10px; | ||
width: auto; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<link rel="stylesheet" href="https://npm-scalableminds.s3.eu-central-1.amazonaws.com/@scalableminds/chatroom@master/dist/Chatroom.css" /> | ||
<link rel="stylesheet" href="index.css" /> | ||
</head> | ||
<body> | ||
<div class="chat-container"></div> | ||
<script src="https://npm-scalableminds.s3.eu-central-1.amazonaws.com/@scalableminds/chatroom@master/dist/Chatroom.js"/></script> | ||
<script type="text/javascript"> | ||
var chatroom = new window.Chatroom({ | ||
host: "http://localhost:5002", | ||
title: "Chat with JokeBot", | ||
container: document.querySelector(".chat-container"), | ||
welcomeMessage: "Hi, I am JokeBot. How may I help you?", | ||
speechRecognition: "en-US", | ||
voiceLang: "en-US" | ||
}); | ||
chatroom.openChat(); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.