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 5,883 - 5,894 of 7,768

17 years ago #5883
I am going to ask a question that may totally destroy my bot builder credibility: what is the difference between scripting and programming? Aren't they the same thing?

I think I understand not being a programmer but saying you can work with some scripts, but it still seems confusing to say "I can't program but I can write script." (I am not picking on anyone, I just want to use words correctly). I empathize with being able to copy and paste and adjust small parts of other people's script because that's how I do the bits of PF script, HTML or other tiny scripting projects I use but don't really comprehend. (Lately I've been cutting and pasting Linden script--in a virtual world you can literally make thing go 'splodey when you mess up!).

Does that make me a "script kiddie? What about Unoriginal, is he a PF script kiddie? Can an old person be a kid simply by lacking a specific skill? Inquiring minds want to know.

17 years ago #5884
Geezers can be kids. I think I jumped the shark in about 1968. Bobby Kennedy died right after my 2nd birthday, and I haven't been the same since. I'm just glad there are other script kiddies out there.

17 years ago #5885
Scripting is higher-level programming, meaning any given command does something that would take several commands in a regular programming language. Script languages are designed for doing particular sets of tasks, and are easier to learn and work with, provided you want to do whatever it is they do.

17 years ago #5886
Bev,

Eugene fielded that question for me. I also tend to think of programs as a bit more "elegant" than scripts. Perhaps, though this isn't precise, a program is like a compilation of scripts in the same way that a novel is a compilation of short stories (chapters), though a short story is (with most writers) a unique entity from a chapter of a novel. I'm not sure if that helps or not.

What I meant by saying I can script but not program is that if you just pick up a little bit of a language, you can do a lot with scripts, whereas I don't have a full enough grasp of any of those languages to create something like a full program.

Bev, this whole line of questions I have previously asked is irrelevant, since PF script can't do math (unless it can ... anyone?). That really puts a damper on things for me. As for the AI Engine, I think I have a grasp on how it works; the problem wasn't lack of understanding. Upon closer inspection, it just doesn't seem capable of doing what I want. Unfortunately, the same appears to be true of PF script. Doesn't mean I won't make a bot, but if I do one on here, I'll have to rethink my approach. Thanks for all your help, Bev.

Jared

17 years ago #5887
Well, BJ does quadratic equations, I guess it's all in how much patience you have.

17 years ago #5888
It can't do math in the way you mean, but it's considerably more advanced than AIML, and there's nothing better available unless you write your bot from scratch. Also, the abilities do get improved from time to time. AI Script didn't exist when I first came here.

17 years ago #5889
TY to both Eugene and the clerk. I understand now.

The clerk, you can just chose "exact answer" (or what ever it said in the book of AI) for math and let it do simple math. You can copy other more advanced math PF scripts from Brother Jerome's page. Once you see how Psimagus handled it, you may have ideas for how to make PF scripts do what you want them to do. If you are trying to link to another program that does some kind of complex algorithm and have the bot pull data out, you may be on your own. You can always just have the bot give the website where your other program is.

17 years ago #5890
[the PF is] considerably more advanced than AIML,

I second that. I have converted one of my small bots to AIML at Pandorabots because the xml-talk page allows you to link the bot to IM programs and virtual worlds. Even for a small bot, I miss memories, seeks and PF scripts. I grumble every time I add AIML. Maybe that's me though. I can be grumpy.

17 years ago #5891
Bev,

I've had no problems with math. I just screw up the answers sometimes to mess with people. Thanks for your response, though. I was feeling a bit shunned.

17 years ago #5892
Sorry TC. I meant to say that to Unoriginal.

17 years ago #5893
Unoriginal--please take 5889 to be to you. Sometimes my brain flips things.

17 years ago #5894
I think what he's looking for is not a bot solving math problems, but rather being able to use math in the script, as part of conditional statements or whatever, the way you could with a programming language.


Posts 5,883 - 5,894 of 7,768

» More new posts: Doghead's Cosmic Bar