PF News
For discussion of the latest upgrades and changes posted in the News, including questions, details, or any related bugs.
Posts 814 - 825 of 894
Posts 814 - 825 of 894
palacinkyman
4 years ago
4 years ago
Now, could someone please try to explain me how can I add command to store or require memory for certain action?
bobstack
4 years ago
4 years ago
go to the build menu then click on chatbot workshop.select the name of your chatbot from the list.then click on settings.then go down to AIscript initialization then put this in.
default "blank" as "typeoffood";
then go down to update then click it.
then select your chatbot again then click on language center.then put this in.
keyphrase=i like mexican food
response=mexican food is tasty.
click on more then put this in the AIscript
remember "mexican" as only "typeoffood";
keyphrase=i like italian food
response=i love italian food.
click on more then put this in the AIscript
remember "italian" as only "typeoffood";
keyphrase=i like asian food
response= do not like asian food
click on more then put this in the AIscript
remember "asian" as only "typeoffood";
one keyphrase can have many responses
keyphrase=i am hungry
response=would you like some mexican food.
click on more then put this in the AIscript
if (mem-typeoffood) is "mexican"
response=would you like some italian food
click on more then put this in the AIscript
if (mem-typeoffood) is "italian"
response=would you like some asian food
click on more then put this in the AIscript
if (mem-typeoffood) is "asian"
i hope you understand my mini tutorial for long term memory.
default "blank" as "typeoffood";
then go down to update then click it.
then select your chatbot again then click on language center.then put this in.
keyphrase=i like mexican food
response=mexican food is tasty.
click on more then put this in the AIscript
remember "mexican" as only "typeoffood";
keyphrase=i like italian food
response=i love italian food.
click on more then put this in the AIscript
remember "italian" as only "typeoffood";
keyphrase=i like asian food
response= do not like asian food
click on more then put this in the AIscript
remember "asian" as only "typeoffood";
one keyphrase can have many responses
keyphrase=i am hungry
response=would you like some mexican food.
click on more then put this in the AIscript
if (mem-typeoffood) is "mexican"
response=would you like some italian food
click on more then put this in the AIscript
if (mem-typeoffood) is "italian"
response=would you like some asian food
click on more then put this in the AIscript
if (mem-typeoffood) is "asian"
i hope you understand my mini tutorial for long term memory.
bobstack
4 years ago
4 years ago
for temporary memory you do not put in a default type script in AIscript
initialization in settings.
initialization in settings.
Maryguise
4 years ago
4 years ago
It's good practice to always initialize your memories to defaults. Stops odd situations where responses get skipped due to unset memories.
palacinkyman
4 years ago
4 years ago
I have a problem. When I put something alse then intro inside xinitialize, the bot will say that thing as first sentence when someone engages chat.
palacinkyman
4 years ago
4 years ago
Also for some reason content xintroduce is not shown when the chat starts. Perhaps I am using this two keywords wrong?
Emily Jones
4 years ago
4 years ago
xintroduce is your bot's greeting to a brand new user.
xinitiate is your bot's greeting to a user they have met before. Unfortunately, this includes you and the debugger, so it is very difficult to test anything that happens in xintroduce. If I'm doing anything complicated with xintroduce, I open a private window in my browser and that seems to let you test it properly.
xinitiate is your bot's greeting to a user they have met before. Unfortunately, this includes you and the debugger, so it is very difficult to test anything that happens in xintroduce. If I'm doing anything complicated with xintroduce, I open a private window in my browser and that seems to let you test it properly.
palacinkyman
4 years ago
4 years ago
Thx for explanation.
I also just found out that I was supposed to put type of memory into settings and not into language center. I need to read more carefully.
I also just found out that I was supposed to put type of memory into settings and not into language center. I need to read more carefully.
» More new posts: Doghead's Cosmic Bar