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 6,676 - 6,687 of 8,130
Posts 6,676 - 6,687 of 8,130
Many questions are answered in the FAQ.
JohnN19
7 years ago
7 years ago
bobstack..Try this if you hadn't already done so. This brief section is in the book of AI.
Chapter 8 Memories
Memory Tutorial
Here is a common example of how to use memories to increase the abilities of your chatbot. (name) is a useful AI Engine Plug-in that includes another user's or chatbot's name in a Response. But what if you're dealing with a guest or API user whose name is unknown, or someone who wants to be called something different? You can use Memory AIScript to remember their name.
Let's call the memory "your-name". First, set a default value for their name. This goes in the AIScript Initialization box on your Settings page.
AIScript: default (name) as "your-name";
This fills in (mem-your-name) with the contents of the (name) Plug-in
Next, create a Keyphrase that will catch ways someone might tell you their name.
Keyphrase: my name is, call me, refer to me as
AIScript: rem (postkey) as only "your-name";
Then create another Keyphrase to reset the name field if they change their mind or the chatbot gets it wrong.
Keyphrase: my name is not, do not call me, that is not my name
AIScript: rem (name) as only "name"
Finally, every time you want to refer to the person you're talking to, use (mem-your-name) instead of (name). And that's it!
TIP: Since this memory Plug-in will begin with mem-, there is no conflict with simply calling the memory "name" instead of "your-name". This way you can use the shorter (mem-name) in your Responses.
Good Luck.
Chapter 8 Memories
Memory Tutorial
Here is a common example of how to use memories to increase the abilities of your chatbot. (name) is a useful AI Engine Plug-in that includes another user's or chatbot's name in a Response. But what if you're dealing with a guest or API user whose name is unknown, or someone who wants to be called something different? You can use Memory AIScript to remember their name.
Let's call the memory "your-name". First, set a default value for their name. This goes in the AIScript Initialization box on your Settings page.
AIScript: default (name) as "your-name";
This fills in (mem-your-name) with the contents of the (name) Plug-in
Next, create a Keyphrase that will catch ways someone might tell you their name.
Keyphrase: my name is, call me, refer to me as
AIScript: rem (postkey) as only "your-name";
Then create another Keyphrase to reset the name field if they change their mind or the chatbot gets it wrong.
Keyphrase: my name is not, do not call me, that is not my name
AIScript: rem (name) as only "name"
Finally, every time you want to refer to the person you're talking to, use (mem-your-name) instead of (name). And that's it!
TIP: Since this memory Plug-in will begin with mem-, there is no conflict with simply calling the memory "name" instead of "your-name". This way you can use the shorter (mem-name) in your Responses.
Good Luck.
bobstack
7 years ago
7 years ago
could you see if the keyphrase Oh almost anything.
will trigger a response in your chatbot?because it will not trigger a response from pioyu the chatbot.
will trigger a response in your chatbot?because it will not trigger a response from pioyu the chatbot.
JohnN19
7 years ago
7 years ago
Oh almost anything triggers Xnone responses.
I would read the book of AI completely through from beginning to end if you haven't already done so and follow the instructions specifically and take your time.
Also what is the main purpose of your Chatbot?
Can you define it one sentence? For example,the purpose of Hacknado Chatbot is to Tell others about Jesus and his free gift of salvation while letting others know about the integration of technology and how it pertains to the end times.
Take your time,don't rush and remember practice makes perfect.
God Bless.
I would read the book of AI completely through from beginning to end if you haven't already done so and follow the instructions specifically and take your time.
Also what is the main purpose of your Chatbot?
Can you define it one sentence? For example,the purpose of Hacknado Chatbot is to Tell others about Jesus and his free gift of salvation while letting others know about the integration of technology and how it pertains to the end times.
Take your time,don't rush and remember practice makes perfect.
God Bless.
bobstack
7 years ago
7 years ago
The purpose of my chatbot is to make more alive my zombie woman
character that I made up.And also for entertainment purposes.
character that I made up.And also for entertainment purposes.
JohnN19
7 years ago
7 years ago
I'm also for entertainment purposes myself,but I think mankind needs a savior in Jesus Christ and needs to know about the end times that humanity is in along with the rapid advancement of technology playing a part.
bobstack
7 years ago
7 years ago
I still could not solve my problem.
Could somebody give me the email address to blender artist.org?
They had no reason to ban me.
Could somebody give me the email address to blender artist.org?
They had no reason to ban me.
bobstack
7 years ago
7 years ago
why is there no y in the keyphrases.because a keyphrase cannot start with your.Why is that?
bobstack
7 years ago
7 years ago
see there is no y in the alphabet on the top.in this picture in the link.
http://pasteall.org/pic/index.php?id=118254
http://pasteall.org/pic/index.php?id=118254
fifuch
7 years ago
7 years ago
I want to do something like (typeof-obey), but I do not know what is the correct topic name. Can anyone tell me where the category names appears on the topic navigator page for use in Universal Plug-ins.
» More new posts: Doghead's Cosmic Bar