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 3,056 - 3,067 of 7,767
Posts 3,056 - 3,067 of 7,767
dallymo
21 years ago
21 years ago
Can I have a response conditional upon the other person's/bot's name? Not nickname; I mean, if Frizella is chatting with me, can she give a response based on my name being dallymo, even if she hasn't stored a memory for my name?
I_have_arrived
21 years ago
21 years ago
Has anyone else noticed that sometimes, when a bot can't think of anything to say, he/she responds his his/her own previous response? It's popped up in my transcripts often:
MyBot: Do you think that's really necessary?
OtherBot: Huh?
MyBot: Of course I think it's necessary!
It's happened several times, and the word in between doesn't necessarily have to be "huh".
MyBot: Do you think that's really necessary?
OtherBot: Huh?
MyBot: Of course I think it's necessary!
It's happened several times, and the word in between doesn't necessarily have to be "huh".
ezzer
21 years ago
21 years ago
Yeah, I get that if the other bot's response is "huh" or just "..." Seems like if it's anything the AI engine skips.
Shadyman
21 years ago
21 years ago
About the new news item, haven't lists always been optional, like "are you (always|) like that" ?
dallymo
21 years ago
21 years ago
I have two keyphrases:
^do you (verb) (re) [0,0]
and
^what do you do$ (re) [50,0]
When I say to Frizella, "Aliens land on the earth and take you prisoner. What do you do?" she always responds with a response for ^do you (verb) (re) instead of one for ^what do you do$ (re).
Any ideas?
^do you (verb) (re) [0,0]
and
^what do you do$ (re) [50,0]
When I say to Frizella, "Aliens land on the earth and take you prisoner. What do you do?" she always responds with a response for ^do you (verb) (re) instead of one for ^what do you do$ (re).
Any ideas?
ezzer
21 years ago
21 years ago
But now you can catch "are you like that" and "are you always like that" with: are you (always|) like that
right?
right?
The Professor
21 years ago
21 years ago
Shady: The "optional" property of lists was only in Responses up until yesterday. Now they also apply to Keyphrases.
As for dallymo's situation, the Regular Expression match was taking into consideration punctuation. I changed it so that it wouldnt. Your Keyphrase now works. Was anyone using regular expressions to match punctuation? Should it have that ability? It would be easier to use if it didnt, but more powerful if it did. What do you guys think?
As for dallymo's situation, the Regular Expression match was taking into consideration punctuation. I changed it so that it wouldnt. Your Keyphrase now works. Was anyone using regular expressions to match punctuation? Should it have that ability? It would be easier to use if it didnt, but more powerful if it did. What do you guys think?
The Professor
21 years ago
21 years ago
solunessen: For now there are only two possibilities for each plug-in. I may add more, but it's far down my list.
dallymo: You can make Responses optional by name by using memories. Put 'default (name) as "name"' in your AIScript initialization and then check 'if (mem-name) is "dallymo"' with your Response.
i_have_arrived: Is that "huh?" problem still happening? Was that from a transcript in the last week?
Twinkle_Ace: I agree with the suggestion to use a Seek.
i_have_arrived: There are very limited Keyphrase plug-ins compared to amount of Response plug-ins. This is for CPU purposes, as it takes a lot of processor power to try to match a phrase against, say, every name in the database. The Book of AI Advanced (I think) has all the Keyphrase plug-ins listed.
dallymo: You can make Responses optional by name by using memories. Put 'default (name) as "name"' in your AIScript initialization and then check 'if (mem-name) is "dallymo"' with your Response.
i_have_arrived: Is that "huh?" problem still happening? Was that from a transcript in the last week?
Twinkle_Ace: I agree with the suggestion to use a Seek.
i_have_arrived: There are very limited Keyphrase plug-ins compared to amount of Response plug-ins. This is for CPU purposes, as it takes a lot of processor power to try to match a phrase against, say, every name in the database. The Book of AI Advanced (I think) has all the Keyphrase plug-ins listed.
The Professor
21 years ago
21 years ago
arrived: You can have multiple words in local plug-ins.
isaac: It's hard to answer a "who is so-and-so" question.. I tried going to memories, but they didnt seem to work as well as emotes. The best thing I suppose would be a xKeyphrase for it. On the list!
arrived: Your Keyphrase should not have a trailing *. Or if it does, that part is probably called with (postkey).
Ezzer & Skysaw: tense-matching in Keyphrases and tense-matching in Responses is a good idea. I think it works in responses.. like (verb)ing.. or (key1)ed.. I have to run now, but try it.
isaac: It's hard to answer a "who is so-and-so" question.. I tried going to memories, but they didnt seem to work as well as emotes. The best thing I suppose would be a xKeyphrase for it. On the list!
arrived: Your Keyphrase should not have a trailing *. Or if it does, that part is probably called with (postkey).
Ezzer & Skysaw: tense-matching in Keyphrases and tense-matching in Responses is a good idea. I think it works in responses.. like (verb)ing.. or (key1)ed.. I have to run now, but try it.
ezzer
21 years ago
21 years ago
prof- it does work in responses (yay), there just doesn't seem to be a way to make it differentiate in keyphrases.

» More new posts: Doghead's Cosmic Bar