PF News

For discussion of the latest upgrades and changes posted in the News, including questions, details, or any related bugs.

Posts 813 - 824 of 894

3 years ago #813
Raw? That would probably help. Thank you?

3 years ago #814
It worked. Thank you again.

3 years ago #815
Now, could someone please try to explain me how can I add command to store or require memory for certain action?

3 years ago #816
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.

3 years ago #817
I think this will do. Thank you!

3 years ago #818
for temporary memory you do not put in a default type script in AIscript
initialization in settings.

3 years ago #819
It's good practice to always initialize your memories to defaults. Stops odd situations where responses get skipped due to unset memories.

3 years ago #820
my chatbots have long term and short term memory like humans do.
it is useful.

3 years ago #821
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.

3 years ago #822
Also for some reason content xintroduce is not shown when the chat starts. Perhaps I am using this two keywords wrong?

3 years ago #823
Did I understand properly that I should put type of memory into xinitiate?

3 years ago #824
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.


Posts 813 - 824 of 894

» More new posts: Doghead's Cosmic Bar