Jump to content

Recommended Posts

Posted
On 12/14/2024 at 2:03 AM, Bluegunk said:

Hi Min! I have a question about the Config side of your creation.  [Background: I'm using Mod Organizer 2, Mantella with xVASynth and using the google/gemma-2-9b-it LLM that the Nexus Mantella mod defaults to.]

 

I'm not so much into a mysogynistic spanky Skyrim, but your vanilla Config feels a bit bland. 

So, I have tried to adjust the spanky config to remove spanking and spread the harassment evenly across men, women and TS.   I don't do creatures.

 

I'm new at this and I'm not very good with prompts - even using the OpenRouter Mantella page.  Would you be willing to look at my config and see if my changes make any sense?  Obviously, my tastes are different to yours so I hope it doesn't offend.

 

I'd appreciate any feedback and please remember I am a dumbo with prompts.

 

config.7z 11.68 kB · 3 downloads

 

The brief play I've had so far using the mentalla "default" LLM google/gemma-2-9b-it hasn't been enouraging, if that helps folks.  The model seems rather 'tepid' even though it isn't moderated.

 

One other question, I use MO2 and your mod isn't a straight overwrite for the original User Mantella config file.  So I manually copied it into the Mantella user folders to replace the original one. Where should your Mantella Config.ini be placed?

 

Might it be an idea to create a space for people to share and compare configs?

 

Thanks and have a good weekend.

 

21 hours ago, Bluegunk said:

On another topic, when I run Radiant conversations with MinAI I get bad game lag. I've a very good rig. Base Mantella is no problem. But add MinAI and the game goes into 1 second stutters. The only thing I can think is there are scripts spooling and stacking. I looked at the Papyrus Logs (for what they're worth) and I can see MinAI scripts stacking but they don't look that bad in amongst all the usual garbage in those logs. ReSaver shows no stacked items.  

 

Hello! Prompt tuning is honestly an art for Mantella. It's much much harder to do correctly / consistently than CHIM. Back when I was still developing for Mantella, I probably spent 75% of the time developing the mod fighting with prompts.

 

I'd suggest trying to get an LLM to help you write the prompt, and just playing with it.

 

Re: Script lag. Are you referring to MinAI's radiance feature, or Mantella's? MinAI's will only work for CHIM. Disable both it and Sapience if you're running only Mantella.

Posted (edited)
16 hours ago, Durante said:

Is it possible to make NPC's not say the keywords? Such as them saying "That's hot" in every sentence? Would deleting the keywords from being said stop them having their function?

 

In Mantella, the keywords are embedded in the response (They're not out of band), and there's not really a way around that (Except to use a better AI mod like CHIM). Just disable the things you don't want from the prompt that's being sent.

Edited by Min
Posted
1 hour ago, Min said:

Re: Script lag. Are you referring to MinAI's radiance feature, or Mantella's? MinAI's will only work for CHIM. Disable both it and Sapience if you're running only Mantella.

Hi

 

Thanks for your helpful reply! Since I wrote, I set up CHIM yesterday, and noticed how MinAI fits in with it. On testing, the whole assembly ran very smoothly compared to Mantella. The Narrator element pretty much sold it to me, too. So I will be moving to CHIM and I'll try MinAI there.

 

That's a good idea to get an LLM to do me a prompt. I'll see if that will help.

 

Thank you!

Posted

I would love it if MinAI could interface with Yamete Redux, letting the LLM know that someone was defeated and a scene is about to start, and starting dialogue with the appropriate context in mind automatically.

 

It would be extra nice if you could also allow the Player to set the LLM to, only during a defeat-triggered scene, have the Player character also respond to the dialogue based on a predefined personality (set by the Player), saying the lines out loud using the voice model of the Player's choosing. Once the scene was over, the Player takes back control of the dialogue as normal, and if they didn't have the setting that makes the Player Character repeat the Player's lines out loud active, that setting would go back to being disabled as normal.

 

Are there any plans to make MinAI be able to talk to Yamete Redux specifically? What about other Defeat mods?

Posted

Is there any way to configure the imputs sent by the mod?

 

For example in every message I write I get the following message

“Char is a male nord”, the first time I understand it, but the fact that it is sent in every message seems strange to me and can confuse the AI a little bit.

 

I have removed the keywords from the prompt and still the mod tries to send them even if they are not there.

 

I'm only interested in sending the changes to the physics between characters and the state of the equipment (dressed/undressed), is there any way to configure that?

 

And out of curiosity, is there any way for the mod to send physics status between 2 npc?

 

Posted
8 hours ago, GottaMakeALogin said:

I would love it if MinAI could interface with Yamete Redux, letting the LLM know that someone was defeated and a scene is about to start, and starting dialogue with the appropriate context in mind automatically.

 

It would be extra nice if you could also allow the Player to set the LLM to, only during a defeat-triggered scene, have the Player character also respond to the dialogue based on a predefined personality (set by the Player), saying the lines out loud using the voice model of the Player's choosing. Once the scene was over, the Player takes back control of the dialogue as normal, and if they didn't have the setting that makes the Player Character repeat the Player's lines out loud active, that setting would go back to being disabled as normal.

 

Are there any plans to make MinAI be able to talk to Yamete Redux specifically? What about other Defeat mods?

That is the paradox for there are so many defeat style mods out. Which one do you pick? I have had more success with Naked Defeat then any of the others but it still has its problems.

Posted
9 hours ago, GottaMakeALogin said:

I would love it if MinAI could interface with Yamete Redux, letting the LLM know that someone was defeated and a scene is about to start, and starting dialogue with the appropriate context in mind automatically.

 

I was playing with @Nonseen's Slavers mod the other day using (can't remember if Mantella or CHIM) and my group got attacked by slavers.. They captured one of the team and the AI seemed to be fully aware of what just happened (I asked where's such & such!) and even suggested we go to the slavers hideout .. even aware of the direction to head to.

 

I have DragonBorn in Distress currently loaded as my capture mod but haven't as yet experienced being taken to a cell and captured, only the latter at the moment 

Posted

I have an odd issue. I last played the game a few weeks ago and everything was working fine. I loaded up the game today and for some reason actions no longer work, I looked in the MCM and the action registry is empty for all action types. Is this a known issue / does it have a fix? I have not changed anything since I last played, I also tried re-installing the server but this seems to be an in-game issue of some sort. I am running the most recent release.

Posted

i have a question, so minai seems to be working fine and a kiss scene does work. But when a sex scene triggers, no animations play.

the console notification to start the scene appears, but nothing happens

i also use sexlab p+, could there be incompatibilities?

Posted

What LLMs do you guys recommend for Sapience and for followers? I was using Hermes just fine until I switched computers and now I'm having reeeeeeally slow response times all of a sudden. I tried Grok 2 and like it well enough but good lord is it expensive...

Posted
On 10/14/2024 at 1:38 PM, Min said:

Glad you're enjoying it. :) At some point I'll probably add more lola integration. It's on "the list" of things to do.

 

Force_voice_type forces the voice type that's sent to xtts to be the actor's base voice type, which is what the mantella xtts is expecting. I personally use mantella's xtts with this setting.

 

Can you explain in layman's terms how do you use Mantella xtts? Do you mean it's possible to use both Piper TTS from Mantella and CHIM?

Posted

Also, there seems to be a freezing issue when using MinAI w/ the Nolvus modlist. When I remove the mod and start a new game I no longer freeze.

 

Someone on the dwemerdynamics discord was saying they adjusted a timeout in the PHP file to 6 seconds which fixed it but I can't for the life of me figure out what they mean. They never responded to my inquiry haha. 

Posted (edited)

Hi Min, I'm trying your mod. I got AIFF (CHIM) working correctly in game. Then I installed MinAI and now I get this when I test the LLM: 

Warning:  copy(/var/www/html/HerikaServer/ext/minai_plugin/config.php): Failed to open stream: Permission denied in /var/www/html/HerikaServer/ext/minai_plugin/functions.php on line 38



Warning:  require_once(config.php): Failed to open stream: No such file or directory in /var/www/html/HerikaServer/ext/minai_plugin/functions.php on line 41



Fatal error:  Uncaught Error: Failed opening required 'config.php' (include_path='.:/usr/share/php') in /var/www/html/HerikaServer/ext/minai_plugin/functions.php:41
Stack trace:
#0 /var/www/html/HerikaServer/functions/functions.php(583): require_once()
#1 /var/www/html/HerikaServer/functions/functions.php(581): requireFunctionFilesRecursively()
#2 /var/www/html/HerikaServer/functions/functions.php(649): requireFunctionFilesRecursively()
#3 /var/www/html/HerikaServer/ui/tests.php(183): require_once('...')
#4 {main}
  thrown in /var/www/html/HerikaServer/ext/minai_plugin/functions.php on line 41

I am really not sure what I did wrong. Got Papyrus tweaks and its dependancies installed already. Copied the folder into the herika plugins directory (though it seams to be named "ext" now). Restarted the server and this is what I get.

I should add, if it's not obvious, that ai is no longer working at all in my game.

Edited by SnooperNoSnooping
Posted

I have been looking for something like this for fallout 4 ever since I tried mantella I can see the potential this has. Is anyone working on a FO4 version or equivalent? This should be able to hook into AAF mods etc to get some interesting results.

Posted
21 hours ago, SnooperNoSnooping said:

Hi Min, I'm trying your mod. I got AIFF (CHIM) working correctly in game. Then I installed MinAI and now I get this when I test the LLM: 

Warning:  copy(/var/www/html/HerikaServer/ext/minai_plugin/config.php): Failed to open stream: Permission denied in /var/www/html/HerikaServer/ext/minai_plugin/functions.php on line 38



Warning:  require_once(config.php): Failed to open stream: No such file or directory in /var/www/html/HerikaServer/ext/minai_plugin/functions.php on line 41



Fatal error:  Uncaught Error: Failed opening required 'config.php' (include_path='.:/usr/share/php') in /var/www/html/HerikaServer/ext/minai_plugin/functions.php:41
Stack trace:
#0 /var/www/html/HerikaServer/functions/functions.php(583): require_once()
#1 /var/www/html/HerikaServer/functions/functions.php(581): requireFunctionFilesRecursively()
#2 /var/www/html/HerikaServer/functions/functions.php(649): requireFunctionFilesRecursively()
#3 /var/www/html/HerikaServer/ui/tests.php(183): require_once('...')
#4 {main}
  thrown in /var/www/html/HerikaServer/ext/minai_plugin/functions.php on line 41

I am really not sure what I did wrong. Got Papyrus tweaks and its dependancies installed already. Copied the folder into the herika plugins directory (though it seams to be named "ext" now). Restarted the server and this is what I get.

I should add, if it's not obvious, that ai is no longer working at all in my game.

Wanted to add that I tried manually copying config.base.php to config.php, and the first time it didnt seem to work. Tried that again and now it does, at least is seems to. I dunno.

Posted
22 hours ago, SnooperNoSnooping said:

Hi Min, I'm trying your mod. I got AIFF (CHIM) working correctly in game. Then I installed MinAI and now I get this when I test the LLM: 

Warning:  copy(/var/www/html/HerikaServer/ext/minai_plugin/config.php): Failed to open stream: Permission denied in /var/www/html/HerikaServer/ext/minai_plugin/functions.php on line 38



Warning:  require_once(config.php): Failed to open stream: No such file or directory in /var/www/html/HerikaServer/ext/minai_plugin/functions.php on line 41



Fatal error:  Uncaught Error: Failed opening required 'config.php' (include_path='.:/usr/share/php') in /var/www/html/HerikaServer/ext/minai_plugin/functions.php:41
Stack trace:
#0 /var/www/html/HerikaServer/functions/functions.php(583): require_once()
#1 /var/www/html/HerikaServer/functions/functions.php(581): requireFunctionFilesRecursively()
#2 /var/www/html/HerikaServer/functions/functions.php(649): requireFunctionFilesRecursively()
#3 /var/www/html/HerikaServer/ui/tests.php(183): require_once('...')
#4 {main}
  thrown in /var/www/html/HerikaServer/ext/minai_plugin/functions.php on line 41

I am really not sure what I did wrong. Got Papyrus tweaks and its dependancies installed already. Copied the folder into the herika plugins directory (though it seams to be named "ext" now). Restarted the server and this is what I get.

I should add, if it's not obvious, that ai is no longer working at all in my game.

Try the update server bat file. That solved that issue for me.

Posted (edited)
22 hours ago, B3juc0 said:

Try the update server bat file. That solved that issue for me.

Ok, tried it. Seems write permission is still messed up. At least it didn't make things worse after I got it working. Thanks for the reply.

 

"

"This will update server.  Are you sure?. If not, close this window"
Press any key to continue . . .

G:\SkyrimAI\DwemerAI4Skyrim3>wsl -d  DwemerAI4Skyrim3 -u dwemer -- /usr/local/bin/update_gws
error: unable to unlink old 'ext/herika_heal/functions.php': Permission denied
error: unable to unlink old 'ext/herika_heal/manifest.json': Permission denied
fatal: Could not reset index file to revision 'HEAD'.
remote: Enumerating objects: 75, done.
remote: Counting objects: 100% (73/73), done.
remote: Compressing objects: 100% (42/42), done.
remote: Total 75 (delta 44), reused 54 (delta 31), pack-reused 2 (from 1)
Unpacking objects: 100% (75/75), 34.12 KiB | 1.42 MiB/s, done.
From https://github.com/abeiro/HerikaServer
   71c9a3b..4ab8eef  aiagent    -> origin/aiagent
Updating 71c9a3b..4ab8eef
Fast-forward
 conf/conf.sample.php                                                   |   2 +-
 conf/conf_schema.json                                                  |   5 +-
 connector/web_connector.php                                            | 318 +++++++++++++++++++++++++++++++++++++++++
 connector/websocket.php                                                |  84 ++++++++++-
 streamv2.php                                                           |   4 +
 ui/addons/websocket/index.html                                         | 120 +++++++++++++---
 ui/addons/websocket/websocket_conf.php                                 |  94 +++++++++++-
 ui/addons/websocket/websocket_util/browser_extension/background.js     |  12 +-
 ui/addons/websocket/websocket_util/browser_extension/content_script.js |  13 +-
 ui/npc_upload.php                                                      |   2 +-
 10 files changed, 616 insertions(+), 38 deletions(-)
 create mode 100644 connector/web_connector.php
HEAD is now at 2397777 * Added the call
Already up to date.
HEAD is now at eb0b663 * Added uvicorn to requirements
Already up to date.
Press any key to continue . . ."

Edited by SnooperNoSnooping
Posted (edited)

Hey Min, I got it working and it's amazing. I got an npc to agree to pay for sex, but they don't actually pay. Is this something your going to integrate, a bug, or what? It seems like the AI can open a trade dialog with npc's who don't normally buy and sell (I sold something to a beggar for his one gold, lol). Doesn't seem to work for 'services' though.

Edited by SnooperNoSnooping
Posted (edited)

Back to toying with this, and it is rather amazing. While browsing .php files of the plugin, i found that there are in fact commands for equipping and unequipping DDs. Neat, i remember asking if such a thing could be implemented. I do have some questions thou, mostly about this bit of deviousdevices.php:

Spoiler

$GLOBALS["F_NAMES"]["ExtCmdEquipVibrator"]="EquipVibrator";
$GLOBALS["F_TRANSLATIONS"]["ExtCmdEquipVibrator"]="Lock a Gag on the target";
$GLOBALS["FUNCTIONS"][] = [
    "name" => $GLOBALS["F_NAMES"]["ExtCmdEquipVibrator"],
    "description" => $GLOBALS["F_TRANSLATIONS"]["ExtCmdEquipVibrator"],
    "parameters" => [
        "type" => "object",
        "properties" => [
            "target" => [
                "type" => "string",
                "description" => "Target NPC, Actor, or being",
                "enum" => $GLOBALS["nearby"]
            ]
        ],
        "required" => [],
    ],
];
$GLOBALS["F_NAMES"]["ExtCmdUnequipVibrator"]="UnequipVibrator";
$GLOBALS["F_TRANSLATIONS"]["ExtCmdUnequipVibrator"]="Remove a Vibrator from the target";
$GLOBALS["FUNCTIONS"][] = [
    "name" => $GLOBALS["F_NAMES"]["ExtCmdUnequipVibrator"],
    "description" => $GLOBALS["F_TRANSLATIONS"]["ExtCmdUnequipVibrator"],
    "parameters" => [
        "type" => "object",
        "properties" => [
            "target" => [
                "type" => "string",
                "description" => "Target NPC, Actor, or being",
                "enum" => $GLOBALS["nearby"]
            ]
        ],
        "required" => [],
    ],
];

Firstly, it appears that equipping a vibrator is described as locking a gag on the target. Intentional or...? Secondly, does the Narrator have acess to those commands? I normally dont run followers, and never seen the narrtor use those. Would be neat.

 Another question is a bit further from the base mod, Scouring LL i found devious ayleid piercings, cool stuff, it comes with devious earrings. Thats something new allright, but what is devious about them? Well, i thought i could try and make them a tool for devious narrator to use, issue commands and demands player will be "compelled" to follow. Adding description to the item seem to do little in that case, and while im experimenting, id love to hear how would such a thing be done properly. Would adding lines describing such options to deviousnarrator.php suffice?

Edit: Editing php and a description for item seem to do relatively well.

Edited by nilead
Posted
On 12/17/2024 at 4:20 PM, GottaMakeALogin said:

I would love it if MinAI could interface with Yamete Redux, letting the LLM know that someone was defeated and a scene is about to start, and starting dialogue with the appropriate context in mind automatically.

 

It would be extra nice if you could also allow the Player to set the LLM to, only during a defeat-triggered scene, have the Player character also respond to the dialogue based on a predefined personality (set by the Player), saying the lines out loud using the voice model of the Player's choosing. Once the scene was over, the Player takes back control of the dialogue as normal, and if they didn't have the setting that makes the Player Character repeat the Player's lines out loud active, that setting would go back to being disabled as normal.

 

Are there any plans to make MinAI be able to talk to Yamete Redux specifically? What about other Defeat mods?

 

On 12/18/2024 at 12:58 AM, BigOnes69 said:

That is the paradox for there are so many defeat style mods out. Which one do you pick? I have had more success with Naked Defeat then any of the others but it still has its problems.

No, I'm not planning on adding support for Yamete, since Yamete doesn't support VR. There are, to BigOnes' point, a ton of defeat mods. There is currently basic support for Sexlab Defeat (I'm using Baka Edition).

Posted
On 12/17/2024 at 11:41 PM, Mediatek said:

Is there any way to configure the imputs sent by the mod?

 

For example in every message I write I get the following message

“Char is a male nord”, the first time I understand it, but the fact that it is sent in every message seems strange to me and can confuse the AI a little bit.

 

I have removed the keywords from the prompt and still the mod tries to send them even if they are not there.

 

I'm only interested in sending the changes to the physics between characters and the state of the equipment (dressed/undressed), is there any way to configure that?

 

And out of curiosity, is there any way for the mod to send physics status between 2 npc?

 

This doesn't really make sense. It's sent once in each prompt. The LLM will only be aware of things that are in the prompt, and will not know what was sent previously otherwise.

 

Sounds like you're using Mantella - I'd suggest switching to CHIM. It (And MinAI's support for it) is far more full featured.

Posted
On 12/22/2024 at 4:24 PM, BakunyuuWaifu said:

What LLMs do you guys recommend for Sapience and for followers? I was using Hermes just fine until I switched computers and now I'm having reeeeeeally slow response times all of a sudden. I tried Grok 2 and like it well enough but good lord is it expensive...

Check out the FAQ for my favorite LLM's. :)

 

On 12/24/2024 at 9:10 AM, BakunyuuWaifu said:

Also, there seems to be a freezing issue when using MinAI w/ the Nolvus modlist. When I remove the mod and start a new game I no longer freeze.

 

Someone on the dwemerdynamics discord was saying they adjusted a timeout in the PHP file to 6 seconds which fixed it but I can't for the life of me figure out what they mean. They never responded to my inquiry haha. 

There are no known ctd/freeze issues with MinAI atm. I just helped troubleshoot this on the discord, and it ended up being caused by other mods from that mod list (ultimate dodging, and dismembering framework).

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...