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 7,659 - 7,670 of 7,766

2 years ago #7659
So I made a seek and I'm trying to get my chatbot to take it, yet it keeps spitting out the xnone when I type the seek exactly as I have it written. What's going on?

2 years ago #7660
thunder dash try this

put in xnone
what movies do you like?
seek = i like the movie *
response = was (postkey) any good
seek = xnomatch
response = i have never heard of that movie before


i hope you get the hang of it.


2 years ago #7661
Thunder dash, that sounds like it's an autocorrect issue, though could be undefined AIScript. What's the seek? Have you tried debug mode, should tell you why it's not picked.

2 years ago #7662
Thunder dash if your keyphrase is rather long and/or very specific you may have issues getting it to trigger~

2 years ago #7663
Does anyone know what (=) means in keyphrasing terms? It shows up occasionally in the Master Bot Template, but I don't know what its function is supposed to be and the Book of AI doesn't seem to explain. Examples:

(a:eventually) (=)
(alright|enough) already (=)
surprise (=)


2 years ago #7664
No clue, Shadow Season, if it doesn't actually match equals - might be worth creating a bot with just the master bot template and experimenting.

I have noticed that there's a huge chunk of new AIScript stuff - stuff like continue, but particularly copy seeks will be a godsend for me. I can probably remove a lot of excess seeks that are just gotos (or, rather, do it differently going forward, since it may count as a destructive import!).

2 years ago #7665
Thanks Maryguise, I agree we'll probably have to just fiddle around with the new MBT phrases to see what they do. And yeah, 'copy seeks' is a great feature.

2 years ago #7666
(=) means an exact match. Hmm.. I'm looking through the code and it's possible I haven't gotten around to implementing it yet. There's also (#) to match a number and ($#) to match money but again, not sure if I finished that. If anyone has time to test, let me know.

2 years ago #7667
I did a few tests for (=) keyphrases earlier that only triggered #engage responses, so I guess it's not implemented yet. On the topic, may I ask what (re) is meant to do?

2 years ago #7668
So (=) would be the equivalent of ^this$ ?

2 years ago #7669
i wish there was a way to compare two words to see if they are the same word.

2 years ago #7670
Zeig - correct.

(re) is for using regular expressions in raw mode.

bobstack - what would you use that for?


Posts 7,659 - 7,670 of 7,766

» More new posts: Doghead's Cosmic Bar