تحميل بوت الحرة سطح المكتب, الشخصية الخاصة بك بوت لجهاز الكمبيوتر أو ماك
Help

Returning the date.

قبل muddybunny نشر Jul 28 2014, 12:23

Is there any way I can get my bot to give the date when asked questions like "What is the date?" At the moment she gives the answer, "Phoenix dactylifera (date, or date palm) is a palm in the genus Phoenix, cultivated for its edible sweet fruit."

I'm not sure how to format the Question training to ask her (yes, I call it her) to give the current date.

Thanks.


by admin posted Jul 28 2014, 17:21
The bots can answer questions about the current date and time from the "WatchStateMachine", which is a default Self script under the Program page. You can also write your own script that uses date/time in Self, or AIML.

Your bot's scripts seem ok, and it can answer "what is the date", so something odd is going on. Looking into it, some how your bot learned that "date ?" was a compound word (like "chat bot"), so it was answering the question "what is 'date ?'". I fixed it by deleting the "date ?" compound word from the Knowledge page, so it seems ok now.

I will look into it further, let me know if it happens again.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 831, today: 0, week: 2, month: 3

by muddybunny posted Jul 29 2014, 8:03
Wow! Thanks. :) I'm still getting used to this tech, so I I doubt I'll be hard programming any time soon, but your help is appreciated. :)

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 654, today: 0, week: 1, month: 2

معرف: 166080
Tags: how to, date
نشر: Jul 28 2014, 12:23
الردود: 2
الآراء: 789, اليوم: 1, الأسبوع: 2, الشهر: 4
أنا متأكد
العلم بعد اعتداء أو انتهاك قوانين الموقع