Instructions.So to get this script working properly you will need to:
Make sure you have your toys / clothes setup with the default scripts for that (Options -> Toys/Clothes)
1. Download LM Studio from
https://lmstudio.ai/2. Install LM Studio on your PC
3. Open up LM Studio
4. In the home screen there should be a search bar to search for language models.
5. Type: "xwin mlewd v0 2 13B" and download the file with "q5_k_m_gguf" at the end. (Other models would also work and do even work better but this one works even with less than 16gb of ram).
6. Once the download is finished you can click on the 2 arrows on the left side menu, to get to the server settings.

7. Select your model at the top and click on "Start Server" Make sure that your port is "1234".

8. Optionally you want to finetune your settings in LM Studio so that it can generate faster responses. Especially "GPU acceleration"
9. Run the AI_Mistress Script. It should be able to connect to your local LM Studio Server now.
Optional:
If you have a decent GPU turn on GPU acceleration and play with the number. This will increase the speed the AI can generate text:
Some more info how the script works:After picking a personality the language model is fed with a system prompt that initiates the personality you picked. So during the whole conversation it will stick to that personality. It also gets your basic data here (Name, likes)
In the very first message the AI is being told what toys and clothes you did enable in your settings (It can help to disable some to only leave the ones enabled you really would use...)
In the first message you are to introduce yourself to your Mistress. That is important to get the first Output from the LLM.
If the first output sounds decent like something you would like to continue you click on Continue.
If the output is bad or weird you can click on "rewrite instructions".
This functionality is important for debugging and improving prompts.
After the AI gave you a response it gets triggered another time to evaluate the response and decide what functions the AI_Mistress needs to use from a set of functions. For example if the AI says "Take a picture of yourself" this part of the script makes it so that SS actually opens your camera to take a pic.
Also no information gets shared. All conversations are completely local and private.