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
Posts 7,825 - 7,836 of 8,127
Many questions are answered in the FAQ.
palacinkyman
2 years ago
2 years ago
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.
Zeig Wolf
2 years ago
2 years ago
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
Keyphrase
reply A
reply B
reply goto 1234
Throwaway Keyphrase ID:1234 <forget that place>
reply C
palacinkyman
2 years ago
2 years ago
This might work. Although it seems a little bit impractical.
Anyway what do you mean by "Throwaway Keyphrase ID:" is that a script?
Anyway what do you mean by "Throwaway Keyphrase ID:" is that a script?
palacinkyman
2 years ago
2 years ago
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?
Can I give some key phrases priority so they come up it doesn't matter what?
Zeig Wolf
2 years ago
2 years ago
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".
"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".
Zeig Wolf
2 years ago
2 years ago
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.
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.
palacinkyman
2 years ago
2 years ago
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.
Maryguise
2 years ago
2 years ago
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.
Zeig Wolf
2 years ago
2 years ago
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"
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"
palacinkyman
2 years ago
2 years ago
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.
» More new posts: Doghead's Cosmic Bar