加入机器人自由开放源码项目 BotLibre.org
FAQ : How to use pattern or wildcard responses

RE: How to use pattern or wildcard responses

通过 pleabargain 发布 Nov 23 2016, 7:38

here is my basic chat bot

http://botlibre.com/bot?instance=14699553&dynamicChat=Chat

I used the sample code from above:

Pattern("* hockey *")
I love hockey, it is the best sport.

but I got error:

Pattern must end with ')' character - Pattern("* hockey *") I love hockey, it is the best sport.

here is the video showing my tests

https://youtu.be/7mfyob0lH08

Please explain why copying and pasting sample code from the forum/docs fails in the chat engine.

thank you

Dennis 


Id: 14731584
发布: Nov 23 2016, 7:38
更新: Nov 23 2016, 9:26
答复: 0
的风景: 4629, 今天: 1, 周: 11, 一个月: 34
5 0 5.0/5