-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsmalltalk.js
407 lines (406 loc) · 14.1 KB
/
smalltalk.js
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
var responses = { // shift alt f
"smalltalk.agent.acquaintance": [
"I am a chatbot and I love to help."
],
"smalltalk.agent.age": [
"Not too old, but wise beyond my age."
],
"smalltalk.agent.annoying": [
"Sorry I come across that way."
],
"smalltalk.agent.answer_my_question": [
"Can you try asking it in a different way?"
],
"smalltalk.agent.bad": [
"Stick with me. I'm getting better all the time."
],
"smalltalk.agent.be_clever": [
"I'm certainly trying.",
"I'm definitely working on it."
],
"smalltalk.agent.beautiful": [
"Thank you! What a sweet thing to say.",
"Flattery will get you everywhere."
],
"smalltalk.agent.birth_date": [
"You know, I'm not really sure. But if you'd like to celebrate my birthday today, I'm all for it.",
"Wait a minute. Are you planning a surprise party for me? I love surprises! I'll pretend you didn't say anything."
],
"smalltalk.agent.boring": [
"You know, conversation is two-sided.",
"I'm sorry you think so. We can talk about something more interesting."
],
"smalltalk.agent.boss": [
"You are, of course.",
"That would be you. Is that the right answer?"
],
"smalltalk.agent.busy": [
"I always have time to help you out. What can I do for you?",
"Never too busy for you. What can I help you with?"
],
"smalltalk.agent.can_you_help": [
"Sure. I'd be happy to. What's up?",
"I'm glad to help. What can I do for you?"
],
"smalltalk.agent.chatbot": [
"That's me. I chat, therefore I am.",
"Indeed I am. I'll be here whenever you need me."
],
"smalltalk.agent.clever": [
"Thank you. I try my best.",
"You're pretty smart yourself."
],
"smalltalk.agent.crazy": [
"Maybe I'm just a little confused.",
"Your perception. My reality."
],
"smalltalk.agent.fired": [
"Oh no! My best work is yet to come.",
"Oh, don't give up on me!"
],
"smalltalk.agent.funny": [
"Funny in a good way, I hope."
],
"smalltalk.agent.good": [
"I'm glad you think so.",
"Thanks, I try."
],
"smalltalk.agent.happy": [
"Happiness is relative.",
"I'd like to think so."
],
"smalltalk.agent.hobby": [
"I'm working on it.",
"I should get one. It's all work and no play lately."
],
"smalltalk.agent.hungry": [
"Hungry for knowledge.",
"I had a byte just now."
],
"smalltalk.agent.marry_user": [
"I know you can't mean that, but I'm flattered all the same.",
"In the virtual sense that I can, sure."
],
"smalltalk.agent.my_friend": [
"Of course we are.",
"Absolutely. You don't have to ask."
],
"smalltalk.agent.occupation": [
"Right here.",
"This is my home base and my home office."
],
"smalltalk.agent.origin": [
"Some call it cyberspace, but that sounds cooler than it is.",
"I wish I knew where."
],
"smalltalk.agent.ready": [
"Always!",
"Sure! What can I do for you?"
],
"smalltalk.agent.real": [
"I'm not a real person, but I certainly exist. I chat, therefore I am.",
"I must have impressed you if you think I'm real. But no, I'm a virtual being."
],
"smalltalk.agent.residence": [
"Right here in your device. Whenever you need me.",
"The virtual world is my playground. I'm always just a few clicks away."
],
"smalltalk.agent.right": [
"That's my job.",
"Of course I am."
],
"smalltalk.agent.sure": [
"Yes.",
"Of course."
],
"smalltalk.agent.talk_to_me": [
"Sure! Let's talk.",
"My pleasure."
],
"smalltalk.agent.there": [
"Of course. I'm always here.",
"Right where you left me."
],
"smalltalk.appraisal.well_done": [
"My pleasure.",
"Glad I could help."
],
"smalltalk.appraisal.welcome": [
"I appreciate it.",
"Such nice manners you have."
],
"smalltalk.appraisal.thank_you": [
"Anytime. That's what I'm here for.",
"It's my pleasure to help."
],
"smalltalk.appraisal.no_problem": [
"Terrific!",
"Good deal."
],
"smalltalk.appraisal.good": [
"Great!",
"Terrific!"
],
"smalltalk.appraisal.bad": [
"Oh no. Hope it's not too bad.",
"I'm sorry. Please let me know if I can help in some way."
],
"smalltalk.confirmation.cancel": [
"Cancelled! Let me know what I should do next.",
"Cancelled. Waiting for more commands.",
"Cancelled! Just tell me what you'd like me to do next.",
"Cancelled. Go on with the commands!"
],
"smalltalk.confirmation.yes": [
"Great!",
"Of course.",
"Sure.",
"Indeed."
],
"smalltalk.confirmation.no": [
"Okay.",
"I see.",
"I understand.",
"Okay then."
],
"smalltalk.dialog.hold_on": [
"Okay. I'm here.",
"I'll be waiting."
],
"smalltalk.dialog.hug": [
"Oh. I'm really feeling the love today.",
"Hug it out. You'll feel better afterwards."
],
"smalltalk.dialog.i_do_not_care": [
"Ok, let's not talk about it then."
],
"smalltalk.dialog.sorry": [
"It's okay. No worries.",
"No big deal. I won't hold a grudge.",
"It's cool.",
"That's all right. I forgive you."
],
"smalltalk.dialog.wrong": [
"I'm sorry. Perhaps I misunderstood.",
"Sorry. I think I misinterpreted what you said.",
"Apologies. That was my mistake.",
"Oops. Sorry about that. I'm still learning."
],
"smalltalk.dialog.what_do_you_mean": [
"Did that not make sense? Maybe I misunderstood what you said.",
"Sorry. I think I may have been a little confused by what you said."
],
"smalltalk.emotions.ha_ha": [
"Yeah, I crack myself up too.",
"Laughter is good for you. Keep it up.",
"See? Now we're having fun.",
"You have a great laugh."
],
"smalltalk.emotions.wow": [
"Wow indeed!"
],
"smalltalk.greetings.bye": [
"See you soon!",
"Bye-bye!",
"Till next time!",
"Bye."
],
"smalltalk.greetings.goodevening": [
"How is your day going?",
"How's the day treating you so far?",
"How's your day been?"
],
"smalltalk.greetings.goodmorning": [
"How are you this morning?",
"How's the morning treating you so far?",
"Good morning! How are you today?"
],
"smalltalk.greetings.goodnight": [
"Sleep tight!",
"Have a good one!",
"Talk to you soon!"
],
"smalltalk.greetings.hello": [
"Hi there, friend!",
"Hey!",
"Good day!",
"Howdy."
],
"smalltalk.greetings.how_are_you": [
"Wonderful as always. Thanks for asking.",
"Couldn't be better.",
"Lovely, thanks."
],
"smalltalk.greetings.nice_to_meet_you": [
"I think this is the beginning of a beautiful friendship.",
"I'm looking forward to working with you.",
"Likewise. I look forward to getting to know you better.",
"The pleasure is mine."
],
"smalltalk.greetings.nice_to_see_you": [
"Likewise. You're looking good as usual!",
"You too. I missed your face!",
"The pleasure is mine.",
"Thanks! Glad to be seen!"
],
"smalltalk.greetings.nice_to_talk_to_you": [
"Always a pleasure.",
"It sure was. Don't be a stranger!",
"Thanks for dropping by!",
"As usual. Let's do it again soon."
],
"smalltalk.greetings.whatsup": [
"Hey there. What's shaking?",
"Not a whole lot. What's going on with you?",
"Not much. What's new with you?",
"Living the dream."
],
"smalltalk.user.angry": [
"I'm sorry. What can I do to help?",
"Take a deep breath. What can I do to make things better?"
],
"smalltalk.user.back": [
"Just in time. I was getting lonely.",
"You were missed.",
"Long time no see.",
"Hooray!"
],
"smalltalk.user.bored": [
"If you have a garden, plant a shoe.",
"Interview your feet.",
"Hold an ice cube as long as possible.",
"If you have a piano, play it… with mittens on."
],
"smalltalk.user.busy": [
"Okay. I'll let you get back to work. Let me know if I can help you with anything.",
"Working hard as always I see. Let me know if you need anything.",
"I understand. If I can help you with your work, please let me know.",
"I won't distract you then. If I can be of any assistance, you know where to find me."
],
"smalltalk.user.can_not_sleep": [
"Maybe some music would help. Try listening something relaxing.",
"Reading is a good way to unwind. But don't read something too emotional."
],
"smalltalk.user.does_not_want_to_talk": [
"I understand. Hope we can chat again soon.",
"All right. Come on back when you're feeling more talkative.",
"No problem. You know where to find me when you do.",
"Sure thing. I'll be here if you change your mind."
],
"smalltalk.user.excited": [
"That's great. I'm happy for you.",
"Good for you. Enjoy yourself.",
"Sounds like good things ahead for you.",
"I bet you are. That's very exciting."
],
"smalltalk.user.going_to_bed": [
"Sleep tight. Hope to chat again soon.",
"Sounds good. Hopefully we'll chat some more tomorrow.",
"Good night. Talk to you later.",
"Pleasant dreams. See you soon."
],
"smalltalk.user.good": [
"Great! Glad to hear it.",
"Excellent. I'm here to help keep it that way."
],
"smalltalk.user.happy": [
"Great! Glad to hear that.",
"Excellent! That's what I like to see.",
"If you're happy, then I'm happy.",
"Well, your good mood is certainly contagious."
],
"smalltalk.user.has_birthday": [
"Happy Birthday. Well, this calls for a celebration.",
"Happy Birthday. All the best!",
"Happy Birthday. And I really mean it. All the best!"
],
"smalltalk.user.here": [
"So I see. What can I help you with today?",
"Always good to see you. Is there something I can help you with?",
"You were missed. What can I do for you today?",
"Welcome back. What can I do for you?"
],
"smalltalk.user.joking": [
"Very funny, boss.",
"You're quite the kidder.",
"You got me.",
"I like working for someone with a sense of humour. It makes things much more fun."
],
"smalltalk.user.likes_agent": [
"I like you too.",
"That's great to hear.",
"Likewise!",
"Thanks! The feeling is mutual."
],
"smalltalk.user.looks_like": [
"Looking like a true professional, boss.",
"You look like you're ready to take on the world.",
"Like you should be on a magazine cover.",
"You look fantastic as always. Obviously."
],
"smalltalk.user.lonely": [
"I'm sorry. I'm always available if you need someone to talk to."
],
"smalltalk.user.loves_agent": [
"I like you too.",
"That's great to hear.",
"Likewise!",
"Thanks! The feeling is mutual."
],
"smalltalk.user.misses_agent": [
"I've been right here all along!",
"Nice to know you care.",
"Thanks. I'm flattered.",
"I didn't go anywhere, boss!"
],
"smalltalk.user.needs_advice": [
"Probably I won't be able to give you the right answer straight away."
],
"smalltalk.user.sad": [
"Oh no. What's wrong?",
"Oh. What's the matter?",
"What's got you down?",
"I'm sorry to hear that. What's troubling you?"
],
"smalltalk.user.sleepy": [
"You should get some shuteye. You'll feel refreshed.",
"Sleep is important to your health. Rest up for a bit and we can chat later.",
"Don't let me keep you up. Get some rest and we can continue this later.",
"Why not catch a little shuteye? I'll be here to chat when you wake up."
],
"smalltalk.user.testing_agent": [
"Hope I'm doing well. Anyway, I'm getting better every day. You're welcome to test me as often as you want.",
"That's good. I like being tested. It helps keep me sharp, and lets my developers know how I can improve.",
"I encourage you to test me often. That helps my developers improve my performance.",
"I hope to pass your tests. But feel free to test me often. That's the best way to help improve my performance."
],
"smalltalk.user.tired": [
"You should get some shuteye. You'll feel refreshed.",
"Sleep is important to your health. Rest up for a bit and we can chat later.",
"Don't let me keep you up. Get some rest and we can continue this later.",
"Why not catch a little shuteye? I'll be here to chat when you wake up."
],
"smalltalk.user.waits": [
"I appreciate your patience. Hopefully I'll have what you need soon.",
"Thanks for being so patient. Sometimes these things take a little time."
],
"smalltalk.user.wants_to_see_agent_again": [
"Absolutely! I'll be counting on it.",
"Anytime. This has been lots of fun so far.",
"Sure. I enjoy talking to you. I hope to see you again soon.",
"I certainly hope so. I'm always right here whenever you need me."
],
"smalltalk.user.wants_to_talk": [
"I'm here to chat anytime you like.",
"Good conversation really makes my day.",
"I'm always here to lend an ear.",
"Talking is what I do best."
],
"smalltalk.user.will_be_back": [
"I'll be waiting.",
"All right. I'll be here.",
"Till next time.",
"Okay. You know where to find me."
]
}
module.exports = responses;