WIP: more AI stuff updates & Alive marker (Patreon)
Content
OFFLINE CHATBOT AI
I added support to make the chatbot AI work 100% offline too. In the previous demo I was using an online bot running on google colab & the ElevenLabs API for AI text-to-speech. Both of those are free and awesome but they have some monthly limits after which you have to pay for them. I don't like relying on online services as they might change, go down, etc. and render the whole thing unplayable overnight. Privacy is of course a big concern too
In this quick video I was using a local classic TTS voice. It's possible to make it work at some point also with local AI TTS voices which sound more natural. I was also running locally KoboldAI with a very very basic bot, there are much smarter AI models available. I also didn't adjust the vam lipsync settings so that could be much better too.
SENTIMENT ANALYSIS
I added sentiment analysis to the responses of the AI to get how the AI is 'feeling' about what it says. It interprets the words used and calculates a score for positive, neutral and negative sentiments and a general score of the message. In the video the red-yellow-green bar reflects that general score.
The idea is to use this with Alive to alter the expressions while the character is talking. It's a pretty basic thing, a sad-happy morph essentially, but paired with all the procedural animations Alive is doing it should make things noticeably more immersive once implemented.
ALIVE MARKER SYSTEM
VAM is awesome for making custom scenes. The process however is very tedious and moving & spawning things takes a lot of work.
To help with that I added a marker system to Alive. The way it works is like a 3d cursor. You can bring it close to you by pressing a button or just move it around. When adding atoms now to the scene through the UI they will be added to the marker position & rotation. It's hidden by default and shows when some menus are active like the Aeternum UI scene atoms menu.
For now it only works on the default height but I want to add height detection similar to the person teleport system too, to allow spawning & moving things on top of other things. Eventually this will help get rid of the person teleport system and become a simple & unified way of giving 3d commands and interacting with the scene like: move atom there, clone atom there, walk there, crawl there, sit there (if a chair is nearby), etc.