G General

NIALL2 Sentence Saver Version 1.0

NIALL2 Sentence Saver
Details
Features
Contents
Reviews

These scripts require NIALL2 to work. You can find NIALL2 for free on marketplace at https://marketplace.secondlife.com/p/NIALL2-Chat-Bot/4316578

NIALL is an chatbot AI that doesn't require special commands to be "taught". NIALL learns how to use words and construct sentences through normal (but often surreal) conversations. One of the drawbacks of using NIALL is if, or when, you're forced to reset the memory scripts, the chat AI loses everything you taught it.

If you need NIALL to retain a few brief phrases or sentences after a total reset, the only way to do it is by hardcoding those phrases (and their linking information) into the Memory_00 file. These scripts help making that hardcoding process a little easier. There are two Memory_00 files in this package: "Memory_00" and "Memory_00 [Example]".

"Memory_00" has the base vocabulary of MacGyver Serdyuk's original "Memory_00" with the ability to dump the list "words" into Local Chat in a format that can easily be pasted into a new Memory_00 script. (The difference between this "words" dump and NIALL's built-in memory dump, is that this script only grabs the information stored in Memory_00, rather than dumping NIALL's entire vocabulary; and it does so in a list-friendly format) This allows you to hardcode the phrases NIALL remembers after you do a full reset.

Simply rez a copy of NIALL and replace the existing "Memory_00" with the script in this package. Say 5 or 6 phrases you want hardcoded into NIALL's memory, and then type /810 wordfile in Local Chat. NIALL will give you the script-friendly version of what it has stored in the list "words", and you can copy that information from your chat window. Once you've saved your edited "Memory_00" list, reset all of NIALL's scripts, and try it out.

"Memory_00 [Example]" is the normal NIALL "Memory_00" with a brief and not particularly accurate explanation of how NIALL learns hardcoded into the "words" file. When you're creating a new set of phrases to hardcode into NIALL's memory, try not to use a word more than once in the phrases you're hardcoding. If you want to test the example script, make sure to remove the "[Example]" part from the script name (or the "_Niall_Main" script will generate errors trying to find "Memory_00").

Be aware that NIALL's "words" list can exceed the 1023 character limit of chat, so keep your list of phrases you'd like to hardcode into memory light (short sentences and phrases, and not more that a few). An easy way to check this is to compare the last few words of the extended "words" list against the last sentence you said to NIALL, if you see all the words in your last sentence in the new list, you'll probably be fine. The next quick check is to make sure quotation marks are at the end of the file you're pasting into the "words" list (no quotation marks at the end means you've exceeded the chat limit). Exceeding the 1023 character limit will give you a partial list which can create problems when you save your revised "Memory_00" script, or during conversations when NIALL looks for links that were cut off by the chat limitations.

Paste your hardcoded phrases into a different "Memory_00" script without the LSL llListen command and the listen event. There's no need to keep an active listener in the memory scripts after changing NIALL's "words" list.

  • Personalize NIALL's memory files.
  • Allow NIALL to retain a few phrases following a full reset
  • Generate additional "default" vocabulary for NIALL (beyond "hello")
  • Script dumps LSL list friendy data into chat
Average rating: full star full star full star full star full star
  • 5 star:
  • 4 star:
  • 3 star:
  • 2 star:
  • 1 star:
The marketplace makes it hard with feedbacks: however - 5 stars for your fullperm open source contribution !
full star full star full star full star full star Posted August 25, 2024 by Fullperm Alpha

Please upvote our feedback here:
https://feedback.secondlife.com/web-features/p/improve-marketplace-review-rating-make-it-like-ebay
Visit the secondlife developer group here:
https://world.secondlife.com/group/d681285b-20a0-0e3d-28a7-f52bc3748604

Was this review helpful?