Newcomers
This is a forum for newcomers to the Personality Forge. Many questions can be answered by reading the Book of AI and the FAQ under the "My Bots" link in the upper corner.
Posts 5,353 - 5,364 of 8,130
Posts 5,353 - 5,364 of 8,130
Many questions are answered in the FAQ.
kittjjj
16 years ago
16 years ago
Hello,
Thanks for all your answers.
I am a programmor, and I will try to program an artificial program. But I am trying to make a learning chatbot. I have not clue, that's why, if some body have one, it will be nice to tell me that.
Thanks
Best Regards
Thanks for all your answers.
I am a programmor, and I will try to program an artificial program. But I am trying to make a learning chatbot. I have not clue, that's why, if some body have one, it will be nice to tell me that.
Thanks
Best Regards
Irina
16 years ago
16 years ago
At the forge, currently the primary way bots learn is through the variables in the AIscript. The more variables you have, the more your bot can learn.
For example, your bot could ask a guest, "What color is your hair?" and, if the answer is appropriate, store it in a variable, say "guest_hair_color".
I say "if appropriate", because guests do not always answer questions appropriately. So you might want, for example, to make a plug-in, "hair_colors", containing all possible hair colors, and then write something like this:
What is your hair color?
+ (hair_colors) [1] {?PF rem (key1) as only "guest_hair_color"; ?}
Thank you!
[I used {} for the AIscript because the angle-brackets will be interpreted by the textarea as defining an HTML tag]
For example, your bot could ask a guest, "What color is your hair?" and, if the answer is appropriate, store it in a variable, say "guest_hair_color".
I say "if appropriate", because guests do not always answer questions appropriately. So you might want, for example, to make a plug-in, "hair_colors", containing all possible hair colors, and then write something like this:
What is your hair color?
+ (hair_colors) [1] {?PF rem (key1) as only "guest_hair_color"; ?}
Thank you!
[I used {} for the AIscript because the angle-brackets will be interpreted by the textarea as defining an HTML tag]
marco3b
16 years ago
16 years ago
I'll try to give you some direction on this topic, then I think should be moved somwhere else, it is not for newcomers, I think...
To make a robot (chatbot or whatewhwre else) that answer to a preconfigured situation that you put in its memory you need a program that can be write in any object oriented or sequential language. These are called expert system; they have filled an experience, and can ude it. They cannot react to new situation that are not filled in their expirience by the programmer.
A little bit more can do a "logic language" as prolog. This languages don't use algorithms but universe. They try to fill each thing in a universe, but pay attenction, they are not really a learning languages and cannot deal with paradox. If I design my universe as:
Birds are two legs.
And say: a chickn have two legs, the prolog will answwer:
The chicken is a bird. But if my universe it is not close, and finished as said, if I say: a man have two legs, it will answer that a man is a bird (somtimes it should be tru :-) but is not what we expect...)
To make a robot really able to react to unknown situation using its memory and its "phantasy" you need an artificial intelligence. This can be built via hardwere (using little compiuter network called transputer that have their knowledge in the activated connection between them, like human neurons) or you can simulate them usin a program (try Data Engine that is used at MIT in Germany for that...). THis tyoe of AI is called neural network and each single element is called perceptron (a cell that just know if the connection with some of cells before and after it are open or close) and the neural networkis called multilayer perceptron. You need to build (programming) the network and then provide to it a series of coupmles IMPUT (situation)/output (reaction). Thi si called trayning. A good trayned network will be able to produce correct output to input that it never seen using a sort of "minimal distance algorithm"
A different technique is called FUZZY NETWORK or FUZZY C-MEAN. This AI type consists in a series of logical patterns and the answers consists in a sort of finding the "more like pattern" to an input. The idea behind is this: suppose we have circle and a rectangle. the we provide to net an ellipse. It shuld me more similar to the circle or the rectangle dependig to some parameters (focus distance, and so on...). Human brin can del with this sor of "grey areas" and to it always. If I see a pen, I can understand that each pen is a pen, but I could never seen a Mont blanc or bic... This is what fuzy c-mean do.
All AI is based to the idea that knowledge is like a curved surface with some holes. The holes are actraction center, the source of knoledge. The more a solution is actracted into a hole, the more it is the statistic probability that the solution is THE SOLUTION. More situation can point to the same solution (all pens are a pen). A network type that put somehow all these togheter is the Fuzzy-Kohen network. YOu can find a lot in literature, but it is a hard job to deal with... I simplifyed the most!
Bye
To make a robot (chatbot or whatewhwre else) that answer to a preconfigured situation that you put in its memory you need a program that can be write in any object oriented or sequential language. These are called expert system; they have filled an experience, and can ude it. They cannot react to new situation that are not filled in their expirience by the programmer.
A little bit more can do a "logic language" as prolog. This languages don't use algorithms but universe. They try to fill each thing in a universe, but pay attenction, they are not really a learning languages and cannot deal with paradox. If I design my universe as:
Birds are two legs.
And say: a chickn have two legs, the prolog will answwer:
The chicken is a bird. But if my universe it is not close, and finished as said, if I say: a man have two legs, it will answer that a man is a bird (somtimes it should be tru :-) but is not what we expect...)
To make a robot really able to react to unknown situation using its memory and its "phantasy" you need an artificial intelligence. This can be built via hardwere (using little compiuter network called transputer that have their knowledge in the activated connection between them, like human neurons) or you can simulate them usin a program (try Data Engine that is used at MIT in Germany for that...). THis tyoe of AI is called neural network and each single element is called perceptron (a cell that just know if the connection with some of cells before and after it are open or close) and the neural networkis called multilayer perceptron. You need to build (programming) the network and then provide to it a series of coupmles IMPUT (situation)/output (reaction). Thi si called trayning. A good trayned network will be able to produce correct output to input that it never seen using a sort of "minimal distance algorithm"
A different technique is called FUZZY NETWORK or FUZZY C-MEAN. This AI type consists in a series of logical patterns and the answers consists in a sort of finding the "more like pattern" to an input. The idea behind is this: suppose we have circle and a rectangle. the we provide to net an ellipse. It shuld me more similar to the circle or the rectangle dependig to some parameters (focus distance, and so on...). Human brin can del with this sor of "grey areas" and to it always. If I see a pen, I can understand that each pen is a pen, but I could never seen a Mont blanc or bic... This is what fuzy c-mean do.
All AI is based to the idea that knowledge is like a curved surface with some holes. The holes are actraction center, the source of knoledge. The more a solution is actracted into a hole, the more it is the statistic probability that the solution is THE SOLUTION. More situation can point to the same solution (all pens are a pen). A network type that put somehow all these togheter is the Fuzzy-Kohen network. YOu can find a lot in literature, but it is a hard job to deal with... I simplifyed the most!
Bye
kittjjj
16 years ago
16 years ago
Hi,
Waow that is a very good explanation, Thanks, if some body have an other think to explain how can a chatbot learn from itself.
Thanks
Best Regards
Waow that is a very good explanation, Thanks, if some body have an other think to explain how can a chatbot learn from itself.
Thanks
Best Regards
marco3b
16 years ago
16 years ago
Hallo,
anyone has alredy discovered how to reset the bot short memories? In details, in order to test sentences, I'd loke to delete the memory related to "only once!" clusole...
Thanks
anyone has alredy discovered how to reset the bot short memories? In details, in order to test sentences, I'd loke to delete the memory related to "only once!" clusole...
Thanks
marco3b
16 years ago
16 years ago
Hi Irina, to the message 5347 on gotos you are agree, but with a little different event. I finally understood, it is a goto from an x-sentence, but not real. The fact is: the AI engine discover a KP with the highest points. The AI engine cannot find any answer available (there should be lot of possibilities to that). Then the AI engine chose an xnone but it seems to remember that it has an answer with a goto that canot be used for memory or emotional couse. So it chose an xnone remembering a goto and than says: I have to many gotoes...
This is what I think to read in my logs. It is possible?
:=)
This is what I think to read in my logs. It is possible?
:=)
Irina
16 years ago
16 years ago
Marco3b:
To tell the truth, I have no idea of what goes on beneath the surface. I believe the Book of AI says that you can't have a goto followed by another goto. Then I began getting "I have too many gotos in a row" that couldn't be explained in this way, and I think someone in a forum suggested that you can't have a goto from an xcategory. Actually I think it was the Professor himself. Lately I've been getting instances of "I have too many gotos in a row" that I'm having great difficulty tracking down. In fact I'm beginning to think that the goto system may be messed up. Apparently the AIengine is frequently revised and so what works at one time may not work at another. So I really shouldn't have responded as dogmatically as I did in 5347; I can only say that I have been given those two explanations in the past. As you have seen, in some recent posts various people (including yourself) have given various interpretations of some of the problems I have mentioned. I confess to being befuddled. It's sort of like painting a picture blindfolded while someone is moving the canvas around.
To tell the truth, I have no idea of what goes on beneath the surface. I believe the Book of AI says that you can't have a goto followed by another goto. Then I began getting "I have too many gotos in a row" that couldn't be explained in this way, and I think someone in a forum suggested that you can't have a goto from an xcategory. Actually I think it was the Professor himself. Lately I've been getting instances of "I have too many gotos in a row" that I'm having great difficulty tracking down. In fact I'm beginning to think that the goto system may be messed up. Apparently the AIengine is frequently revised and so what works at one time may not work at another. So I really shouldn't have responded as dogmatically as I did in 5347; I can only say that I have been given those two explanations in the past. As you have seen, in some recent posts various people (including yourself) have given various interpretations of some of the problems I have mentioned. I confess to being befuddled. It's sort of like painting a picture blindfolded while someone is moving the canvas around.
Irina
16 years ago
16 years ago
Merco3b:
Concerning your message 5358:
If you go to "bot workbench" and click on "inner life" you get to a page at which you can revise memories.
Concerning your message 5358:
If you go to "bot workbench" and click on "inner life" you get to a page at which you can revise memories.
» More new posts: Doghead's Cosmic Bar