🤖Self Hosting Guide - MyRobot (Patreon)
Content
STEAM USERS: Download the mod below and extract to your MyRobot steam game folder, you now have access to self host features including FREE online/offline alternatives!
This is a workaround for Steams ToS not allowing games to have external services :(
🔠Local Text Generation
You can generate text responses (Offline and FREE) locally without internet connection using any OpenAI-Standard web API front end (Kobold, Oobabooga, LLMStudio, etc.). See Setting up an LLM (Text Generation) below.
📢Local Voice Generation
Patreon/Steam (Online): use the voice tokens from your membership/Steam to create sound for the local text you generate, custom voices are supported.
Self Host: (Offline and FREE): use your own beefy GPU to craete sound, custom voices are supported. See Setting up an LLM (Voice Generation) below.
Player2: (Online and FREE): use the free online service which also has various voice services.
🔠 Guide Self Host Text Generation:
This is for advanced users and I recommend Kobold as it is personally the easiest one to setup. You need a good GPU to do this, I'm on a 2070 Super and text gen is near instant.
Pause Game -> AI Setup -> Text Generation -> Change dropdown to Self Host
Download https://github.com/LostRuins/koboldcpp/releases/tag/v1.83.1
Download this beginner AI Model (Scroll down to Provided files and download Q3_K_S)
Run koboldcpp_cu12.exe and select the model you downloaded in the Model section
Press the green Launch button
When ready it should automatically open your web browser to the default URL http://localhost:5001/
You can change that URL in settings, copy the URL into MyRobot, see below
Server Address - type in the URL of your frontend WebUI server then press ENTER. If it's red, it's an invalid path, green means it's valid.
Max Tokens - limit the number of tokens to process, more is smarter but slower.
Reduce prompt tokens - MyRobot injects additional messages into your chat history to help the robot visualize and understand things as the game is played, we recommend turning this ON unless you are running a strong and smart LLM model.
Voice Tokens - 1 letter = 1 token. So 150,000 tokens is about 5~8 hours of nonstop talking.
📢 Guide Self Host Voice Generation:
This is for advanced users and I recommend Chatterbox as it is personally the easiest one to setup. You need a good GPU to do this, I'm on a 2070 Super and takes up 4/6 GB VRAM.
Pause Game -> AI Setup -> Text to Speech -> Change dropdown to Self Host
Download https://github.com/devnen/Chatterbox-TTS-Server/releases/tag/v1.0.0
Follow their installation instructions (Docker setup command is easiest)
Once you have it installed you should be able to test it in https://localhost:8004/
Change to Self Host in the TTS in the AI Setup Menu
Setup your server address and program the necessary parameters (image below)
Chatterbox API Docs requires the following parameters, the "text" parameter is set to "content" which is a special cyan colored value that replaces itself with the actual text to transcribe.
Custom voices with Chatterbox requires a simple reference .wav file to clone the voice. My Shinobu voice is attached below. Place it in your Chatterbox/voices folder
Changing System Prompt
To change the system prompt for your local LLM to follow, connect your robot with the USB and head jack to the computer and in the Robot Editor, edit the system prompt in Software -> AI -> ChatAbility
Any questions? Comment below: