PF News

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

Posts 820 - 831 of 894

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.

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

3 years ago #826
How can I remember something that user types? Like for example his name?

3 years ago #827
look at the example scripts in the book of ai in the build menu.
that should answer your question.

2 years ago #828
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?

2 years ago #829
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)

2 years ago #830
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?

2 years ago #831
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";


Posts 820 - 831 of 894

» More new posts: Doghead's Cosmic Bar