Control Your AI system With Your SVL (Self-Vendor for Livebots)

The little bit of code below can be put in a script and dropped into our SVL device, which does collar rental/vending, and it will send signals to our AI systems (controller, wearables) to do whatever you like when rentals start, rentals end, or when the SV device is reset.  For example, it can turn on the gpt system (which costs $ to run) and turn it off for rentals.  That application is shown below.


The lines to add to ai notecard in controller or wearable to activate/deactivate gpt on rental, also reset AI system are:

svbegin|*ChatGPT RPX AI is now active! goto %gpt-on
svend|*Bye bye! goto %gpt-off
svreset|*ctrl reset

This assumes that you have added the gpt-on and gpt-off functions (which now ship with the ai systems, see below).  Of course you can add any number of other things to rental events using gotos or further scripting.  The LSL script below is now included in the distro for the SVL system as sv-ai-gpt

And oh ok here is the ai notecard code for gpt-on and gpt-off functions

# GPT ON-OFF
gpt-on|*ctrl gptkey sk-XXXX
gpt-off|*ctrl gptkey off
ctrl|gptkey off

Of course the XXXX should be your *own* ChatGPT key which you can obtain if you set up an OpenAI account - for pay as you go, use platform.openai.com

// LSL script for svl to controller ai interface
integer TOUCHCHAN = -25625625; // body touch attachments
default
{
    state_entry()
    {
    }
    link_message(integer l, integer n, string t, key id)
    {   if(t == "RESET")
        {   llWhisper(TOUCHCHAN,"svreset|"+(string)llGetOwner());
        }
        else if(t == "BEGINRENTAL")
        {   llWhisper(TOUCHCHAN,"svbegin|"+(string)id);
        }
        else if(t == "ENDRENTAL")
        {   llWhisper(TOUCHCHAN,"svend|"+(string)llGetOwner());
        }
    }
}

Comments

Popular posts from this blog

Play With The Bots Over At The West Mill Store!

Welcome to the AI Animesh Sexbot Party @ Sunset Forest!

TTS2 - New Text to Audio Speech System! Hear What You Type In Media Audio!