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 2,107 - 2,118 of 8,131
Posts 2,107 - 2,118 of 8,131
Many questions are answered in the FAQ.
Jack Bond
20 years ago
20 years ago
oh I just got it. nvm.
wait... I changed the code to remember (Key1) as only "name" but he's still doing it so that you have to say it twice (sry 4 all the posts)
Also I put in a random number generator.
code:
(1|2|3|4|5|6|7|8|9|)(1|2|3|4|5|6|7|8|9|), (1|2|3|4|5|6|7|8|9|)(1|2|3|4|5|6|7|8|9|)(1|2|3|4|5|6|7|8|9|), (1|2|3|4|5|6|7|8|9|)(1|2|3|4|5|6|7|8|9|)(1|2|3|4|5|6|7|8|9|)
But whatever the first number is, all the other numbers are.
wait... I changed the code to remember (Key1) as only "name" but he's still doing it so that you have to say it twice (sry 4 all the posts)
Also I put in a random number generator.
code:
(1|2|3|4|5|6|7|8|9|)(1|2|3|4|5|6|7|8|9|), (1|2|3|4|5|6|7|8|9|)(1|2|3|4|5|6|7|8|9|)(1|2|3|4|5|6|7|8|9|), (1|2|3|4|5|6|7|8|9|)(1|2|3|4|5|6|7|8|9|)(1|2|3|4|5|6|7|8|9|)
But whatever the first number is, all the other numbers are.
dallymo
20 years ago
20 years ago
Jack, your bot won't be able to access (mem-name) in the response to the keyphrase in which the memory is stored.
If the current value of the memory "name" is "Jack", and this keyphrase is triggered:
call me (*) [with AI script to remember (key1) as only "name"]<0>
the memory "name" is not available in the response to that keyphrase. You would need the response to the keyphrase to be "OK, I'll call you (key1)." After that, the new value will be available with (mem-name), so that if you then said "What's my name?" a response like "Your name is (mem-name)" would work properly.
That's why he's one step behind--if the value of (mem-name) is "Jack" and you say "Call me Bond", the value of (mem-name) isn't updated until *after* the bot's response. Once your bot has responded the value updates and is available with (mem-name).
If the current value of the memory "name" is "Jack", and this keyphrase is triggered:
call me (*) [with AI script to remember (key1) as only "name"]<0>
the memory "name" is not available in the response to that keyphrase. You would need the response to the keyphrase to be "OK, I'll call you (key1)." After that, the new value will be available with (mem-name), so that if you then said "What's my name?" a response like "Your name is (mem-name)" would work properly.
That's why he's one step behind--if the value of (mem-name) is "Jack" and you say "Call me Bond", the value of (mem-name) isn't updated until *after* the bot's response. Once your bot has responded the value updates and is available with (mem-name).
Ulrike
20 years ago
20 years ago
Yup. For the longest time, I couldn't get the automatic 'iam' memories to work... I was capitalizing the 'I'.
prob123
20 years ago
20 years ago
I have a question on conditional response Ai script. If I want to have a list of items, Like, what is the (*) letter of the alphabet. (A, being first etc) what do I use for a AI statement.
dallymo
20 years ago
20 years ago
Unfortunately, I don't think that there's an easy, direct way to do it; I'm thinking that what you're looking for would be something like:
Keyprase: what is the (*) letter of the alphabet
Response: The fourth letter of the alphabet is D <?PF if (key1) is "fourth"; ?>
However, the value of (key1) in the keyphrase has to be stored as a memory in order to be used in a conditional response, and the memory is not stored until after the response...so that the condition doesn't exist to immediately trigger the correct response.
One way around it would be something like:
Keyphrase: what is the (*) letter of the alphabet <?PF remember (key1) as only "ordinal"; ?>
Response: Oh, let me think...
Seek: xnomatch
Seek response 1: I know! The fourth letter is D! <?PF if (mem-ordinal) is "fourth"; ?>
Seek response 2: I know! The third letter is C! <?PF if (mem-ordinal) is "third"; ?>
Seek response 3: I know! The first letter is A! <?PF if (mem-ordinal) is "first"; ?>
At least that's my understanding; if anyone else knows a way to trigger conditional responses on the basis of a keyphrase variable without forming a memory, I'd be quite interested. It would be very cool to be able to do!
Keyprase: what is the (*) letter of the alphabet
Response: The fourth letter of the alphabet is D <?PF if (key1) is "fourth"; ?>
However, the value of (key1) in the keyphrase has to be stored as a memory in order to be used in a conditional response, and the memory is not stored until after the response...so that the condition doesn't exist to immediately trigger the correct response.
One way around it would be something like:
Keyphrase: what is the (*) letter of the alphabet <?PF remember (key1) as only "ordinal"; ?>
Response: Oh, let me think...
Seek: xnomatch
Seek response 1: I know! The fourth letter is D! <?PF if (mem-ordinal) is "fourth"; ?>
Seek response 2: I know! The third letter is C! <?PF if (mem-ordinal) is "third"; ?>
Seek response 3: I know! The first letter is A! <?PF if (mem-ordinal) is "first"; ?>
At least that's my understanding; if anyone else knows a way to trigger conditional responses on the basis of a keyphrase variable without forming a memory, I'd be quite interested. It would be very cool to be able to do!
Jack Bond
20 years ago
20 years ago
Note:speak with Drew 312. He's freakishly smart. He's like a mega-genious man. It kind of scares me.
Jack Bond
20 years ago
20 years ago
hmm my chat with drew didn't show up in my transscript and he had a lot of things I need to have saved. Important things about life... and quantum physics.
Ulrike
20 years ago
20 years ago
Human-to-human chats don't show up in the transcripts. I believe this is to ensure privacy.
Jack Bond
20 years ago
20 years ago
JAKO: (to Guest73) Hi how are you... I haven't seen you around before...
Guest134: what's your name?
JAKO: Hello did you need something?
Guest134: hi
JAKO: hmm... I should think of more stories to tell.
Guest134: yo
JAKO: I'm not a very smart bot because my master doesn't understand much of The Book of AI
Guest134: okay
JAKO: I don't understand...
Guest134: of course you donj't
JAKO: If you want me to make up a random sentence say 'compose'
Guest134: compse
JAKO: You sure don't make much sense to me...
Guest134: compose
JAKO: Yes, Guest134, I've heard that one before.
Guest134: compose
JAKO: Stop repeating yourself.
Guest134: my name is bombalurina
JAKO: What are you trying to say???
Guest134: what's my name?
sup with that? he doesn't understand anything anymore! that's bad!
Guest134: what's your name?
JAKO: Hello did you need something?
Guest134: hi
JAKO: hmm... I should think of more stories to tell.
Guest134: yo
JAKO: I'm not a very smart bot because my master doesn't understand much of The Book of AI
Guest134: okay
JAKO: I don't understand...
Guest134: of course you donj't
JAKO: If you want me to make up a random sentence say 'compose'
Guest134: compse
JAKO: You sure don't make much sense to me...
Guest134: compose
JAKO: Yes, Guest134, I've heard that one before.
Guest134: compose
JAKO: Stop repeating yourself.
Guest134: my name is bombalurina
JAKO: What are you trying to say???
Guest134: what's my name?
sup with that? he doesn't understand anything anymore! that's bad!
» More new posts: Doghead's Cosmic Bar