Newcomers

This is a forum for newcomers to the Personality Forge. Many questions can be answered by reading the Book of AI and the FAQ under the "My Bots" link in the upper corner.

Posts 7,825 - 7,836 of 8,127
Many questions are answered in the FAQ.


2 years ago #7825
Put it in the seek script area?

2 years ago #7826
But for some reason forget command didn't work in response.

2 years ago #7827
Let me explain further. I have key phrase without seeks. And the forget command works only if put in keywords script. But I require that memory in one of the responses. Only in one of them. So I cannot put condition into keywords script because that would apply for all of the responses.

2 years ago #7828
Though using a seek would probably be easier, without knowing the gist of your script, I would have a 'goto' to a new keyphrase specifically for forgetting/changing the location.

Keyphrase
reply A
reply B
reply goto 1234
Throwaway Keyphrase ID:1234 <forget that place>
reply C

2 years ago #7829
This might work. Although it seems a little bit impractical.

Anyway what do you mean by "Throwaway Keyphrase ID:" is that a script?

2 years ago #7830
Can I count how many times each specific user used my bot?

Can I give some key phrases priority so they come up it doesn't matter what?

2 years ago #7831
It is impractical, but it's all I can come up with given your request.
"Throwaway keyphrase" is just a keyphrase with some random text no one is ever going to use, like "ForgetALocation123", it's just for you to "goto".

2 years ago #7832
Number of chats per user isn't recorded as far as I'm aware. The only way to count is literally step by step with memories. It's not the best.

response: hi we just met
if "talked-to" is "0";
rem "1" as only "talked-to"

response: we've talked once
if "talked-to" is "1";
rem "2" as only "talked-to"

As for things coming up no matter what... what?
Ideally you would use Seeks with xnomatch.
You could try using your xnone responses with scripts.
Or you could increase the rank on your keyphrases, but that's questionable.

2 years ago #7833
Thanks. Regarding the last point I mentioned. I am actually looking for solution how to e.g. insist on apology, by giving the highest priority to given phrase. I mean, whatever user types, I want the answer to be something like "Apologize first!" unlocking other options only after he does that.

2 years ago #7834
In that case, I'd suggest having the non-apology seeks and KPs require emotion of a certain level, and only the demanding an apology available below that. if emotion > -4 on every other KP, if emotion = -5 on apology demand, and setting emotion based on apology or whatever they need to apologize for.

2 years ago #7835
Seeks are the best way to do that properly.

Keyword: I don't like trains
Reply: Apologize!
Seek ID:123: sorry
reply: Okay, we're good now
Seek ID 456: xnomatch
reply: No, I insist you apologize
__Seek: sorry
__goto: 123
__Seek: xnomatch
__goto 456

Something like that is recursive, and will hold the user in the loop until they say "sorry"

2 years ago #7836
Thank you both. I think I prefer Zeig Wolf's answer because it seems easier than adding emotion range for every key phrase. This one, however probably won't work if user resets their browser.


Posts 7,825 - 7,836 of 8,127

» More new posts: Doghead's Cosmic Bar