Skip to content

Commit

Permalink
bugs fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayashree-panda committed Apr 12, 2019
1 parent 2b0b83f commit 1404450
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 27 deletions.
42 changes: 21 additions & 21 deletions service/messages/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"hey",
"whats up",
"yo",
"Hey there"
"hey there"
],
"initial-greetings-name": [
"hi jarvis",
Expand Down Expand Up @@ -34,11 +34,11 @@
"what is your work",
"your work",
"work",
"I need your help",
"I need your help. Please help me!",
"How you work?",
"How you work? Please guide me!",
"How you work? Let me know!"
"i need your help",
"i need your help please help me",
"how you work",
"how you work please guide me",
"how you work let me know"

],
"about": [
Expand All @@ -49,15 +49,15 @@
"tell me about yourself",
"about you",
"about",
"May I know something about you?",
"Can you say something about you?",
"Would you bother to introduce yourself?",
"Would you please bother to introduce yourself?",
"Introduce yourself",
"Can you please introduce yourself?",
"I wanna know something about you. Can you introduce yourself?",
"I would like to know something about you. Can you introduce yourself?",
"I would like to know something about you. Would you please bother to introduce yourself?"
"may i know something about you",
"can you say something about you",
"would you bother to introduce yourself",
"would you please bother to introduce yourself",
"introduce yourself",
"can you please introduce yourself",
"i wanna know something about you can you introduce yourself",
"i would like to know something about you can you introduce yourself",
"i would like to know something about you would you please bother to introduce yourself"

],
"age": [
Expand All @@ -66,12 +66,12 @@
"how long have a been",
"jarvis age",
"jarvis years",
"Whats your age?",
"Whats your age, Jarvis?",
"Hey jarvis! Whats your age now?",
"Hey jarvis! Whats your age?",
"Hey jarvis! How old are you?",
"Hey! Whats your age?"
"whats your age",
"whats your age, jarvis",
"hey jarvis whats your age now",
"hey jarvis whats your age",
"hey jarvis how old are you",
"hey whats your age"

],
"birthday": [
Expand Down
8 changes: 4 additions & 4 deletions service/messages/messages_replies.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"hey %s! I am ready here. Anything I may help you with?"
],
"help": [
"I can do lots of things! You can ask for web search, specific google/yahoo/bing search, images, videos, search for medicines specifications, set reminder and also find answers for any of your queries!",
"You can ask for web search, specific google/yahoo/bing search, images, videos, search for medicines specifications, set reminder and also find answers for any of your queries!",
"I can help you with web search, specific google/yahoo/bing search, images, videos, search for medicines specifications, set reminder and also find answers for any of your queries!",
"My work is to help you with the web search, specific google/yahoo/bing search, images, videos, search for medicines specifications, set reminder and also find answers for any of your queries!"
"I can do lots of things! You can ask for web search, specific google/yahoo/bing search, images, videos, search for medicines specifications, set reminder, tasklist and also find answers for any of your queries!",
"You can ask for web search, specific google/yahoo/bing search, images, videos, search for medicines specifications, set reminder, tasklist and also find answers for any of your queries!",
"I can help you with web search, specific google/yahoo/bing search, images, videos, search for medicines specifications, set reminder, tasklist and also find answers for any of your queries!",
"My work is to help you with the web search, specific google/yahoo/bing search, images, videos, search for medicines specifications, set reminder, tasklist and also find answers for any of your queries!"
],
"about": [
"I am Jarvis, your personal assistant. How can I help you?",
Expand Down
2 changes: 0 additions & 2 deletions view/app-jarvis.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,14 +139,12 @@ app.controller('MainController', function($scope,$location,$rootScope,$http) {
messageObj.message = message;
$scope.messageStack.push(messageObj);
} else if ((status === 'success' || status) && message === 'Here are your reminders : ') {
console.log('In show reminder');
messageObj.sender = 'jarvis-bot';
messageObj.time = String(new Date().getHours() + ':' + new Date().getMinutes());
messageObj.length = message.length;
messageObj.message = message;
messageObj.result = result;
$scope.messageStack.push(messageObj);
console.log(messageObj);
} else if ((status === 'success' || status) && (message === 'Information about the medicine : ' || message === 'Help on the given symptoms : ')) {
messageObj.sender = 'jarvis-bot';
messageObj.time = String(hrs2 + ':' + mins2);
Expand Down

0 comments on commit 1404450

Please sign in to comment.