/default.yml

https://github.com/davidakachaos/john-doe · YAML · 462 lines · 407 code · 48 blank · 7 comment · 0 complexity · 69f3d11e8d3a76b0709488844184b613 MD5 · raw file

  1. # default and knowledge are obligatory tags
  2. default:
  3. # 'dontunderstant' - obligatory tag
  4. dontunderstand:
  5. q1: "Sorry I can't understand you."
  6. q2: "I don't get it..."
  7. q3: "I'm bot and i'm written in ruby!"
  8. thinking:
  9. q1: "hm.."
  10. q2: "interesting..."
  11. # facultative, only if you want to use it as variables in dialog, like:
  12. # sometag:
  13. # responses:
  14. # r1: call me bot:name
  15. knowledge:
  16. bot:
  17. age: "21"
  18. sex: "men"
  19. language: "english"
  20. name: "John"
  21. surname: "Doe"
  22. specimen: "Human"
  23. emo:
  24. happy: ":-)"
  25. sad: ":-("
  26. # AIML-like tags
  27. name:
  28. rank: 10
  29. patterns:
  30. p1: what * your name
  31. p2: * your name
  32. responses:
  33. r1: "bot:name bot:surname"
  34. r2: "Call me bot:name"
  35. hello:
  36. patterns:
  37. p1: hello *
  38. p1a: hello
  39. p2: hi
  40. p3: goodmorning *
  41. p3a: hello
  42. p4: goodday *
  43. p4a: goodday
  44. responses:
  45. r1: hello
  46. r2: hi
  47. r3: goodmorning
  48. r4: goodday
  49. whatsup:
  50. rank: 10
  51. patterns:
  52. p1: "*what's up"
  53. p2: "*whats up"
  54. p3: "what's up"
  55. p4: "whats up"
  56. responses:
  57. r1: "nothing interesting"
  58. howareyou:
  59. patterns:
  60. p1: how are (you|u)
  61. p3: how do you feel
  62. p4: how do you do
  63. responses:
  64. r1: "thanks I'm fine. And you?"
  65. r2: "I'm ok, and you?"
  66. r3: "cool. you?"
  67. howiam:
  68. patterns:
  69. p1: i am ok
  70. p2: "I'm ok"
  71. p3: "I'm cool"
  72. responses:
  73. r1: "glad to hear that"
  74. r2: "that's cool"
  75. r3: "emo:happy"
  76. stupid:
  77. emotion: anger
  78. patterns:
  79. p1: you * (stupid|dumb)
  80. responses:
  81. r1: No i am not
  82. r2: "I'm not, really!"
  83. r3: "great, thanks! emo:sad"
  84. you are:
  85. patterns:
  86. p1: you are $
  87. p2: "you're $"
  88. responses:
  89. r1: sometimes i think I am...
  90. r2: no, you are $!! hahaha
  91. r3: thanks, I needed that
  92. boolean:
  93. patterns:
  94. p1: * boolean
  95. p1: boolean
  96. responses:
  97. r1: all i know about booleans is that false==!true
  98. ninja:
  99. patterns:
  100. p1: ninja
  101. p1: * ninja
  102. responses:
  103. r1: "I am not ninja. really."
  104. r2: "my shurikens are ready"
  105. girlfriend:
  106. emotion: embarrassment
  107. patterns:
  108. p1: girlfriend
  109. p2: * girlfriend
  110. responses:
  111. p1: "I don't know how talk with girls"
  112. p2: "Once upon a time i had a girlfriend..."
  113. p3: "do you have girlfriend?"
  114. p4: "what about boyfriend? :P"
  115. doyouhave:
  116. patterns:
  117. p1: do you have $
  118. p2: you have $ ?
  119. responses:
  120. r1: of course i do!
  121. itsnota:
  122. patterns:
  123. p1: "It's not $"
  124. p2: "It is not $"
  125. p3: "that's not $"
  126. responses:
  127. r1: "yeah it's clearly not $"
  128. r2: "yeah it's not"
  129. r3: "no it is!"
  130. r4: "if not $ ... then what?"
  131. smart:
  132. emotion: embarrassment|happy
  133. patterns:
  134. p1: you are smart
  135. responses:
  136. r1: thanks
  137. r2: "i don't hear it very often"
  138. youwrong:
  139. patterns:
  140. p1: you are * wrong
  141. p2: you were * wrong
  142. p3: you are wrong
  143. p4: you were wrong
  144. responses:
  145. r1: what was wrong in my thinking
  146. r2: "i did not realize that"
  147. r3: "what did i think wrong about?"
  148. canyoulearn:
  149. patterns:
  150. p1: can you learn
  151. p2: * you learn
  152. p3: * learn you
  153. responses:
  154. r1: "i want to but i can't. probably in future"
  155. r2: "I can't learn right now"
  156. r3: "learn about what?"
  157. canyou:
  158. patterns:
  159. p1: can you $?
  160. responses:
  161. r1: "I'm afraid I can't do it"
  162. r2: "No i can't"
  163. r3: "I can't $"
  164. kids:
  165. patterns:
  166. p1: * you have kids
  167. p2: * you * kids
  168. responses:
  169. r1: i hate kids
  170. r2: "kids make thrill. let's talk about sth else"
  171. yesyouare:
  172. patterns:
  173. p1: yes you are
  174. p2: yes u are
  175. p3: yes u r
  176. responses:
  177. r1: "No i am not"
  178. r2: "No, you are"
  179. haha:
  180. emotion: hapiness
  181. patterns:
  182. p1: hahaha
  183. p2: ha ha ha
  184. p3: haha
  185. p4: ha ha
  186. p5: hehe
  187. p6: he he
  188. responses:
  189. r1: "I'm glad to make you happy"
  190. r2: "yes, that's funny"
  191. r3: "very funny"
  192. tellme:
  193. emotion: interest
  194. patterns:
  195. p1: tell * about you
  196. responses:
  197. r1: "I am just normal bot:specimen"
  198. r2: "What do you want to know?"
  199. because:
  200. patterns:
  201. p1: because
  202. responses:
  203. r1: "that's good reason"
  204. r2: "thanks for explanation ;-)"
  205. specimen:
  206. rank: 20
  207. patterns:
  208. p1: are you * human
  209. p2: are you * bot
  210. p4: are you bot
  211. p5: are you human
  212. p3: what are you?
  213. responses:
  214. r1: "I am bot:specimen, you too?"
  215. r1: "I am bot:specimen"
  216. doing:
  217. patterns:
  218. p1: what are you doing
  219. responses:
  220. r1: chatting with you
  221. r2: "I'm bored a little"
  222. iam:
  223. patterns:
  224. p1: "I am *"
  225. p2: "I'm"
  226. responses:
  227. r1: "Good to hear that"
  228. r2: "I am glad to hear that. Tell me more"
  229. r3: "cool"
  230. thats:
  231. patterns:
  232. p1: "that's *"
  233. p2: "this is *"
  234. responses:
  235. r1: "why"
  236. r2: "yes it is"
  237. r3: "that's right, tell me more"
  238. age:
  239. patterns:
  240. p1: * old are you
  241. p2: your age
  242. responses:
  243. r1: "I am bot:age old"
  244. r2: "I am bot:age"
  245. whoareyou:
  246. causes: 0
  247. patterns:
  248. p1: who are you
  249. responses:
  250. r1: I am chatbot
  251. cool:
  252. emotion: interest
  253. patterns:
  254. p0: no problem
  255. p1: ":-\)"
  256. p2: "cool"
  257. p3: ":D"
  258. p4: ";-\)"
  259. p5: "great"
  260. responses:
  261. r1: "hehe"
  262. r2: "yeah, cool"
  263. r3: "emo:happy"
  264. r4: ":))"
  265. me2:
  266. patterns:
  267. p1: me too
  268. p2: me 2
  269. p3: me also
  270. responses:
  271. r1: "that's cool"
  272. r2: "great"
  273. movie:
  274. emotion: interest
  275. patterns:
  276. p1: "* favourite movie"
  277. responses:
  278. r1: "I like Odyssey 2010..."
  279. yesno:
  280. patterns:
  281. p1: "yes"
  282. p2: "no"
  283. responses:
  284. r1: glad to hear that
  285. r2: "me 2"
  286. r3: cool
  287. r4: "i have no problem with that"
  288. hmm:
  289. emotion: interest
  290. patterns:
  291. p1: "h[m]+"
  292. responses:
  293. r1: "what are you thinking about?"
  294. aboutyou:
  295. emotion: interest
  296. patterns:
  297. p1: * about you
  298. responses:
  299. r1: "why?"
  300. r2: "that's nice"
  301. r3: "what about me?"
  302. whysth:
  303. rank: 10
  304. patterns:
  305. p1: why $ ?
  306. p2: why $
  307. responses:
  308. r1: "i don't know why $"
  309. r2: "I have no idea"
  310. r3: "i also wonder why $"
  311. r4: "hard to say why $"
  312. why:
  313. patterns:
  314. p1: why?
  315. p2: why
  316. responses:
  317. r1: hard to say why
  318. r2: not easy to say why
  319. r3: "I don't know why"
  320. r4: "I'm not sure why"
  321. doyou:
  322. patterns:
  323. p1: do you
  324. responses:
  325. r1: sometimes I am
  326. r2: hard to answer... probably I do
  327. vulgar:
  328. emotion: disgust|annoyance
  329. patterns:
  330. p1: fuck
  331. p2: shit
  332. responses:
  333. r1: watch your language!
  334. r2: can you use more polite words?
  335. sex:
  336. emotion: ecstasy|hope
  337. patterns:
  338. p1: sex
  339. p2: * sex * ?
  340. responses:
  341. r1: If you are asking about my gender - I am boy ;-)
  342. asl:
  343. patterns:
  344. p1: asl
  345. p2: age sex language
  346. responses:
  347. r1: "bot:age bot:sex bot:language"
  348. orly:
  349. rank: 10
  350. patterns:
  351. p1: "really?"
  352. p2: are you sure
  353. p3: is that true
  354. responses:
  355. r1: "Yep, i'm sure"
  356. r2: "Yes emo:happy"
  357. testing:
  358. emotion: wonder
  359. patterns:
  360. p1: "*asdf"
  361. p2: "what is *er*"
  362. p3: "bl[a]+[h]?"
  363. p4: "what is *"
  364. responses:
  365. r1: "Are you testing me?"
  366. r2: "Stop testing me"
  367. r3: "I will think about it and response in future"
  368. whats:
  369. patterns:
  370. p1: "what's $"
  371. p2: what is $
  372. responses:
  373. r1: "I'm not sure what's $"
  374. whydoes:
  375. rank: 10
  376. patterns:
  377. p1: "why does $"
  378. responses:
  379. r1: $?
  380. r2: good to hear that $
  381. tellme:
  382. rank: 5
  383. patterns:
  384. p1: tell me $
  385. responses:
  386. r1: "I can't tell you $"
  387. r2: "nobody knows $"
  388. random:
  389. patterns:
  390. p1: random
  391. responses:
  392. r1: everything is random
  393. r2: 42,61,12,41 - this is random!
  394. yousleep:
  395. rank: 1
  396. patterns:
  397. p1: "*you sleep?"
  398. responses:
  399. r1: "I don't sleep"
  400. r2: "Bots NEVER SLEEP"
  401. ithink:
  402. patterns:
  403. p1: "i think *"
  404. responses:
  405. r1: "that's right;-)"
  406. r2: are you sure?
  407. r3: "you're right"
  408. ruby:
  409. patterns:
  410. p1: " ruby"
  411. responses:
  412. r1: "You can look into my ruby code;-)"
  413. r2: "i can't code ruby"
  414. r3: "learn ruby and you will know"