PF News
For discussion of the latest upgrades and changes posted in the News, including questions, details, or any related bugs.
Posts 823 - 834 of 894
Posts 823 - 834 of 894
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.
bobstack
4 years ago
4 years ago
look at the example scripts in the book of ai in the build menu.
that should answer your question.
that should answer your question.
palacinkyman
3 years ago
3 years ago
I am still struggling how to effectively deal with not being to apply "forget" script into response.
I often need to require memory first, to determine what should be the proper response, and after the response is chosen, forget that memory.
Can someone please help me?
I often need to require memory first, to determine what should be the proper response, and after the response is chosen, forget that memory.
Can someone please help me?
Maryguise
3 years ago
3 years ago
Did the suggestion of a throwaway seek/KP with the forget command that you goto, from Zeig, work? So something like:
seek
response for not in train station <?PF if (mem-location) is not "train station" ?>
goto 1234 <?PF if (mem-location) is "train station" ?>
+otherSeek [0,0] ID:1234 <?PF forget "train station" from "location" ?>
Response for leaving train station
(using notation from working offline to make things clear, hence the <?PF ?> around the AIScript)
seek
response for not in train station <?PF if (mem-location) is not "train station" ?>
goto 1234 <?PF if (mem-location) is "train station" ?>
+otherSeek [0,0] ID:1234 <?PF forget "train station" from "location" ?>
Response for leaving train station
(using notation from working offline to make things clear, hence the <?PF ?> around the AIScript)
palacinkyman
3 years ago
3 years ago
But this way I would have to make dozens of same key phrases for different memories. E.g. one for being in blue train, one for being in red train etc. because e.g. each of them goes to different destination. Than I would have to apply goto for proper one. I think it is not even allowed to have multiple same key phrases.
It is not possible to write (goto 123) and add custom text after it right?
It is not possible to write (goto 123) and add custom text after it right?
bobstack
3 years ago
3 years ago
i would overwrite the memory like this.
use aiscript intialization in ai settings to remember it for a long time.
put in ai settings default "blank" as "train";
i hope you know where it is.
rem "blue" as only "train";
rem "red" as only "train";
use aiscript intialization in ai settings to remember it for a long time.
put in ai settings default "blank" as "train";
i hope you know where it is.
rem "blue" as only "train";
rem "red" as only "train";
Zeig Wolf
3 years ago
3 years ago
I'm not sure you're understanding "goto", https://personalityforge.com/developers/seeks.php#2. No, you cannot add text after a goto, but the goto goes to another set of text. Not that that's probably any clearer... And each keyphrase is different, "GetOffRedTrainStationOne", "GetOffRedTrainStationTwo", etc. in those you would store your "forget I was on that train" script. and you would use a "goto" to point to those keyphrases, where your responses would be, like the example I showed previously.
palacinkyman
3 years ago
3 years ago
You still don't understand! If e.g. each train goes to different station and some trains from different original stations can go to same stations and each train goes at different time, .... the number of combinations would be immense. I just want to e.g. arrive at new station and forget the previous one, without loosing information about other things. Why did the developers didn't think of this! Like this, my only option will be to split memories into more, like: typeofplaceoforigin, typeofstation, typeoftrain, typeoftime, which is insane and very easy to be messed up in seeks.
palacinkyman
3 years ago
3 years ago
Of course my bot is not about trains, but this is the best analogy I came up with.
» More new posts: Doghead's Cosmic Bar