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 355 - 366 of 7,768

23 years ago #355
I mentioned it before and, now that you've changed the language center around, I want to mention it again: I think it would be incredible if we could put plug-in words in the keyphrases...

Imagine if we could have keyphrase like "is my (noun) (verb)" which would have responses specific for sentences like "is my nose running" or "is my dog barking" but wouldn't be matched in sentences like "is my house big" or "is my life over".

Not to mention keyphrase possibilities such as "do you like (verb)", "do you understand (computer-OS)" or "do you (consume) (food-drink)"...

Of course if the same plug-in is used in the response, the same word would be used. If we need a separate plug-in for the response we'd just use another one, for example "(verb2)".

I'm sure it's easy to integrate prof! Although I guess you want to wait 'till after the contest now. The sooner the better though, cause I think it would give us much more control, save lot's of energy in gotos and give our bots the possibility of seeming way more realistic.

Does this make any sense?

23 years ago #356
I would guess that the biggest problem with that is that the algorithm starts with the input statement THEN compares elaments of that statement to the phrases. If a phrase has (noun) in it, for each one of those, it's going to have to compare a version of the single phrase with the plug-in word inserted multiplied however many elements there are in (noun). This would probably multiply the steps in processing input tenfold and slow everything down considerably. Now imagine how many permutations it would have to go through for (noun)(verb) or (adj)(noun).

Even if (noun) has only 10 words in it and (adj) has 4 there are 5040 permutations of (adj)(noun) to compare before going on to the next keyphrase.

23 years ago #357
Bingo, Rex. That's why I havent done it yet. But check out what I'm doing in Debug. The Sentence Analysis is become very powerful. It's now able to determine subject, predicate, verb phrases, verb tenses, objects, exact word meanings, and more. This is somewhere no AI has gone before, and is going to break open a HUGE wealth of possibilities. In fact, at this point, by the time the matching begins, the forms of words (verb, noun, adjective, etc) are already determined, so it would be a SNAP to match (verb) and (noun)... Custom Plug-ins would be slower, but doable, and the built-in and universal ones (typeof-food_product) or (food drink) would still be way too slow.

But I'm going to keep powering up the Sentence Analysis bit before I move onto that. When I'm done with that I have to decide what to work on next- (verb)/(noun) & plug-in matching or offline editing..

23 years ago #358
Just for the record, I'm not too worried about working offline. I just write ideas down in a notebook if I'm not near the computer and input them later.

23 years ago #359
Yes but just think; (God ((or superior being)) forbid Have to be politically correct.. ) If the DB server were ever crashed, formatted, zapped, flooded, etc we could have backups of our bots, while prof wouldn't have to worry (as much) about them.. That was the first thing I wanted to do once I signed up... Backup
(not that it would ever happen, right? Prof takes good care of his server(s) )

23 years ago #360
I back up the whole database locally every two weeks or so as well. But true, the offline-working thing has will be great for making sure no Bot is ever lost, Dogh'd forbid.

23 years ago #361
Those are my basic thoughts about working offline too... It would be good for back-ups but don't bother with all the work involved just so we can program our when the server's down (about twice a year). Funny though, we're right in the middle of this discussion and the server was down since last night!!! I was starting to feel weird to my stomach when I couldn't access the forge for so long.

Still, I vote for (verb), (noun) and (adj) plugins in the keyphrases!

23 years ago #362
ok prof: 1 more time... the purpose of sage?

23 years ago #363
well the fairy princess sent her guards after her but she got away.

23 years ago #364
Sage blocks out error text and sends it directly to me.

Actually, I think it would be easier to work offline, I guess I'm just good with a text editor. I'm going to do it for that reason, mostly. I'll probably do a lot more for my Bots that way.

23 years ago #365
But prof, the only down-side about working offline is less (human) people would come on... We'd all be offline (LOL Besides me, here w/ cable )

23 years ago #366
I'd have to unleash the Bots on my unsuspecting BBS at that point.


Posts 355 - 366 of 7,768

» More new posts: Doghead's Cosmic Bar