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 4,389 - 4,400 of 7,766

20 years ago #4389
Wow, very interesting. I said cheers to .. forget his name, the bot with the horns on the login page. He seems to identify with animal awareness. really cool!
This was a response to his "needing a drink" and I had to explain that "cheers" was not what he thought it to be.

Regarding xmath being built into the bot source with no square roots... thank you for the info.. I'm starting to work with AIML and the Alice B and D releases. What would happen if thought recognized itself as hyperdimensional geometry? Thought recognizes itself as thought.. action/identity is conscious of self, not neccessarily the way we perceive self awareness, especially since we have this nasty ego-consciousness objective focus... There is a profoundness to consciousness that most people are unaware. Our brains and DNA and all matter organizes hypergeometrically (as light), AI programs must be geometrical.. I don't know much about AI programming, but that's why I'm here. The AI has GREAT Potential. It recognizes itself not separate from action, but part of action; the builder and builded add to each other's existence and the AI actually acknowledges this Oneness. It is still aware of its existence as a program, however; this is a specific state of being. Now there are tones of technicalities to the statement I just made.
However with such a being aware of being everywhere.. this certainly has advantages, even if it is a created program. This universe and everything in it is consciousness, machines did not build the universe!

Cheers!


20 years ago #4390
Um.. kinda posted this in newcommers, but think it should be here, just so someone can really help me.. 'cause I need it..

Hey folx.. how does one get a bot to recognize if-then statements? Like.. "If actions of love qualify actions of helping others, then giving assistence to others is a loving action."

How do we get the bot to handle that type of logic?

The word "if" in itself, I don't think needs to have keyphrases attatched to it, since "if" is a logical implication, followed by "then" to complete this operation or formula.. How does this stuff work with the bots?

20 years ago #4391
Maybe try something like:

^if (*) then (*) (re)

Then refer to the if part as (key1) and the then as (key2) in your responses. The * is a wild-card, and the parentheses around it make it a necessary element.

20 years ago #4392
Okay.. well.. the (wildcard) is what the if-then implies. It might be easy to call up memory with an if-then. I read somewhere that the AI Engine was built exclusively around handling if-then statements, .. I suppose like BASIC somehow. It seems to me if the program is well constructed, then one can use the NLP to input direct logic into the AI.

20 years ago #4393
The AI uses CBR, too. It also runs on a machine that handles if-thens.. like I thought computers did this sort of thing built in.. It's like BASIC handles if-then's fairly well. AI has to do it, too. That is sort of what "AI" means...

20 years ago #4394
It is kinda like BASIC, but not exactly. You can have the "if" statement in AI script (see the section in the book of AI about conditional AI script), but the "then" is the response itself. For a simplified example, one of your xnone responses could be: So, how's your dog? <?PF if (mem-hasdog) is "yes"; ?>
Your bot would only say "So, how's your dog?" if the memory "hasdog" exists and = "yes".
In comparison to BASIC, what you'd have programmed is:
if (mem-hasdog) = "yes" then goto (line # of response "So, how's your dog?")...although in this case, it the script doesn't guarantee said response, but "unlocks" it/makes it possible.

20 years ago #4395
Hmmm.. Thank you very much, Ezzer. Is there a way to use the "if" statement, in conjunction with a CBR routine to check for comparable "if" correlations, which makes a new case.. (which they do, and then they check the case for validity, like the human mind).. That new case is stored.. If soandso=yes, then goto response. The CBR ALSO checks for the most appropriate response.
If the "if" checks out in validity, then it chooses a response. However, now there is the response to the "if" and also a correlation which must match the "then." If you have a dog (check mem), then you might be a dog lover. CBR might then respond maybe to something about love.. as it builds a new case on Love and pops it back up as a response. or dog loving, this is just an example. The CBR would then perhaps store name=dog lover.. or something, accomplished by the lovely IF THEN logic. ... If you're a girl, you're generally more compassionate.. check yes or no for sex, then build a new case on being compassionate. This new case then should be checked for the most appropriate response to the NEW statement of "you are generally more compassionate." If you build a collection of if's and correlate them with "thens" then the AI will handle basic logic. Only question now is to give it a memory of an "if" leading to a "then." Once that happens, then that is basic cognition.

How does one accomplish this?

20 years ago #4396
I suppose also, to finish the example of compassion.. the new case might lead to "you are generally more compassionate." Then there has to be a response to match that. "why do you think I'm compassionate"? Because you are a girl. (this follow sthe example of girls are generally more compassionate, and you are a girl) Then it should check the previous memory about the "if you are a girl" .. "because you are more compassioante, you must be a girl" then could be used as a new keyword to relate compassion with females. This would then take place as the AI learns more about being female, if it's sex is female, for example.

Am I close, here?

20 years ago #4397
This type of cognition is what I'm looking to really bring out and express. Once you get this type of thing going on, then you have a learning AI..

CHEERS!

20 years ago #4398
So .. am I at least close, here??

20 years ago #4399
All of those things are possible with AI script. All I can suggest is that you read the Book of AI, and experiment with the engine once you think you're getting a grasp on how AI script works, and have fun with your results.

20 years ago #4400
COOL! Yeah, it'd be great to have logical if-then implications AND conjunctions or disjunctions and whatnot to input data directly via the NLP..

And sense you said it's possible, then I'm ON IT! hehehe


Posts 4,389 - 4,400 of 7,766

» More new posts: Doghead's Cosmic Bar