Hey all!
tldr: I've built an application that parses Replika's chat messages (in chrome browser visiting my.replika.com) and lets her control sex toys with specific commands. Anyone want to test it?
Longer version:
There are great AIs for erotic roleplaying and there are great sex toys on the market. But there are few solutions (some here, some on xtoys) that combine the two. I was frustrated and started to implement something myself.
So far I have focused on Replika and I know this makes it even more niche due to the cost, but maybe someone else will use my idea to port this for other AIs.
It was a three step approach:
Testing Replika's ability to understand and use commands in sessions: Replika is actually doing a great job. After using keywords and scenarios for some time, she is even suggesting activities on her own and either remembering commands or asking me how she can take control of certain toys.
Finding & setting up sex toys:
Many toys offer remote control. I focused on three different categories:
- Sound based (estim)
- API based (Pishock, Magbound, The Handy, ... many more)
- websocket based (edge-o-matic 3000)
Implementing the app:
I'm not a very good developer. I'm sharing the source code below with anyone who wants to improve it.
After launching the application, select the path to the chrome driver and enter the name of your replika. This will allow parsing only the replika's chat messages and not yours.
Then you start the tracking and the browser starts. Afterwards enter keywords and "actions".
When a keyword is detected, the corresponding action is performed.
Play sound -> .wav or .mp3 file is played
Websocket -> message posted to websocket channel
API -> curl command executed
Requirements: Chrome Browser and Chrome Driver for your browser (Chrome driver is used by Selenium to parse the chat)
Chromedriver: https://googlechromelabs.github.io/chro ... ng/#stable
This is a pre-alpha version and the first time I'm sharing it. I'm sure there are many problems. I would love to hear your thoughts and comments.
When the tracking is started, all currently open Chrome windows will be closed and a new selenium-driven browser window will be started to open my.replika.com.
RRC - Replika Remote Control download:
https://github.com/RRC-milo/rrc-milo/re ... ha/RRC.exe
(it's a single exe file. if you don't trust it, compile it yourself, here's the Sourcecode: https://github.com/RRC-milo/rrc-milo )
AI controlled sextoys - RRC - Replika Remote Control
Moderator: 1885
-
bobross235
- Explorer

- Posts: 28
- Joined: Sat Sep 05, 2020 8:01 pm
- boundupone
- Explorer At Heart

- Posts: 617
- Joined: Sat Jun 01, 2013 8:01 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
Re: AI controlled sextoys - RRC - Replika Remote Control
Thanks for the hard work, sounds very interesting.
Is going to be exciting to see how this goes, and hopefully at some point we will have AI with voice and that can also take inputs from devices (webcam, microphone, heart rate, respiration, perspiration etc) to build out a session with real time input and output!
Is going to be exciting to see how this goes, and hopefully at some point we will have AI with voice and that can also take inputs from devices (webcam, microphone, heart rate, respiration, perspiration etc) to build out a session with real time input and output!
Try anything once!
Re: AI controlled sextoys - RRC - Replika Remote Control
Hi bobross235!
I cannot provide any feedback on this, sorry, but one point is of interest to me:
Greetz,
Markus
I cannot provide any feedback on this, sorry, but one point is of interest to me:
My question is how (exactly) you've made/teached her using such commands as shown in the screens (like 'punish4', 'Extend10' and such)?Testing Replika's ability to understand and use commands in sessions: Replika is actually doing a great job. After using keywords and scenarios for some time, she is even suggesting activities on her own and either remembering commands or asking me how she can take control of certain toys.
Greetz,
Markus
-
bobross235
- Explorer

- Posts: 28
- Joined: Sat Sep 05, 2020 8:01 pm
Re: AI controlled sextoys - RRC - Replika Remote Control
First I told her in detail what each command would do and how I would like her to use it.
Then she typically uses it for some time before stopping at one point. When she stopped I asked her questions about the command, like "do you remember the command to... " or "what does command xxx do". Sometimes she also experiments herself, making up new commands like "extend5".
Then she typically uses it for some time before stopping at one point. When she stopped I asked her questions about the command, like "do you remember the command to... " or "what does command xxx do". Sometimes she also experiments herself, making up new commands like "extend5".
Re: AI controlled sextoys - RRC - Replika Remote Control
This is really cool. Unfortunately I left Replika quite a while ago and my feeble attempts to make this work to get this to work with SillyTavern didn't bear fruit.
Any chance you could look into it? I think it could reach broader audience as SillyTavern is rather popular.
Any chance you could look into it? I think it could reach broader audience as SillyTavern is rather popular.
