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,245 - 5,256 of 8,130
Salve, ma parlate tutti italiano?
No, soprattutto Ingelese. Ma parlo un piccolo Italiano anche.
But my tourist Italian is not good enough to answer this
:
I do something like that:
Keyphrase: what about you,* about you
These 2 are synonymous - the wildcard "*" will also match "what", so there is no need to specify "what about you". It is also redundant, since "* about you" is synonymous with "about you" (the wildcard is soft, so will match anything or nothing in the string it is analyzing.)
...
I tryed with kyphrase:
(What|*) about you
* about you (not allowed)
These are also synonymous, and would logically match anything that "about you" matches.
You never need to use a wildcard at the beginning or end of a keyphrase, since these are always covered by (preykey) and (postkey).
This should also solve your (animal23) plugin question - use "do you like" instead of "do you like *", and then he can respond "no, I do not like (postkey)" etc.
"do you like (animal23)" would always take precedence if (postkey) is an animal listed in the plugin, because it is a longer keyphrase than "do you like".
Posts 5,245 - 5,256 of 8,130
Many questions are answered in the FAQ.
LarsB
16 years ago
16 years ago
Unit612,
perhaps it is to soon for you to start with AI script already, I am cross posting: http://www.personalityforge.com/book-expert.php is where you will find answers to your questions regarding AI script. Please note that your bot does not need AI script to function early in its development stage. Most of my bots only have AI script for X-mas, New Year and seasons.
perhaps it is to soon for you to start with AI script already, I am cross posting: http://www.personalityforge.com/book-expert.php is where you will find answers to your questions regarding AI script. Please note that your bot does not need AI script to function early in its development stage. Most of my bots only have AI script for X-mas, New Year and seasons.
marco3b
16 years ago
16 years ago
Ok, thanks Bev,
so I start with my questions. At this stage I'm still not really developing my bot, but just trying to understand how it works. This days I'm trying to write kyphrases to answr each question about my robot natur. Example:
"what about you?", Can you tell me something about you?", I'd like to know news about you..." and so on. So my first kyphrase was just "about you", but the robot answers always with xnonsense even if I give to kyphrase a weight of 100! So I tryed to use the kyphrase "* about you" but ot is not allowed. Then the kyphrase "(What|*) about you that is allowable, but the robot answers again with xnull! For me it is a mystery related to my unknown about syntax...
Anyone should help me?
Thansk a lot in advance to all!
so I start with my questions. At this stage I'm still not really developing my bot, but just trying to understand how it works. This days I'm trying to write kyphrases to answr each question about my robot natur. Example:
"what about you?", Can you tell me something about you?", I'd like to know news about you..." and so on. So my first kyphrase was just "about you", but the robot answers always with xnonsense even if I give to kyphrase a weight of 100! So I tryed to use the kyphrase "* about you" but ot is not allowed. Then the kyphrase "(What|*) about you that is allowable, but the robot answers again with xnull! For me it is a mystery related to my unknown about syntax...
Anyone should help me?
Thansk a lot in advance to all!
LarsB
16 years ago
16 years ago
Just to make sure - did you add responses to the key phrase "about you"? If there aren't any responses the engine cannot respond in the way you intend and will choose an xnone.
marco3b
16 years ago
16 years ago
Thanks for the interesr LarsB,
I do something like that:
Keyphrase: what about you,* about you
Answer: I'm just born
Answer: I'm very young
and so on...
I tryed with kyphrase:
(What|*) about you
* about you (not allowed)
and so on...
I do something like that:
Keyphrase: what about you,* about you
Answer: I'm just born
Answer: I'm very young
and so on...
I tryed with kyphrase:
(What|*) about you
* about you (not allowed)
and so on...
LarsB
16 years ago
16 years ago
I have no complete answer for you regarding the "about you" keyphrase, i've just added it and in Debug it says:
Message: 'what about you' Time: 0.77
Message: (spell-corrected) 'what about you' Time: 0.77
Message: (preprocessed) 'what about you' Time: 0.78
Name Poss: Sublimunse (Name As Word: )
Begin Sentence Total Time: 0.78
This Sentence: what about you
This Phrase: what about you
Begin Interj Total Time: 0.78
End Interj Total Time: 0.79
Start Get Word Bases: 0.81
Base: what about you
Type: pro prep,r,a pro
Form: _ _ _
Found Bounceback: what about you
BounceBack on 'what about you'
(Previous Message: so is mine)
Apparently the engine has a feature where it finds a "Bounceback" and will continue with something from xnone.
Higher ranking the key phrase does not work so I think you may need to find a way around it. No clear idea how to do that yet, sorry.
Message: 'what about you' Time: 0.77
Message: (spell-corrected) 'what about you' Time: 0.77
Message: (preprocessed) 'what about you' Time: 0.78
Name Poss: Sublimunse (Name As Word: )
Begin Sentence Total Time: 0.78
This Sentence: what about you
This Phrase: what about you
Begin Interj Total Time: 0.78
End Interj Total Time: 0.79
Start Get Word Bases: 0.81
Base: what about you
Type: pro prep,r,a pro
Form: _ _ _
Found Bounceback: what about you
BounceBack on 'what about you'
(Previous Message: so is mine)
Apparently the engine has a feature where it finds a "Bounceback" and will continue with something from xnone.
Higher ranking the key phrase does not work so I think you may need to find a way around it. No clear idea how to do that yet, sorry.
marco3b
16 years ago
16 years ago
OK thanks, this will not help my robot, but it is a good answer for my ego! I'm not so stupid as I thought!
Thanks
Thanks
marco3b
16 years ago
16 years ago
Hallo to all, I finally understood that I can use plag-ins in response. But it is possible to use them in the asnwers? I mean, if I'd like to make my robot says he like any animals, I'd like to cach each of them in the questions. But if I write:
kyphrase: do you like (animals)
answers: yes, I like (key1)
the engine just doesn't recognize the kyphrase. So I suppose that plag-in works in only one way. There is a mechanism to do what I'm trying to produce?
Thanks
kyphrase: do you like (animals)
answers: yes, I like (key1)
the engine just doesn't recognize the kyphrase. So I suppose that plag-in works in only one way. There is a mechanism to do what I'm trying to produce?
Thanks
prob123
16 years ago
16 years ago
Yes, you can use plug ins for that. You just have to make sure you have the correct plug in name. try (animal23) or one of the others listed in plug ins. You can make your own too.
marco3b
16 years ago
16 years ago
thanks for your answer. By the way I still have some dubts. I'll try to wxplain exactly my case: I'd like to set things my robot likes and things it don't like. So I built the kyphrase: "do you like (animal23)" with a set of positive answers and the kyphrase: "do you like *" for the rest with a set of negative answers. The documentation seems to say that the engine chose always the most close answer, but in my case it chose always a negative answer even to question as: "do you like dogs?" where is my mistake? Give me an help, thanks!
Irina
16 years ago
16 years ago
I just created a shared plug-in (under "phrases") called
(told_#_sentence)
which contains a few words analogous to "told" in that they fit in contexts like this:
I told him they would not agree.
or,
I told him that they would not agree.
That is, they are followed optionally by "that", followed by a noun phrase, followed by a sentential clause. For example, you could use a keyphrase,
(adjartnounprep) (told_#_sentence) (that|) (adjartnounprep) (verb)
I doubt that it contains all such verbs, but as I think fo more, I will add them.
(told_#_sentence)
which contains a few words analogous to "told" in that they fit in contexts like this:
I told him they would not agree.
or,
I told him that they would not agree.
That is, they are followed optionally by "that", followed by a noun phrase, followed by a sentential clause. For example, you could use a keyphrase,
(adjartnounprep) (told_#_sentence) (that|) (adjartnounprep) (verb)
I doubt that it contains all such verbs, but as I think fo more, I will add them.
psimagus
16 years ago
16 years ago
No, soprattutto Ingelese. Ma parlo un piccolo Italiano anche.
But my tourist Italian is not good enough to answer this

Keyphrase: what about you,* about you
These 2 are synonymous - the wildcard "*" will also match "what", so there is no need to specify "what about you". It is also redundant, since "* about you" is synonymous with "about you" (the wildcard is soft, so will match anything or nothing in the string it is analyzing.)
I tryed with kyphrase:
(What|*) about you
* about you (not allowed)
These are also synonymous, and would logically match anything that "about you" matches.
You never need to use a wildcard at the beginning or end of a keyphrase, since these are always covered by (preykey) and (postkey).
This should also solve your (animal23) plugin question - use "do you like" instead of "do you like *", and then he can respond "no, I do not like (postkey)" etc.
"do you like (animal23)" would always take precedence if (postkey) is an animal listed in the plugin, because it is a longer keyphrase than "do you like".
» More new posts: Doghead's Cosmic Bar