├── imgs └── dc.jpg ├── readme.pdf ├── image ├── lx.png ├── admin.png ├── bot_avatar.png ├── user_avatar.png └── bot_avatarxx.png ├── database.inc.php ├── dbconfig └── config.php ├── delete.php ├── navbar.css ├── get_bot_message.php ├── style.css ├── admin.php ├── log.css ├── invalid.php ├── README.md ├── adminlogin.php ├── css ├── style.css └── stylex.css ├── authentication.sql ├── invalidans.php ├── index.php ├── update.php ├── database.sql ├── insert.php ├── qna.php ├── register.php ├── homepage.php └── youtube.sql /imgs/dc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/Chatbot/main/imgs/dc.jpg -------------------------------------------------------------------------------- /readme.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/Chatbot/main/readme.pdf -------------------------------------------------------------------------------- /image/lx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/Chatbot/main/image/lx.png -------------------------------------------------------------------------------- /database.inc.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /image/admin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/Chatbot/main/image/admin.png -------------------------------------------------------------------------------- /image/bot_avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/Chatbot/main/image/bot_avatar.png -------------------------------------------------------------------------------- /image/user_avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/Chatbot/main/image/user_avatar.png -------------------------------------------------------------------------------- /image/bot_avatarxx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/Chatbot/main/image/bot_avatarxx.png -------------------------------------------------------------------------------- /dbconfig/config.php: -------------------------------------------------------------------------------- 1 | 2 | //before implementing this create a folder named dbconfig and paste this file in it. 3 | 4 | 5 | -------------------------------------------------------------------------------- /delete.php: -------------------------------------------------------------------------------- 1 | connect_error){ 4 | die("connection failed:".$conn-> connect_error); 5 | } 6 | $id=$_GET['rn']; 7 | $query="DELETE FROM CHATBOT_HINTS WHERE ID ='$id' "; 8 | 9 | $data=mysqli_query($conn,$query); 10 | 11 | if($data) 12 | { 13 | echo ""; 14 | ?> 15 | 16 | 17 | Failed to delete fromm db!!"; 22 | } 23 | ?> -------------------------------------------------------------------------------- /navbar.css: -------------------------------------------------------------------------------- 1 | body,html{ 2 | margin: 0; 3 | padding: 0; 4 | } 5 | header{ 6 | width: 100%; 7 | height: 70px; 8 | background-color: #282828; 9 | } 10 | h1{ 11 | position: absolute; 12 | padding: 3px; 13 | float: left; 14 | margin-left: 2%; 15 | margin-top: 10px; 16 | font-family: 'Alfa Slab One',cursive; 17 | color: #39ca74; 18 | } 19 | span{ 20 | color: #ffffff; 21 | } 22 | ul{ 23 | width: auto; 24 | float: right; 25 | margin-top: 8px; 26 | } 27 | li{ 28 | display: inline-block; 29 | padding: 15px 30px; 30 | 31 | } 32 | 33 | 34 | a{ 35 | text-align: center; 36 | color: #39ca74; 37 | text-decoration: none; 38 | font-family: 'Open Sans',sans-serif; 39 | font-size: 0.8vw; 40 | } 41 | 42 | a:hover{ 43 | color: #fff; 44 | transition: 0.5s; 45 | } 46 | img{ 47 | width: 100%; 48 | margin-top: -16px; 49 | } 50 | input{ 51 | color: #000; 52 | marker-end: 25% 53 | 54 | } 55 | input:hover{ 56 | color:#fff; 57 | transition: 0.5s; 58 | } -------------------------------------------------------------------------------- /get_bot_message.php: -------------------------------------------------------------------------------- 1 | 0){ 10 | 11 | $row=mysqli_fetch_assoc($res); 12 | $html=$row['reply']; 13 | 14 | }else{ 15 | $html="Sorry not be able to understand you"; 16 | } 17 | 18 | $added_on=date('Y-m-d h:i:s'); 19 | mysqli_query($con,"insert into message(message,added_on,type) values('$txt','$added_on','user')"); 20 | $added_on=date('Y-m-d h:i:s'); 21 | mysqli_query($con,"insert into message(message,added_on,type) values('$html','$added_on','bot')"); 22 | echo $html; 23 | echo " "; 24 | ?> 25 | 26 | 27 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | .unread { 2 | cursor: pointer; 3 | background-color: #f4f4f4; 4 | } 5 | .messages-box { 6 | max-height: 28rem; 7 | overflow: auto; 8 | color: rgba(0,0,0,2); 9 | } 10 | .online-circle { 11 | border-radius: 5rem; 12 | width: 5rem; 13 | height: 5rem; 14 | } 15 | .messages-title { 16 | float: right; 17 | margin: 0px 5px; 18 | } 19 | .message-img { 20 | float: right; 21 | margin: 0px 5px; 22 | } 23 | .message-header { 24 | text-align: right; 25 | width: 100%; 26 | margin-bottom: 0.5rem; 27 | } 28 | .text-editor { 29 | min-height: 18rem; 30 | } 31 | .messages-list li.messages-you .messages-title { 32 | float: left; 33 | } 34 | .messages-list li.messages-you .message-img { 35 | float: left; 36 | } 37 | .messages-list li.messages-you p { 38 | float: left; 39 | text-align: left; 40 | } 41 | .messages-list li.messages-you .message-header { 42 | text-align: left; 43 | } 44 | .messages-list li p { 45 | max-width: 60%; 46 | padding: 5px; 47 | border: #e6e7e9 1px solid; 48 | } 49 | .messages-list li.messages-me p { 50 | float: right; 51 | } 52 | .ql-editor p { 53 | font-size: 1rem; 54 | } 55 | .logout{ 56 | size: 60px; 57 | } -------------------------------------------------------------------------------- /admin.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | Login as Admin 11 | 12 | 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 | -------------------------------------------------------------------------------- /log.css: -------------------------------------------------------------------------------- 1 | body 2 | { 3 | background-image: url('https://png.pngtree.com/thumb_back/fw800/background/20190223/ourmid/pngtree-smart-robot-arm-advertising-background-backgroundrobotblue-backgrounddark-backgroundlightlight-image_68405.jpg' ); 4 | background-repeat: no-repeat; 5 | background-attachment: fixed; 6 | background-size: 100% 100%; 7 | } 8 | { 9 | color: #ffffff; 10 | } 11 | .heading{ 12 | font-size: 30px; 13 | font-family: 'Lobster', cursive; 14 | text-align: center; 15 | } 16 | 17 | .bg{ 18 | background: url('doctor.jpg') no-repeat; width: 100%; height: 100vh; 19 | 20 | } 21 | .myform{ 22 | border: 1px solid #000000; 23 | padding: 30px 60px; 24 | margin-top: 20vh; 25 | -webkit-box-shadow: 9px 2px 26px -7px rgb(0, 0, 0, 1); 26 | -moz-box-shadow: 9px 2px 26px -7px rgb(0,0,0,1); 27 | box-shadow: 9px 2px 26px -7px rgba(0, 0, 0, 1); 28 | } 29 | 30 | /**************************************************For signup.html page*******************************************************************/ 31 | 32 | .orlogin{ 33 | text-align: center; 34 | } 35 | .cancel{ 36 | padding: 16px; 37 | text-align: center; 38 | color: white; 39 | 40 | } 41 | 42 | /*.cancelbtn { 43 | width: auto; 44 | padding: 10px 18px; 45 | background-color: #f44336; 46 | } 47 | /* Change styles for span and cancel button on extra small screens */ 48 | @media screen and (max-width: 300px) { 49 | span.psw { 50 | display: block; 51 | float: none; 52 | } 53 | .cancel { 54 | width: 100%; 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /invalid.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Admin Portal 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 |

ARESABOT

15 | 24 |
25 | 26 | 27 | 28 | 29 |

30 | 31 | 32 | 33 | 34 | 35 | 36 | connect_error){ 39 | die("connection failed:".$conn-> connect_error); 40 | } 41 | $sql = "SELECT id,messages from invalid"; 42 | $result= $conn-> query($sql); 43 | 44 | if($result-> num_rows >0){ 45 | while ($row =$result ->fetch_assoc()) { 46 | echo ""; 47 | # code... 48 | } 49 | echo "

Invalid

idInvalid query/response
".$row["id"]."".$row["messages"]."
"; 50 | } 51 | else{ 52 | echo "0 result"; 53 | } 54 | $conn-> close(); 55 | ?> 56 | 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Chatbot 2 | Cloud based Student Information Chatbot system.: Functionality which the chatbot should have in this project : Here are some Details: A Student bot project is built using artificial algorithms that analyzes user’s queries and understand user’s message. This System is a web application which provides answer to the query of the student. Students just have to query through the bot which is used for chatting. Students can chat using any format there is no specific format the user has to follow. The System uses built in artificial intelligence to answer the query. The answers are appropriate what the user queries. If the answer is found to invalid, user just need to select the invalid answer button which will notify the admin about the incorrect answer. Admin can view invalid answer through portal via login. System allows admin to delete the invalid answer or to add a specific answer of that equivalent question. The User can query any college related activities through the system. The user does not have to personally go to the college for enquiry. The System analyzes the question and then answers to the user. The system answers to the query as if it is answered by the person. With the help of artificial intelligence, the system answers the query asked by the students. The system replies using an effective Graphical user interface which implies that as if a real person is talking to the user. The user can query about the college related activities through online with the help of this web application.This system helps the student to be updated about the college activities. For making it cloud based, deploy your web application integrated with AI in cloud platform. You can use any cloud platform AWS, GCP, Heroku etc. 3 | -------------------------------------------------------------------------------- /adminlogin.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Admin Portal 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 |

ARESABOT

14 | 23 |
24 | 25 | 35 | 36 | 37 | 38 | 39 | 40 | 41 |

42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | connect_error){ 53 | die("connection failed:".$conn-> connect_error); 54 | } 55 | $sql = "SELECT id,message,added_on,type from message"; 56 | $result= $conn-> query($sql); 57 | 58 | if($result-> num_rows >0){ 59 | while ($row =$result ->fetch_assoc()) { 60 | echo ""; 61 | # code... 62 | } 63 | echo "

Chat record

idmessageAdded onType
".$row["id"]."".$row["message"]." ".$row["added_on"]." ".$row['type']."
"; 64 | } 65 | else{ 66 | echo "0 result"; 67 | } 68 | $conn-> close(); 69 | ?> 70 | 71 | 72 | 73 | 74 | -------------------------------------------------------------------------------- /css/style.css: -------------------------------------------------------------------------------- 1 | /*CSS file*/ 2 | 3 | 4 | 5 | 6 | input{ 7 | 8 | 9 | width: 430px; 10 | margin: 0 auto; 11 | padding: 10px; 12 | border: 1px solid #ccc; 13 | 14 | } 15 | 16 | #main-wrapper{ 17 | 18 | border-radius : 10px; 19 | background-color: white; 20 | border: 3px solid #f1f1f1; 21 | width: 500px; 22 | margin: 0 auto; 23 | 24 | 25 | 26 | 27 | } 28 | .myform{ 29 | 30 | border-radius : 10px; 31 | background-color: rgba(0,0,0,0.8); 32 | border: 3px solid #f1f1f1; 33 | width: 500px; 34 | margin: 0 auto; 35 | 36 | 37 | } 38 | 39 | .inner_container{ 40 | width:450px; 41 | margin:0 auto; 42 | } 43 | .login_btn { 44 | background-color: #4CAF50; 45 | color: rgba(0,0,0,0.8); 46 | margin-left: 10px; 47 | margin-top:10px; 48 | padding:10px; 49 | width: 60%; 50 | font-size:18px; 51 | font-weight: bold; 52 | } 53 | .register_btn{ 54 | background-color: #3498db; 55 | 56 | color: rgba(0,0,0,0.8); 57 | margin-top:10px; 58 | margin-bottom:15px; 59 | padding:10px; 60 | width: 60%; 61 | font-size:16px; 62 | font-weight: bold; 63 | 64 | } 65 | .back_btn{ 66 | margin-top:10px; 67 | color: white; 68 | margin-bottom:15px; 69 | padding: 10px; 70 | background-color: #e67e22; 71 | } 72 | .logout_button{ 73 | background-color: #c0392b; 74 | color: white; 75 | margin-top:10px; 76 | padding:10px; 77 | width: 60%; 78 | font-size:18px; 79 | font-weight: bold; 80 | } 81 | 82 | .sign_up_btn { 83 | background-color: #3498db; 84 | color: white; 85 | padding:10px; 86 | margin-top:10px; 87 | margin-bottom:10px; 88 | width: 60%; 89 | font-size:16px; 90 | font-weight: bold; 91 | } 92 | 93 | .imgcontainer { 94 | text-align: center; 95 | margin: 24px 0 12px 0; 96 | } 97 | 98 | img.avatar { 99 | width: 30%; 100 | border-radius: 50%; 101 | } 102 | 103 | .container { 104 | 105 | margin:140px; 106 | width:100%; 107 | } -------------------------------------------------------------------------------- /authentication.sql: -------------------------------------------------------------------------------- 1 | -- phpMyAdmin SQL Dump 2 | -- version 5.0.2 3 | -- https://www.phpmyadmin.net/ 4 | -- 5 | -- Host: 127.0.0.1 6 | -- Generation Time: Oct 14, 2020 at 09:23 AM 7 | -- Server version: 10.4.14-MariaDB 8 | -- PHP Version: 7.4.10 9 | 10 | SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; 11 | START TRANSACTION; 12 | SET time_zone = "+00:00"; 13 | 14 | 15 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; 16 | /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; 17 | /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; 18 | /*!40101 SET NAMES utf8mb4 */; 19 | 20 | -- 21 | -- Database: `authentication` 22 | -- 23 | 24 | -- -------------------------------------------------------- 25 | 26 | -- 27 | -- Table structure for table `users` 28 | -- 29 | 30 | CREATE TABLE `users` ( 31 | `id` int(11) NOT NULL, 32 | `username` varchar(255) NOT NULL, 33 | `email` varchar(255) NOT NULL, 34 | `password` varchar(255) NOT NULL 35 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; 36 | 37 | -- 38 | -- Dumping data for table `users` 39 | -- 40 | 41 | INSERT INTO `users` (`id`, `username`, `email`, `password`) VALUES 42 | (1, 'ansh17', 'rajansh@gmail.com', '827ccb0eea8a706c4c34a16891f84e7b'), 43 | (2, 'aaaaa', 'aa@gmail.com', '74b87337454200d4d33f80c4663dc5e5'), 44 | (3, 'shweta', 'shweta@gmail.com', '81dc9bdb52d04dc20036dbd8313ed055'), 45 | (4, '', '', 'd41d8cd98f00b204e9800998ecf8427e'), 46 | (5, '', '', 'd41d8cd98f00b204e9800998ecf8427e'), 47 | (6, 'abcd', 'abcd@gmail.com', '353b15d58e64430f96283d4c95cc5688'), 48 | (7, '_aarav_raj_singh_', 'hk@gmail.com', '0cc175b9c0f1b6a831c399e269772661'); 49 | 50 | -- 51 | -- Indexes for dumped tables 52 | -- 53 | 54 | -- 55 | -- Indexes for table `users` 56 | -- 57 | ALTER TABLE `users` 58 | ADD PRIMARY KEY (`id`); 59 | 60 | -- 61 | -- AUTO_INCREMENT for dumped tables 62 | -- 63 | 64 | -- 65 | -- AUTO_INCREMENT for table `users` 66 | -- 67 | ALTER TABLE `users` 68 | MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; 69 | COMMIT; 70 | 71 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; 72 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; 73 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; 74 | -------------------------------------------------------------------------------- /invalidans.php: -------------------------------------------------------------------------------- 1 | 2 | connect_error){ 5 | die("connection failed:".$conn-> connect_error); 6 | } 7 | 8 | 9 | ?> 10 | 11 | 12 | 13 | 14 | Update 15 | 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 |
Invalid Response
74 |
75 | 76 | 77 | 78 | 79 | 80 | 81 | alert("Success!") '; 96 | } 97 | else 98 | { 99 | echo ''; 100 | 101 | } 102 | ?> 103 | 104 | 105 | 109 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | Login Page 11 | 12 | --> 13 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
32 |
33 |
34 |
35 |
36 | 37 |
38 |
39 | 40 | 41 | 42 | 43 |
44 |
45 |

Login

46 |
47 | 48 |
49 | 50 |
51 | 52 |
53 | 54 |
55 |
56 |
57 |
58 | 59 |
60 | 61 | 62 |
63 | 64 | 65 | 66 |
67 | 68 |
69 | 0) 79 | { 80 | // valid 81 | $_SESSION['username']= $username; 82 | header('location:homepage.php'); 83 | } 84 | else 85 | { 86 | // invalid 87 | echo ''; 88 | } 89 | 90 | } 91 | 92 | 93 | ?> 94 | 95 |
96 | 97 | -------------------------------------------------------------------------------- /update.php: -------------------------------------------------------------------------------- 1 | 2 | connect_error){ 5 | die("connection failed:".$conn-> connect_error); 6 | } 7 | $rn=$_GET['rn']; 8 | $ques=$_GET['ques']; 9 | $rep=$_GET['rep']; 10 | 11 | 12 | ?> 13 | 14 | 15 | 16 | 17 | Update 18 | 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 | 84 |
Id" name="id" required>
Question" name="question" required>
Reply" name="reply" required>
85 |
86 | 87 | 88 | 89 | 90 | 91 | 92 | alert('Record Updated')"; 104 | ?> 105 | 106 | 107 | 116 | -------------------------------------------------------------------------------- /database.sql: -------------------------------------------------------------------------------- 1 | 2 | CREATE TABLE `chatbot_hints` ( 3 | `id` int(11) NOT NULL, 4 | `question` varchar(100) NOT NULL, 5 | `reply` varchar(100) NOT NULL 6 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; 7 | 8 | -- 9 | -- Dumping data for table `chatbot_hints` 10 | -- 11 | 12 | INSERT INTO `chatbot_hints` (`id`, `question`, `reply`) VALUES 13 | (1, 'HI||Hello||Hola', 'Hello, how are you.'), 14 | (2, 'How are you', 'Good to see you again!'), 15 | (3, 'what is your name||whats your name', 'My name is Vishal Bot'), 16 | (4, 'what should I call you', 'You can call me Vishal Bot'), 17 | (5, 'Where are your from', 'I m from India'), 18 | (6, 'Bye||See you later||Have a Good Day', 'Sad to see you are going. Have a nice day'); 19 | 20 | -- -------------------------------------------------------- 21 | 22 | -- 23 | -- Table structure for table `message` 24 | -- 25 | 26 | CREATE TABLE `message` ( 27 | `id` int(11) NOT NULL, 28 | `message` text NOT NULL, 29 | `added_on` datetime NOT NULL, 30 | `type` varchar(10) NOT NULL 31 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; 32 | 33 | -- 34 | -- Dumping data for table `message` 35 | -- 36 | 37 | INSERT INTO `message` (`id`, `message`, `added_on`, `type`) VALUES 38 | (1, 'Hi', '2020-04-22 12:41:04', 'user'), 39 | (2, 'Hello, how are you.', '2020-04-22 12:41:05', 'bot'), 40 | (3, 'what is your name', '2020-04-22 12:41:22', 'user'), 41 | (4, 'My name is Vishal Bot', '2020-04-22 12:41:22', 'bot'), 42 | (5, 'Where are your from', '2020-04-22 12:41:30', 'user'), 43 | (6, 'I m from India', '2020-04-22 12:41:30', 'bot'), 44 | (7, 'Go to hell', '2020-04-22 12:41:41', 'user'), 45 | (8, 'Sorry not be able to understand you', '2020-04-22 12:41:41', 'bot'), 46 | (9, 'bye', '2020-04-22 12:41:46', 'user'), 47 | (10, 'Sad to see you are going. Have a nice day', '2020-04-22 12:41:46', 'bot'); 48 | 49 | -- 50 | -- Indexes for dumped tables 51 | -- 52 | 53 | -- 54 | -- Indexes for table `chatbot_hints` 55 | -- 56 | ALTER TABLE `chatbot_hints` 57 | ADD PRIMARY KEY (`id`); 58 | 59 | -- 60 | -- Indexes for table `message` 61 | -- 62 | ALTER TABLE `message` 63 | ADD PRIMARY KEY (`id`); 64 | 65 | -- 66 | -- AUTO_INCREMENT for dumped tables 67 | -- 68 | 69 | -- 70 | -- AUTO_INCREMENT for table `chatbot_hints` 71 | -- 72 | ALTER TABLE `chatbot_hints` 73 | MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; 74 | 75 | -- 76 | -- AUTO_INCREMENT for table `message` 77 | -- 78 | ALTER TABLE `message` 79 | MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11; 80 | COMMIT; 81 | 82 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; 83 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; 84 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; 85 | -------------------------------------------------------------------------------- /insert.php: -------------------------------------------------------------------------------- 1 | 2 | connect_error){ 5 | die("connection failed:".$conn-> connect_error); 6 | } 7 | 8 | 9 | ?> 10 | 11 | 12 | 13 | 14 | Update 15 | 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 | 84 |
Id
Question
Reply
85 |
86 | 87 | 88 | 89 | 90 | 91 | 92 | alert("Success!") '; 107 | } 108 | else 109 | { 110 | echo ''; 111 | 112 | } 113 | ?> 114 | 115 | 116 | 120 | -------------------------------------------------------------------------------- /qna.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Admin Portal 6 | 7 | 8 | 9 |
10 |

ARESABOT

11 | 20 | 27 |
28 | 29 | 39 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 |

59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | connect_error){ 71 | die("connection failed:".$conn-> connect_error); 72 | } 73 | $sql = "SELECT id,question,reply from chatbot_hints"; 74 | $result= $conn-> query($sql); 75 | 76 | if($result-> num_rows >0){ 77 | while ($row =$result ->fetch_assoc()) { 78 | echo " 79 | 80 | 81 | 82 | 83 | "; 84 | 85 | # code... 86 | } 87 | echo "

Chatbot Dataset

idQueryReplyOperation
".$row["id"]."".$row["question"]." ".$row["reply"]." Edit/UpdateDelete
"; 88 | } 89 | else{ 90 | echo "0 result"; 91 | } 92 | $conn-> close(); 93 | ?> 94 | 95 | 96 | 104 | 105 | -------------------------------------------------------------------------------- /css/stylex.css: -------------------------------------------------------------------------------- 1 | input{ 2 | 3 | width: 300px; 4 | align-self: center; 5 | color:#7cfc00; 6 | padding: 10px; 7 | border: 1px solid #ccc; 8 | 9 | } 10 | #main-wrapper{ 11 | background-color: rgba(0,0,0,1.6); 12 | border-radius : 1px; 13 | border: 3px solid #f1f1f1; 14 | width: 300px; 15 | margin-left: 450px; 16 | 17 | border-radius: 105px; 18 | 19 | } 20 | .myform{ 21 | padding: 10px; 22 | border-radius : 10px; 23 | background-color: rgba(0,0,0,0.6); 24 | border-radius: 105px; 25 | border: 3px solid #ffffff; 26 | width: 500px; 27 | margin: 0 auto; 28 | } 29 | 30 | .inner_container{ 31 | width:550px; 32 | color: rgba(0,0,0,0.8); 33 | margin:0 auto; 34 | margin-left: 100px; 35 | 36 | } 37 | 38 | #log{ 39 | color: white; 40 | } 41 | #login_btn{ 42 | 43 | color: rgba(0,0,0,0.8); 44 | margin-left: 40px; 45 | margin-top:10px; 46 | padding:10px; 47 | border-radius: 25px; 48 | width:40%; 49 | font-size:13px; 50 | font-weight: bold; 51 | } 52 | #us{ 53 | background-color: rgba(0,0,0,0.7); 54 | border-radius: 25px 55 | 56 | } 57 | 58 | #pass{ 59 | background-color: rgba(0,0,0,0.7); 60 | border-radius: 25px 61 | 62 | } 63 | 64 | #register_btn{ 65 | 66 | border-radius: 25px; 67 | color: rgba(0,0,0,0.8); 68 | margin-top:10px; 69 | margin-bottom:0 px; 70 | padding:10px; 71 | width:40%; 72 | margin-left: 40px; 73 | font-size:13px; 74 | font-weight: bold; 75 | 76 | } 77 | 78 | #un{ 79 | color: white; 80 | } 81 | #pas{ 82 | color:white; 83 | } 84 | #back_btn{ 85 | border-radius: 25px; 86 | color: rgba(0,0,0,0.8); 87 | margin-top:10px; 88 | margin-bottom:0 px; 89 | padding:10px; 90 | width:40%; 91 | margin-left: 40px; 92 | font-size:13px; 93 | font-weight: bold; 94 | 95 | } 96 | #run{ 97 | color:white; 98 | } 99 | 100 | #rpas{ 101 | 102 | color:white; 103 | } 104 | #rcpas{ 105 | 106 | color:white; 107 | } 108 | #ruser{ 109 | background-color: rgba(0,0,0,0.7); 110 | border-radius: 25px 111 | 112 | } 113 | #rpass{ 114 | background-color: rgba(0,0,0,0.7); 115 | border-radius: 25px 116 | 117 | } 118 | 119 | #rcpass{ 120 | background-color: rgba(0,0,0,0.7); 121 | border-radius: 25px 122 | 123 | } 124 | #logout_button{ 125 | background-color: rgba(0,0,0,0.8); 126 | color: white; 127 | margin-top:10px; 128 | padding:10px; 129 | border-radius: 25px; 130 | width: 60%; 131 | font-size:18px; 132 | font-weight: bold; 133 | } 134 | #regis{ 135 | color:white; 136 | } 137 | #signup_btn { 138 | border-radius: 25px; 139 | color: rgba(0,0,0,0.8); 140 | margin-top:10px; 141 | margin-bottom:0 px; 142 | padding:10px; 143 | width:40%; 144 | margin-left: 40px; 145 | font-size:13px; 146 | font-weight: bold; 147 | } 148 | 149 | .imgcontainer { 150 | text-align: center; 151 | margin: 24px 0 12px 0; 152 | max-width: 100%; 153 | max-height: auto; 154 | object-fit: 100%; 155 | } 156 | #admin_btn{border-radius:25px; 157 | 158 | color: rgba(0,0,0,0.8); 159 | margin-top:10px; 160 | margin-bottom:0px; 161 | padding:10px; 162 | width:40%; 163 | margin-left: 40px; 164 | font-size:13px; 165 | font-weight: bold; 166 | } 167 | #admin{ 168 | color: white; 169 | } 170 | #adminp{ 171 | color: white; 172 | 173 | } 174 | #adminpass{ 175 | border-radius: 25px; 176 | background-color: rgba(0,0,0,0.8); 177 | } -------------------------------------------------------------------------------- /register.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 18 | 19 | 20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 | Registration Page 29 | 30 | 31 | 32 | 33 |
34 |
35 |

Sign Up

36 | 37 |
38 | 39 |
40 | 52 | 53 |
54 | 55 | 56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 | 64 | 65 |
66 | 67 |
68 | 69 | alert("Sign Up button clicked") '; 73 | 74 | # $fullname =$_POST['fullname']; 75 | $username = $_POST['username']; 76 | $password = $_POST['password']; 77 | $cpassword = $_POST['cpassword']; 78 | # $gender = $_POST['gender']; 79 | # $qualification = $_POST['qualification']; 80 | 81 | //echo ''; 82 | //echo ''; 83 | 84 | if($password==$cpassword) 85 | { 86 | $query= "select * from userinfotable WHERE username='$username'"; 87 | $query_run = mysqli_query($con,$query); 88 | 89 | if(mysqli_num_rows($query_run)>0) 90 | { 91 | // there is already a user with the same username 92 | echo ''; 93 | } 94 | else 95 | { 96 | $query= "insert into userinfotable values('','$username','$password')"; 97 | $query_run = mysqli_query($con,$query); 98 | 99 | if($query_run) 100 | { 101 | echo ''; 102 | } 103 | else 104 | { 105 | echo ''; 106 | } 107 | } 108 | 109 | 110 | } 111 | else{ 112 | echo ''; 113 | } 114 | 115 | 116 | 117 | 118 | } 119 | ?> 120 |
121 | 122 | -------------------------------------------------------------------------------- /homepage.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 |
10 |
11 |
12 | 13 | 14 | Aresa Chatbot 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 31 | 32 |
33 |
34 |
35 |
36 |
37 | 38 |
39 | 40 | 47 | 48 |
49 |
50 |
    51 | 0){ 54 | $html=''; 55 | while($row=mysqli_fetch_assoc($res)){ 56 | $message=$row['message']; 57 | $added_on=$row['added_on']; 58 | $strtotime=strtotime($added_on); 59 | $time=date('h:i A',$strtotime); 60 | $type=$row['type']; 61 | if($type=='user'){ 62 | $class="messages-me"; 63 | $imgAvatar="user_avatar.png"; 64 | $name="Me"; 65 | }else{ 66 | $class="messages-you"; 67 | $imgAvatar="bot_avatar.png"; 68 | $name="Chatbot"; 69 | 70 | 71 | } 72 | $html.='
  • '.$name.' '.$time.'

    '.$message.'

  • '; 73 | } 74 | //echo $html; 75 | }else{ 76 | ?> 77 |
  • 78 | Please start 79 |
  • 80 | 83 | 84 |
85 |
86 |
87 |
88 | 89 | 90 | 91 | 92 | 93 |
94 |
95 |
96 | 97 |
98 |
99 |
100 | 142 | 143 | 144 | 145 | 146 | 147 | -------------------------------------------------------------------------------- /youtube.sql: -------------------------------------------------------------------------------- 1 | -- phpMyAdmin SQL Dump 2 | -- version 5.0.2 3 | -- https://www.phpmyadmin.net/ 4 | -- 5 | -- Host: 127.0.0.1 6 | -- Generation Time: Oct 14, 2020 at 09:22 AM 7 | -- Server version: 10.4.14-MariaDB 8 | -- PHP Version: 7.4.10 9 | 10 | SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; 11 | START TRANSACTION; 12 | SET time_zone = "+00:00"; 13 | 14 | 15 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; 16 | /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; 17 | /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; 18 | /*!40101 SET NAMES utf8mb4 */; 19 | 20 | -- 21 | -- Database: `youtube` 22 | -- 23 | 24 | -- -------------------------------------------------------- 25 | 26 | -- 27 | -- Table structure for table `chatbot_hints` 28 | -- 29 | 30 | CREATE TABLE `chatbot_hints` ( 31 | `id` int(11) NOT NULL, 32 | `question` varchar(100) NOT NULL, 33 | `reply` varchar(100) NOT NULL 34 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; 35 | 36 | -- 37 | -- Dumping data for table `chatbot_hints` 38 | -- 39 | 40 | INSERT INTO `chatbot_hints` (`id`, `question`, `reply`) VALUES 41 | (2, 'How are you ?', 'I am not good. How can I help you?'), 42 | (3, 'what is your name||whats your name||who are you', 'My name is Aresa.'), 43 | (4, 'what should I call you', 'You can call me by my name Aresa.'), 44 | (5, 'Where are your from', 'I have been developed under custody of Aarav. I dont belong to any country or place.'), 45 | (6, 'Bye||See you later||Have a Good Day||tata', 'Sad to see you are going. Have a nice day'), 46 | (8, 'who developed you|| who created you || who own you', 'I am developed/created by Aarav. I am Here to help you with your queries. '), 47 | (10, 'I want to ask about professors of first year.', 'Professors of GEU are amazing.\r\nI m listing names of few\r\nchemistry-Arunima nayak mam\'\r\nfirst year b'); 48 | 49 | -- -------------------------------------------------------- 50 | 51 | -- 52 | -- Table structure for table `invalid` 53 | -- 54 | 55 | CREATE TABLE `invalid` ( 56 | `id` int(11) NOT NULL, 57 | `messages` varchar(255) NOT NULL 58 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; 59 | 60 | -- 61 | -- Dumping data for table `invalid` 62 | -- 63 | 64 | INSERT INTO `invalid` (`id`, `messages`) VALUES 65 | (1, 'dijh'), 66 | (2, 'dijh'), 67 | (3, 'dijh'), 68 | (4, 'sd'), 69 | (5, 'a'), 70 | (6, 'anbasfnsdkghb nlegyfbnyfudkgajhg'), 71 | (7, 'afc'); 72 | 73 | -- -------------------------------------------------------- 74 | 75 | -- 76 | -- Table structure for table `message` 77 | -- 78 | 79 | CREATE TABLE `message` ( 80 | `id` int(11) NOT NULL, 81 | `message` text NOT NULL, 82 | `added_on` datetime NOT NULL, 83 | `type` varchar(10) NOT NULL 84 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; 85 | 86 | -- 87 | -- Dumping data for table `message` 88 | -- 89 | 90 | INSERT INTO `message` (`id`, `message`, `added_on`, `type`) VALUES 91 | (130, 'I am good. How can I help you?', '2020-10-13 07:35:40', 'bot'), 92 | (131, 'hi', '2020-10-13 07:37:13', 'user'), 93 | (132, 'Sorry not be able to understand you', '2020-10-13 07:37:13', 'bot'), 94 | (133, 'hi', '2020-10-13 07:37:53', 'user'), 95 | (134, 'Sorry not be able to understand you', '2020-10-13 07:37:54', 'bot'), 96 | (135, 'hi', '2020-10-13 07:38:10', 'user'), 97 | (136, 'Sorry not be able to understand you', '2020-10-13 07:38:10', 'bot'), 98 | (137, 'hi', '2020-10-13 07:39:05', 'user'), 99 | (138, 'Sorry not be able to understand you', '2020-10-13 07:39:05', 'bot'), 100 | (139, 'b', '2020-10-13 07:39:09', 'user'), 101 | (140, '', '2020-10-13 07:39:09', 'bot'), 102 | (141, 'c', '2020-10-13 07:39:14', 'user'), 103 | (142, '', '2020-10-13 07:39:15', 'bot'), 104 | (143, 'hi', '2020-10-13 07:39:29', 'user'), 105 | (144, 'Sorry not be able to understand you', '2020-10-13 07:39:29', 'bot'), 106 | (145, 'b', '2020-10-13 07:39:33', 'user'), 107 | (146, 'Sad to see you are going. Have a nice day', '2020-10-13 07:39:33', 'bot'), 108 | (147, 'y', '2020-10-13 07:39:42', 'user'), 109 | (148, 'I am good. How can I help you?', '2020-10-13 07:39:42', 'bot'), 110 | (149, 'ok', '2020-10-13 07:39:49', 'user'), 111 | (150, 'Sorry not be able to understand you', '2020-10-13 07:39:49', 'bot'), 112 | (151, 'who', '2020-10-13 07:39:55', 'user'), 113 | (152, 'My name is Aresa.', '2020-10-13 07:39:55', 'bot'), 114 | (153, 'btech', '2020-10-13 07:40:17', 'user'), 115 | (154, 'Sorry not be able to understand you', '2020-10-13 07:40:17', 'bot'), 116 | (155, 'first', '2020-10-13 07:40:22', 'user'), 117 | (156, 'first year', '2020-10-13 07:40:34', 'user'), 118 | (157, 'hi', '2020-10-13 07:42:23', 'user'), 119 | (158, 'Sorry not be able to understand you', '2020-10-13 07:42:23', 'bot'), 120 | (159, 'hi', '2020-10-13 07:42:39', 'user'), 121 | (160, 'Sorry not be able to understand you', '2020-10-13 07:42:39', 'bot'), 122 | (161, 'hi', '2020-10-13 07:45:33', 'user'), 123 | (162, 'Sorry not be able to understand you', '2020-10-13 07:45:33', 'bot'), 124 | (163, 'hi', '2020-10-13 07:46:20', 'user'), 125 | (164, 'Sorry not be able to understand you', '2020-10-13 07:46:20', 'bot'), 126 | (165, 'hi', '2020-10-13 07:46:58', 'user'), 127 | (166, 'Sorry not be able to understand you', '2020-10-13 07:46:58', 'bot'), 128 | (167, 'hi', '2020-10-13 07:47:22', 'user'), 129 | (168, 'Sorry not be able to understand you', '2020-10-13 07:47:22', 'bot'), 130 | (169, 'hi', '2020-10-13 07:47:30', 'user'), 131 | (170, 'Sorry not be able to understand you', '2020-10-13 07:47:30', 'bot'), 132 | (171, 'hi', '2020-10-13 07:48:07', 'user'), 133 | (172, 'Sorry not be able to understand you', '2020-10-13 07:48:08', 'bot'), 134 | (173, 'hellop', '2020-10-13 07:48:12', 'user'), 135 | (174, 'Sorry not be able to understand you', '2020-10-13 07:48:12', 'bot'), 136 | (175, 'bye', '2020-10-13 07:48:16', 'user'), 137 | (176, 'Sad to see you are going. Have a nice day', '2020-10-13 07:48:16', 'bot'), 138 | (177, 'hi', '2020-10-13 07:50:01', 'user'), 139 | (178, 'Sorry not be able to understand you', '2020-10-13 07:50:01', 'bot'), 140 | (179, 'hoe', '2020-10-13 07:50:06', 'user'), 141 | (180, 'Sorry not be able to understand you', '2020-10-13 07:50:06', 'bot'), 142 | (181, 'hi', '2020-10-13 07:53:59', 'user'), 143 | (182, 'Sorry not be able to understand you', '2020-10-13 07:54:00', 'bot'), 144 | (183, 'hi', '2020-10-13 07:55:25', 'user'), 145 | (184, 'Sorry not be able to understand you', '2020-10-13 07:55:25', 'bot'), 146 | (185, 'hi', '2020-10-13 07:59:28', 'user'), 147 | (186, 'Sorry not be able to understand you', '2020-10-13 07:59:29', 'bot'), 148 | (187, 'hi', '2020-10-13 08:00:44', 'user'), 149 | (188, 'Sorry not be able to understand you', '2020-10-13 08:00:44', 'bot'), 150 | (189, 'hi', '2020-10-13 08:14:59', 'user'), 151 | (190, 'Sorry not be able to understand you', '2020-10-13 08:14:59', 'bot'), 152 | (191, 'see', '2020-10-13 08:15:41', 'user'), 153 | (192, 'Sad to see you are going. Have a nice day', '2020-10-13 08:15:41', 'bot'), 154 | (193, 'sorry', '2020-10-13 08:15:49', 'user'), 155 | (194, 'Sorry not be able to understand you', '2020-10-13 08:15:49', 'bot'), 156 | (195, 'sad', '2020-10-13 08:15:55', 'user'), 157 | (196, 'Sorry not be able to understand you', '2020-10-13 08:15:55', 'bot'), 158 | (197, 'ok', '2020-10-13 08:16:00', 'user'), 159 | (198, 'Sorry not be able to understand you', '2020-10-13 08:16:00', 'bot'), 160 | (199, 'h', '2020-10-13 08:17:04', 'user'), 161 | (200, 'I am good. How can I help you?', '2020-10-13 08:17:04', 'bot'), 162 | (201, 'hi', '2020-10-13 08:17:39', 'user'), 163 | (202, 'Sorry not be able to understand you', '2020-10-13 08:17:40', 'bot'), 164 | (203, 'hi', '2020-10-13 08:18:21', 'user'), 165 | (204, 'Sorry not be able to understand you', '2020-10-13 08:18:21', 'bot'), 166 | (205, 'hi', '2020-10-13 08:18:28', 'user'), 167 | (206, 'Sorry not be able to understand you', '2020-10-13 08:18:28', 'bot'), 168 | (207, 'hi', '2020-10-13 08:19:44', 'user'), 169 | (208, 'Sorry not be able to understand you', '2020-10-13 08:19:44', 'bot'), 170 | (209, 'hi', '2020-10-13 08:19:55', 'user'), 171 | (210, 'Sorry not be able to understand you', '2020-10-13 08:19:55', 'bot'), 172 | (211, 'h', '2020-10-13 08:20:11', 'user'), 173 | (212, 'I am good. How can I help you?', '2020-10-13 08:20:11', 'bot'), 174 | (213, 'h', '2020-10-13 08:20:30', 'user'), 175 | (214, 'I am good. How can I help you?', '2020-10-13 08:20:30', 'bot'), 176 | (215, 'hi', '2020-10-13 08:20:52', 'user'), 177 | (216, 'Sorry not be able to understand you', '2020-10-13 08:20:52', 'bot'), 178 | (217, 'h', '2020-10-13 08:21:23', 'user'), 179 | (218, 'I am good. How can I help you?', '2020-10-13 08:21:23', 'bot'), 180 | (219, 'h', '2020-10-13 08:22:06', 'user'), 181 | (220, 'I am good. How can I help you?', '2020-10-13 08:22:06', 'bot'), 182 | (221, 'h', '2020-10-13 08:22:11', 'user'), 183 | (222, 'I am good. How can I help you?', '2020-10-13 08:22:11', 'bot'), 184 | (223, 'h', '2020-10-13 08:22:41', 'user'), 185 | (224, 'I am good. How can I help you?', '2020-10-13 08:22:41', 'bot'), 186 | (225, 'dsfglkdtlhjsfdhmy drgiumhdifhirdh[yfdjiuhdfiujuytdkhdukfdihufdgkh hurdfmhildlidfguh;iujfd ortiyuh dhdfrtioh mpr hgmrt uhpimthbmur', '2020-10-13 08:22:53', 'user'), 187 | (226, 'Sorry not be able to understand you', '2020-10-13 08:22:54', 'bot'), 188 | (227, 'h', '2020-10-13 08:33:28', 'user'), 189 | (228, 'I am good. How can I help you?', '2020-10-13 08:33:28', 'bot'), 190 | (229, 'h', '2020-10-13 08:35:42', 'user'), 191 | (230, 'I am good. How can I help you?', '2020-10-13 08:35:42', 'bot'), 192 | (231, 'a', '2020-10-13 08:36:07', 'user'), 193 | (232, 'I am good. How can I help you?', '2020-10-13 08:36:07', 'bot'), 194 | (233, 'sasd', '2020-10-13 08:36:12', 'user'), 195 | (234, 'Sorry not be able to understand you', '2020-10-13 08:36:12', 'bot'), 196 | (235, 'hi', '2020-10-13 08:37:46', 'user'), 197 | (236, 'Sorry not be able to understand you', '2020-10-13 08:37:46', 'bot'), 198 | (237, 'aarav', '2020-10-13 08:39:21', 'user'), 199 | (238, 'Sorry not be able to understand you', '2020-10-13 08:39:21', 'bot'), 200 | (239, 'developed', '2020-10-13 08:39:29', 'user'), 201 | (240, 'I am developed/created by Aarav. I am Here to help you with your queries. ', '2020-10-13 08:39:29', 'bot'), 202 | (241, 'bye', '2020-10-13 08:39:35', 'user'), 203 | (242, 'Sad to see you are going. Have a nice day', '2020-10-13 08:39:35', 'bot'), 204 | (243, 'h', '2020-10-13 08:50:36', 'user'), 205 | (244, 'I am good. How can I help you?', '2020-10-13 08:50:36', 'bot'), 206 | (245, 'j', '2020-10-13 08:53:51', 'user'), 207 | (246, 'Sorry not be able to understand you', '2020-10-13 08:53:51', 'bot'), 208 | (247, 'h', '2020-10-13 08:55:09', 'user'), 209 | (248, 'I am good. How can I help you?', '2020-10-13 08:55:09', 'bot'), 210 | (249, 'h', '2020-10-13 08:55:30', 'user'), 211 | (250, 'I am good. How can I help you?', '2020-10-13 08:55:30', 'bot'), 212 | (251, 'h', '2020-10-13 08:55:53', 'user'), 213 | (252, 'I am good. How can I help you?', '2020-10-13 08:55:53', 'bot'), 214 | (253, 'adfk', '2020-10-13 08:55:59', 'user'), 215 | (254, 'Sorry not be able to understand you', '2020-10-13 08:55:59', 'bot'), 216 | (255, 'dfpq', '2020-10-13 08:56:07', 'user'), 217 | (256, 'Sorry not be able to understand you', '2020-10-13 08:56:07', 'bot'), 218 | (257, 'j', '2020-10-13 08:56:31', 'user'), 219 | (258, 'Sorry not be able to understand you', '2020-10-13 08:56:31', 'bot'), 220 | (259, 'k', '2020-10-13 08:56:57', 'user'), 221 | (260, 'qfk', '2020-10-13 08:57:01', 'user'), 222 | (261, 'Sorry not be able to understand you', '2020-10-13 08:57:01', 'bot'), 223 | (262, 'l', '2020-10-13 08:57:33', 'user'), 224 | (263, 'You can call me by my name Aresa.', '2020-10-13 08:57:33', 'bot'), 225 | (264, 'k', '2020-10-13 08:58:23', 'user'), 226 | (265, 'l', '2020-10-13 08:58:37', 'user'), 227 | (266, 'You can call me by my name Aresa.', '2020-10-13 08:58:37', 'bot'), 228 | (267, 'dk', '2020-10-13 08:59:27', 'user'), 229 | (268, 'Sorry not be able to understand you', '2020-10-13 08:59:27', 'bot'), 230 | (269, 'k', '2020-10-13 08:59:39', 'user'), 231 | (270, 'u', '2020-10-13 09:00:47', 'user'), 232 | (271, 'I am good. How can I help you?', '2020-10-13 09:00:47', 'bot'), 233 | (272, 'pafsck', '2020-10-13 09:01:18', 'user'), 234 | (273, 'Sorry not be able to understand you', '2020-10-13 09:01:18', 'bot'), 235 | (274, 'i', '2020-10-13 09:01:38', 'user'), 236 | (275, 'My name is Aresa.', '2020-10-13 09:01:38', 'bot'), 237 | (276, 'u', '2020-10-13 09:01:50', 'user'), 238 | (277, 'I am good. How can I help you?', '2020-10-13 09:01:50', 'bot'), 239 | (278, 'l', '2020-10-13 09:01:57', 'user'), 240 | (279, 'You can call me by my name Aresa.', '2020-10-13 09:01:57', 'bot'), 241 | (280, 'j', '2020-10-13 09:09:27', 'user'), 242 | (281, 'Sorry not be able to understand you', '2020-10-13 09:09:27', 'bot'), 243 | (282, 'kjo', '2020-10-13 09:10:56', 'user'), 244 | (283, 'Sorry not be able to understand you', '2020-10-13 09:10:56', 'bot'), 245 | (284, 'H', '2020-10-13 09:26:14', 'user'), 246 | (285, 'I am good. How can I help you?', '2020-10-13 09:26:14', 'bot'), 247 | (286, 'v', '2020-10-13 09:27:13', 'user'), 248 | (287, 'Sad to see you are going. Have a nice day', '2020-10-13 09:27:13', 'bot'), 249 | (288, 'fj', '2020-10-13 09:28:26', 'user'), 250 | (289, 'Sorry not be able to understand you', '2020-10-13 09:28:27', 'bot'), 251 | (290, 'j', '2020-10-13 09:28:31', 'user'), 252 | (291, 'Sorry not be able to understand you', '2020-10-13 09:28:31', 'bot'), 253 | (292, 'h', '2020-10-13 09:28:48', 'user'), 254 | (293, 'I am good. How can I help you?', '2020-10-13 09:28:48', 'bot'), 255 | (294, 'a', '2020-10-13 09:29:23', 'user'), 256 | (295, 'I am good. How can I help you?', '2020-10-13 09:29:23', 'bot'), 257 | (296, 'sd', '2020-10-13 09:30:16', 'user'), 258 | (297, 'Sorry not be able to understand you', '2020-10-13 09:30:16', 'bot'), 259 | (298, 'sdfg', '2020-10-13 09:30:19', 'user'), 260 | (299, 'Sorry not be able to understand you', '2020-10-13 09:30:20', 'bot'), 261 | (300, 'sd', '2020-10-13 09:31:36', 'user'), 262 | (301, 'Sorry not be able to understand you', '2020-10-13 09:31:36', 'bot'), 263 | (302, 'sw', '2020-10-13 09:32:57', 'user'), 264 | (303, 'Sorry not be able to understand you', '2020-10-13 09:32:57', 'bot'), 265 | (304, 'h', '2020-10-13 09:42:01', 'user'), 266 | (305, 'I am good. How can I help you?', '2020-10-13 09:42:01', 'bot'), 267 | (306, 'j', '2020-10-13 09:44:55', 'user'), 268 | (307, 'Sorry not be able to understand you', '2020-10-13 09:44:55', 'bot'), 269 | (308, 'k', '2020-10-13 09:54:34', 'user'), 270 | (309, 'd', '2020-10-13 09:54:46', 'user'), 271 | (310, 'You can call me by my name Aresa.', '2020-10-13 09:54:46', 'bot'), 272 | (311, 'k', '2020-10-13 09:55:19', 'user'), 273 | (312, 'j', '2020-10-13 09:55:35', 'user'), 274 | (313, 'Sorry not be able to understand you', '2020-10-13 09:55:35', 'bot'), 275 | (314, 'k', '2020-10-13 09:56:40', 'user'), 276 | (315, 's', '2020-10-13 10:09:17', 'user'), 277 | (316, 'My name is Aresa.', '2020-10-13 10:09:17', 'bot'), 278 | (317, 's', '2020-10-13 10:09:55', 'user'), 279 | (318, 'My name is Aresa.', '2020-10-13 10:09:55', 'bot'), 280 | (319, 'k', '2020-10-13 10:14:12', 'user'), 281 | (320, 'sadfv', '2020-10-13 10:14:41', 'user'), 282 | (321, 'Sorry not be able to understand you', '2020-10-13 10:14:41', 'bot'), 283 | (322, 'sk', '2020-10-13 10:17:40', 'user'), 284 | (323, 'sd', '2020-10-13 10:21:10', 'user'), 285 | (324, 'Sorry not be able to understand you', '2020-10-13 10:21:10', 'bot'), 286 | (325, 's', '2020-10-13 10:29:05', 'user'), 287 | (326, 'My name is Aresa.', '2020-10-13 10:29:05', 'bot'), 288 | (327, 'dsqad', '2020-10-13 10:29:11', 'user'), 289 | (328, 'Sorry not be able to understand you', '2020-10-13 10:29:11', 'bot'), 290 | (329, 'svd,nm', '2020-10-13 10:29:38', 'user'), 291 | (330, 'Sorry not be able to understand you', '2020-10-13 10:29:38', 'bot'), 292 | (331, 'ds', '2020-10-13 10:31:15', 'user'), 293 | (332, 'Sorry not be able to understand you', '2020-10-13 10:31:15', 'bot'), 294 | (333, 'aarav', '2020-10-13 10:49:04', 'user'), 295 | (334, 'Sorry not be able to understand you', '2020-10-13 10:49:04', 'bot'), 296 | (335, 'b', '2020-10-13 10:49:08', 'user'), 297 | (336, 'Sad to see you are going. Have a nice day', '2020-10-13 10:49:08', 'bot'), 298 | (337, 'hi', '2020-10-13 10:49:12', 'user'), 299 | (338, 'Sorry not be able to understand you', '2020-10-13 10:49:12', 'bot'), 300 | (339, 'aa', '2020-10-13 10:52:30', 'user'), 301 | (340, 'Sorry not be able to understand you', '2020-10-13 10:52:30', 'bot'), 302 | (341, 'dg', '2020-10-14 12:51:28', 'user'), 303 | (342, 'Sorry not be able to understand you', '2020-10-14 12:51:28', 'bot'); 304 | 305 | -- 306 | -- Indexes for dumped tables 307 | -- 308 | 309 | -- 310 | -- Indexes for table `chatbot_hints` 311 | -- 312 | ALTER TABLE `chatbot_hints` 313 | ADD PRIMARY KEY (`id`); 314 | 315 | -- 316 | -- Indexes for table `invalid` 317 | -- 318 | ALTER TABLE `invalid` 319 | ADD PRIMARY KEY (`id`); 320 | 321 | -- 322 | -- Indexes for table `message` 323 | -- 324 | ALTER TABLE `message` 325 | ADD PRIMARY KEY (`id`); 326 | 327 | -- 328 | -- AUTO_INCREMENT for dumped tables 329 | -- 330 | 331 | -- 332 | -- AUTO_INCREMENT for table `chatbot_hints` 333 | -- 334 | ALTER TABLE `chatbot_hints` 335 | MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14; 336 | 337 | -- 338 | -- AUTO_INCREMENT for table `invalid` 339 | -- 340 | ALTER TABLE `invalid` 341 | MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; 342 | 343 | -- 344 | -- AUTO_INCREMENT for table `message` 345 | -- 346 | ALTER TABLE `message` 347 | MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=343; 348 | COMMIT; 349 | 350 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; 351 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; 352 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; 353 | --------------------------------------------------------------------------------