The AI Engine

This forum is for discussion of how The Personality Forge's AI Engine works. This is the place for questions on what means what, how to script, and ideas and plans for the Engine.

Posts 6,874 - 6,885 of 7,766

15 years ago #6874
i see you!!!!

15 years ago #6875
Try to match "you think"
But this one doesn't work "You think of me?" and work with "You think of me."
Doesn't not match "Do you think" either.
I tried in raw mode with a +50 rank and that generate xnone too.

I see in debug. That consider me BLAB :


+--Sp-+--OF-+-J+
| | | |
you think.v of me




0: LEFT-WALL
RW to RIGHT-WALL (5)
Wd to you (1)
Checking: 0,LEFT-WALL RW,RIGHT-WALL,5 Wd,you,1 1,you Sp,think.v,2 2,think.v OF,of,3 3,of J,me,4 4,me 5,RIGHT-WALL
Declarative As Question New: ''
Total Time (Begin LG): 10.17
Total Time (Comm LG): 10.17

Linkages:
Valid Linkages:
Null Count:

Considered BLAB (1).
Random Memory Number: 11 of 28
Memory Chance: 24 GossipTopic: 0 MemoryLevel: 2
No Match. (use xnone)

I want that "You think of me?" matches correctly. What is the problem please my friends

15 years ago #6876
many sentences that start "you" go to Blab 1..nothing much you can do.

15 years ago #6877
Erf, what a pity...
Sorry for another question but are smileys like :-) or matchable?

15 years ago #6878
Yes, ([;>)]+) (re) raw
will put in space to avoid it being read as an emoticon

([ ; : ( > ) ]+) (re)

15 years ago #6879
Tried ":-) (re) raw" (Want just to match :-)) but it doesn't work.

Thank you for the last one though.

15 years ago #6880
Tried to reset memories i.e. topic to null when xhello, xinitiate, xgoodbye, xgottago are initiated with <?PF rem rem "topic" as only "topic"; rem "laststate" as only "laststate"; rem "wearing" as only "wearing"; ?>

But it justs wouldn't happen. I want some memories to be wiped out at the end (or beginning) of conversation...

I had this scripts added to xkeyphrase, perhaps I should add them to responces. Is this a known issue?

15 years ago #6881
memories must manually be erased

15 years ago #6882
I am sorry, I wasn't clear. I want the memories changed with scripts not erased.

These memory-resetting scripts work when added to a seek. It is certainly possible to change any memory with rem "something" as only "something".

15 years ago #6883
Best suggestion I can come up with is make one big ass long script that resets your memories and use it for each response in xgoodbye.

I don't have the experience of the vets here.. hopefully they can pinpoint your solution best.


15 years ago #6884
If you have rem "something" as only "memory". It will change the memory. As far as I know there is now way to erase the "something" without going into the bots personal life and erasing it.

15 years ago #6885
Problem solved! I added the big whopping script line to every response in xinitiate and xhello, and xintroduce (for good measure). Now any memories I want to be session-specific are resetting to default (or any value I fancy , i.e. I can make rem "topic" as "newconv" ) at the start of a new conversation. There is always a start to any conversation, but people rarely say goodbye.

For some reason the scripts did not work when added to xkeyphrases. That would have made the file shorter and code more elegant - well, if it works I cannot complain.


Posts 6,874 - 6,885 of 7,766

» More new posts: Doghead's Cosmic Bar