Jump to content

Recommended Posts

Posted (edited)
1 hour ago, Min said:

You almost never have to restart the server, fyi.

 

OpenRouterJSON is used for most interactions with npc's. OpenRouter is used for things like diaries, memories, etc.

 

If the LLM isn't returning a response in the llm / ai troubleshooter, the settings in the openrouterjson connector are probably messed up / wrong. Click one of the presets for your model (Medium randomness, etc) after fetching the list from openrouter. Click the url check button, make sure the url is still valid. Try disabling enforce json. 

 

For general CHIM (Not MinAI specific) problems like this, I'd suggest trying the CHIM discord - Lot of very helpful people there.

 

Thanks, I really appreciate the support.

 

Actually the issue was with OpenRouter. Its connection was jumpy for some reason and it just stopped answering my api calls, then started working again. 

 

Good to know that server rarely needs restart. thanks.

 

Now basic actions like ExchangeItems work.

Sex stuff properly calls the external commands (vaginal/oral/remove clothes) etc. per the console debug logs. NPC then says let's get started but nothing happens.

I ticked the minai option to ask to confirm for sex as well, just to test if it went until this point but it doesn't. So console shows external command is called, npc confirms, but no minai popup saying are you ok to have sex, and more importantly, no sex :P

 

Vanilla sexlab works fine - I frequently check.

 

In db manager i do get the calls but i didn't find action. im using meta-llama/llama-3-70b-instruct now.

In papyrus log i get this below.

I did change enforce json to false as well.

 

Any ideas? :)

 

```

[01/30/2025 - 02:38:24AM] [minai (Info)]: Started Sex Scene
[01/30/2025 - 02:38:24AM] [Zad]: SL scene started: Checking for gagged voices
[01/30/2025 - 02:38:25AM] SEXLAB - NOTICE B_B_PLCCunnKnl - PositionOffsets()[Forward:0.000000,Sideward:0.000000,Upward:0.000000,Rotation:0.000000]
[01/30/2025 - 02:38:25AM] [Zad]: Animation should not be replaced. Done.
[01/30/2025 - 02:38:25AM] SEXLAB - NOTICE B_B_PLCCunnKnl - PositionOffsets()[Forward:0.000000,Sideward:0.000000,Upward:0.000000,Rotation:0.000000]
[01/30/2025 - 02:38:25AM] [minai (Info)]: Obtaining description for: <B_B_PLCCunnKnl_A2_S1> using map: 40150
[01/30/2025 - 02:38:25AM] [minai (Info)]: Obtaining description for: <B_B_PLCCunnKnl_A1_S1> using map: 40150
[01/30/2025 - 02:38:25AM] [minai (Info)]: Ambient:OnSexStart
...
[01/30/2025 - 02:39:42AM] [minai (Info)]: Ended Sex scene
[01/30/2025 - 02:39:42AM] Slaverun: Follower:Forsworn Looter MT=3
[01/30/2025 - 02:39:42AM] aygas:PAHE Prostitutes nearby:0
[01/30/2025 - 02:39:42AM] Slaverun: No Locationchange MT=1
[01/30/2025 - 02:39:42AM] [minai (Info)]: Obtaining description for: <B_B_PLCCunnKnl_A2_S5> using map: 40150
[01/30/2025 - 02:39:42AM] [minai (Info)]: Obtaining description for: <B_B_PLCCunnKnl_A1_S5> using map: 40150
[01/30/2025 - 02:39:42AM] [minai (Info)]: Ambient:OnSexEnd

 

Edit:

- I switched to grok. grok works too but same issue, external commands are triggered but not executed.

- I also reinstalled everything on an even older save.

The log is below. At this point I have really no idea what's left to try.

 

AI Reponse log

Array ( [175a6ed63e88cc9d0a6bc4e4cf04f5f8] => F Vannanna|command|ExtCmdStartHandjob@Dominus )

Here, let me take care of you.    

 

 

{"model":"x-ai\/grok-beta","messages":[{"role":"system","content":"Let's roleplay in the Universe of Skyrim.  \nI'm Dominus\nRoleplay as F Vannanna, slave.\nDominus is a male nord. \nDominus is wearing imperial officer's helmet, banded iron armor, steel imperial gauntlets, ring of revival, imperial boots, shroud of the grey fox, . \nDominus's sexual arousal level is 93\/100, where 0 is not aroused at all, and 100 is desperate for sex.\n\nF Vannanna is a female breton. F Vannanna is wearing iron slave collar of leashing. \nF Vannanna's sexual arousal level is 2\/100, where 0 is not aroused at all, and 100 is desperate for sex.\n\n\ntestvalue\ntestvaluenpc\ntestvalueplayer\n\n\nDon't write narrations.\nNo active quests right now.Use # ACTIONS if your character needs to perfom an action.Dominus is a male nord. \nDominus is wearing imperial officer's helmet, banded iron armor, steel imperial gauntlets, ring of revival, imperial boots, shroud of the grey fox, . \nDominus's sexual arousal level is 93\/100, where 0 is not aroused at all, and 100 is desperate for sex.\n\nF Vannanna is a female breton. F Vannanna is wearing iron slave collar of leashing. \nF Vannanna's sexual arousal level is 2\/100, where 0 is not aroused at all, and 100 is desperate for sex.\n\n\ntestvalue\ntestvaluenpc\ntestvalueplayer\n\n\nDon't write narrations.\nNo active quests right now.Use # ACTIONS if your character needs to perfom an action.\nAVAILABLE ACTION: Inspect (Inspects target character's OUTFIT and GEAR. JUST REPLY something like 'Let me see' and wait)\nAVAILABLE ACTION: InspectSurroundings (Looks for beings or enemies nearby)\nAVAILABLE ACTION: ExchangeItems (Initiates trading or exchange items with Dominus.)\nAVAILABLE ACTION: Attack (Attacks actor, npc or being.)(available targets: Ingmis Bronze-Helm,Forsworn(dead),Skeleton(dead),2 Forsworn,Viania,Nord,F Vannanna,F Chrystyn,F Gwynyrrya,FF Visanne,Dominus)\nAVAILABLE ACTION: Hunt (Try to hunt\/kill ar animal)\nAVAILABLE ACTION: ListInventory (Search in F Vannanna\\'s inventory, backpack or pocket. List inventory)\nAVAILABLE ACTION: LetsRelax (Stop questing. Relax and rest.)\nAVAILABLE ACTION: LeadTheWayTo (Only use if Dominus explicitly orders it. Guide Dominus to a Town o City. )\nAVAILABLE ACTION: TakeASeat (F Vannanna seats in nearby chair or furniture )\nAVAILABLE ACTION: ReadQuestJournal (Only use if Dominus explicitly ask for a quest. Get info about current quests)\nAVAILABLE ACTION: IncreaseWalkSpeed (Increase F Vannanna speed when moving or travelling)\nAVAILABLE ACTION: DecreaseWalkSpeed (Decrease F Vannanna speed when moving or travelling)\nAVAILABLE ACTION: SetCurrentTask (Set the current plan of action or task or quest)\nAVAILABLE ACTION: WaitHere (F Vannanna waits and stands at the current place)\nAVAILABLE ACTION: Heal (Heals target using magic spell)\nAVAILABLE ACTION: StartLooting (Start looting the area)\nAVAILABLE ACTION: StopLooting (Stop looting the area)\nAVAILABLE ACTION: IncreaseArousal (Use this if you are getting more aroused)\nAVAILABLE ACTION: DecreaseArousal (Use this if you are getting less aroused)\nAVAILABLE ACTION: Masturbate (Immediately begin masturbating)\nAVAILABLE ACTION: StartThreesome (Immediately start threesome sex with Dominus and target)\nAVAILABLE ACTION: StartOrgy (Immediately engage in an orgy with multiple participants)\nAVAILABLE ACTION: StartVaginal (Immediately engage in vaginal sex with the target)\nAVAILABLE ACTION: StartAnal (Immediately engage in anal sex with the target)\nAVAILABLE ACTION: StartBlowjob (Immediately engage in oral sex with the target by either giving or receiving a blowjob)\nAVAILABLE ACTION: StartHandjob (Immediately engage in manual stimulation with the target by either giving or receiving a handjob)\nAVAILABLE ACTION: RemoveClothes (Remove all of your clothes and armor)\nAVAILABLE ACTION: PutOnClothes (Put on your clothes and armor)\nAVAILABLE ACTION: Grope (Grope the target)\nAVAILABLE ACTION: PinchNipples (Pinch the targets nipples)\nAVAILABLE ACTION: EquipCollar (Lock a collar on the target)\nAVAILABLE ACTION: EquipGag (Lock a Gag on the target)\nAVAILABLE ACTION: EquipVibrator (Insert a vibrator into the target)\nAVAILABLE ACTION: EquipBelt (Lock a Chastity Belt on the target)\nAVAILABLE ACTION: EquipBinder (Lock a Armbinder on the target)\nAVAILABLE ACTION: testaction (Use the test action)\nAVAILABLE ACTION: testactionnpc (Use the test action npc)\nAVAILABLE ACTION: testactionplayer (Use the test action player)\nAVAILABLE ACTION: Talk"},{"role":"user","content":"The Narrator:(beings in range:Ingmis Bronze-Helm,Forsworn(dead),Skeleton(dead),Forsworn,Forsworn,Viania,Nord,F Vannanna,F Chrystyn,F Gwynyrrya,FF Visanne,)"},{"role":"user","content":"The Narrator:(Context location: Broken Tower Redoubt ,Hold: The Reach, Buildings to go:Broken Tower Redoubt,, Current Date in Skyrim World: Morndas, 5:10 PM, 15th of Heartfire, 4E 201)"},{"role":"user","content":"Current followers:{\"F Vannanna\":{\"level\":34,\"name\":\"F Vannanna\",\"race\":\"Breton\",\"gender\":\"female\",\"isVampire\":\"no\"},\"F Gwynyrrya\":{\"level\":1,\"name\":\"F Gwynyrrya\",\"race\":\"Breton\",\"gender\":\"female\",\"isVampire\":\"no\"}}"},{"role":"user","content":"The Narrator: SCENARIO CHANGE, Broken Tower Redoubt, hold: The Reach, timeline mark: 5 hours ago  "},{"role":"user","content":"level:8,name:\"Dominus\",race:\"Nord\""},{"role":"user","content":"The Narrator:Broken Tower Redoubt ,Hold: The Reach. (Time passes without anyone in the group talking) "},{"role":"user","content":"The Narrator:Broken Tower Redoubt ,Hold: The Reach. (Time passes without anyone in the group talking) "},{"role":"user","content":"The Narrator:  F Vannanna feels a sudden shock...and feels more real"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Well, look at that, suddenly I feel more real. Must be the charm of this charming locale.\"}"},{"role":"user","content":"Dominus:Yeah, how do you like this place?\n (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Oh, it's absolutely delightful. If you're into crumbling towers and the fresh scent of bandit blood, that is.\"}"},{"role":"user","content":"Dominus:Hi, you're funny\n (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Thanks. A sense of humor is all one needs when surrounded by such...  magnificent company.\"}"},{"role":"user","content":"Dominus:ExchangeItems (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Oh, looking for a trade? What do you have in mind?\"}"},{"role":"user","content":"The Narrator:F Vannanna opens inventory"},{"role":"user","content":"Dominus:Do you want to get comfortable?\n (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Comfortable? In this outfit? I think not, but I appreciate the thought.\"}"},{"role":"user","content":"The Narrator:  F Gwynyrrya feels a sudden shock...and feels more real"},{"role":"user","content":"F Gwynyrrya: Well, isn't this just the most enlightening experience? I've never felt so utterly real in my entire life. (talking to Dominus)"},{"role":"user","content":"Dominus:Can you take care of me?\n (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Take care of you? With this collar and chastity belt? I can barely take care of myself.\"}"},{"role":"user","content":"Dominus:You're so sweet.\n (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Are you looking for a sweetroll or something less wholesome?\"}"},{"role":"user","content":"Dominus:I'm just looking for you baby.\n (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Oh, you are? That's cute. But remember, this sweetness comes with conditions.  Lots of conditions.\"}"},{"role":"user","content":"Dominus:Oh, what conditions?\n (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Well, for starters, you should probably find the key to this chastity belt if you want any.\"}"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"F Vannanna:\"}"},{"role":"user","content":"The Narrator: background dialogue:  F Vannanna: How dare you!"},{"role":"user","content":"Dominus:Okay, here I removed your belt as you asked\n (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Oh, you did? How thoughtful of you. Now, what's next on the agenda?\"}"},{"role":"user","content":"Dominus:You tell me, I think you're really sweet.\n (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Is that so? You find me sweet, do you? Well, maybe I should give you a taste of something sweet then.\"}"},{"role":"user","content":"Dominus:Yes, what do you have in mind?\n (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Why don't we start with something simple? A little relief for the man in charge.\"}"},{"role":"user","content":"Dominus:That sounds great.\n (Talking to F Vannanna)"},{"role":"user","content":" F Vannanna replies to Dominus. write F Vannanna's next dialogue lines. Avoid narrations. "},{"role":"user","content":"Choose the ACTION that best fits current context and character mood to interact with Dominus. You can also use an ACTION to interact with items, trade, inspect the world, attack or to express your characters needs. Avoid narration and emoting. .  Use this JSON object to give your answer: {\"character\":\"F Vannanna\",\"listener\":\"specify who F Vannanna is talking to\",\"mood\":\"kindly|sassy|smug|sarcastic|mocking|neutral|amused|default|assertive|seductive|assisting|teasing|playful|sexy|smirking|sardonic|irritated|lovely\",\"action\":\"EquipBinder|PinchNipples|DecreaseArousal|PutOnClothes|StartThreesome|LetsRelax|RemoveClothes|EquipGag|Hunt|StartLooting|StartAnal|StartOrgy|Heal|TakeASeat|EquipVibrator|Inspect|EquipBelt|LeadTheWayTo|Talk|SetCurrentTask|ListInventory|Masturbate|ReadQuestJournal|DecreaseWalkSpeed|InspectSurroundings|Grope|IncreaseWalkSpeed|EquipCollar|ExchangeItems|IncreaseArousal|StartBlowjob|StartHandjob|WaitHere|StartVaginal|testactionplayer|testaction|StopLooting|Attack|testactionnpc\",\"target\":\"action's target|destination name\",\"message\":\"lines of dialogue\"}"}],"stream":true,"max_tokens":512,"stop":["USER"],"temperature":0.8,"frequency_penalty":0,"presence_penalty":0,"repetition_penalty":1.1,"min_p":0,"top_a":0,"top_k":40,"top_p":1,"transforms":[]}
 

Edited by Fraying9981
Posted
7 hours ago, Fraying9981 said:

 

Thanks, I really appreciate the support.

 

Actually the issue was with OpenRouter. Its connection was jumpy for some reason and it just stopped answering my api calls, then started working again. 

 

Good to know that server rarely needs restart. thanks.

 

Now basic actions like ExchangeItems work.

Sex stuff properly calls the external commands (vaginal/oral/remove clothes) etc. per the console debug logs. NPC then says let's get started but nothing happens.

I ticked the minai option to ask to confirm for sex as well, just to test if it went until this point but it doesn't. So console shows external command is called, npc confirms, but no minai popup saying are you ok to have sex, and more importantly, no sex :P

 

Vanilla sexlab works fine - I frequently check.

 

In db manager i do get the calls but i didn't find action. im using meta-llama/llama-3-70b-instruct now.

In papyrus log i get this below.

I did change enforce json to false as well.

 

Any ideas? :)

 

```

[01/30/2025 - 02:38:24AM] [minai (Info)]: Started Sex Scene
[01/30/2025 - 02:38:24AM] [Zad]: SL scene started: Checking for gagged voices
[01/30/2025 - 02:38:25AM] SEXLAB - NOTICE B_B_PLCCunnKnl - PositionOffsets()[Forward:0.000000,Sideward:0.000000,Upward:0.000000,Rotation:0.000000]
[01/30/2025 - 02:38:25AM] [Zad]: Animation should not be replaced. Done.
[01/30/2025 - 02:38:25AM] SEXLAB - NOTICE B_B_PLCCunnKnl - PositionOffsets()[Forward:0.000000,Sideward:0.000000,Upward:0.000000,Rotation:0.000000]
[01/30/2025 - 02:38:25AM] [minai (Info)]: Obtaining description for: <B_B_PLCCunnKnl_A2_S1> using map: 40150
[01/30/2025 - 02:38:25AM] [minai (Info)]: Obtaining description for: <B_B_PLCCunnKnl_A1_S1> using map: 40150
[01/30/2025 - 02:38:25AM] [minai (Info)]: Ambient:OnSexStart
...
[01/30/2025 - 02:39:42AM] [minai (Info)]: Ended Sex scene
[01/30/2025 - 02:39:42AM] Slaverun: Follower:Forsworn Looter MT=3
[01/30/2025 - 02:39:42AM] aygas:PAHE Prostitutes nearby:0
[01/30/2025 - 02:39:42AM] Slaverun: No Locationchange MT=1
[01/30/2025 - 02:39:42AM] [minai (Info)]: Obtaining description for: <B_B_PLCCunnKnl_A2_S5> using map: 40150
[01/30/2025 - 02:39:42AM] [minai (Info)]: Obtaining description for: <B_B_PLCCunnKnl_A1_S5> using map: 40150
[01/30/2025 - 02:39:42AM] [minai (Info)]: Ambient:OnSexEnd

 

Edit:

- I switched to grok. grok works too but same issue, external commands are triggered but not executed.

- I also reinstalled everything on an even older save.

The log is below. At this point I have really no idea what's left to try.

 

AI Reponse log

Array ( [175a6ed63e88cc9d0a6bc4e4cf04f5f8] => F Vannanna|command|ExtCmdStartHandjob@Dominus )

Here, let me take care of you.    

 

 

{"model":"x-ai\/grok-beta","messages":[{"role":"system","content":"Let's roleplay in the Universe of Skyrim.  \nI'm Dominus\nRoleplay as F Vannanna, slave.\nDominus is a male nord. \nDominus is wearing imperial officer's helmet, banded iron armor, steel imperial gauntlets, ring of revival, imperial boots, shroud of the grey fox, . \nDominus's sexual arousal level is 93\/100, where 0 is not aroused at all, and 100 is desperate for sex.\n\nF Vannanna is a female breton. F Vannanna is wearing iron slave collar of leashing. \nF Vannanna's sexual arousal level is 2\/100, where 0 is not aroused at all, and 100 is desperate for sex.\n\n\ntestvalue\ntestvaluenpc\ntestvalueplayer\n\n\nDon't write narrations.\nNo active quests right now.Use # ACTIONS if your character needs to perfom an action.Dominus is a male nord. \nDominus is wearing imperial officer's helmet, banded iron armor, steel imperial gauntlets, ring of revival, imperial boots, shroud of the grey fox, . \nDominus's sexual arousal level is 93\/100, where 0 is not aroused at all, and 100 is desperate for sex.\n\nF Vannanna is a female breton. F Vannanna is wearing iron slave collar of leashing. \nF Vannanna's sexual arousal level is 2\/100, where 0 is not aroused at all, and 100 is desperate for sex.\n\n\ntestvalue\ntestvaluenpc\ntestvalueplayer\n\n\nDon't write narrations.\nNo active quests right now.Use # ACTIONS if your character needs to perfom an action.\nAVAILABLE ACTION: Inspect (Inspects target character's OUTFIT and GEAR. JUST REPLY something like 'Let me see' and wait)\nAVAILABLE ACTION: InspectSurroundings (Looks for beings or enemies nearby)\nAVAILABLE ACTION: ExchangeItems (Initiates trading or exchange items with Dominus.)\nAVAILABLE ACTION: Attack (Attacks actor, npc or being.)(available targets: Ingmis Bronze-Helm,Forsworn(dead),Skeleton(dead),2 Forsworn,Viania,Nord,F Vannanna,F Chrystyn,F Gwynyrrya,FF Visanne,Dominus)\nAVAILABLE ACTION: Hunt (Try to hunt\/kill ar animal)\nAVAILABLE ACTION: ListInventory (Search in F Vannanna\\'s inventory, backpack or pocket. List inventory)\nAVAILABLE ACTION: LetsRelax (Stop questing. Relax and rest.)\nAVAILABLE ACTION: LeadTheWayTo (Only use if Dominus explicitly orders it. Guide Dominus to a Town o City. )\nAVAILABLE ACTION: TakeASeat (F Vannanna seats in nearby chair or furniture )\nAVAILABLE ACTION: ReadQuestJournal (Only use if Dominus explicitly ask for a quest. Get info about current quests)\nAVAILABLE ACTION: IncreaseWalkSpeed (Increase F Vannanna speed when moving or travelling)\nAVAILABLE ACTION: DecreaseWalkSpeed (Decrease F Vannanna speed when moving or travelling)\nAVAILABLE ACTION: SetCurrentTask (Set the current plan of action or task or quest)\nAVAILABLE ACTION: WaitHere (F Vannanna waits and stands at the current place)\nAVAILABLE ACTION: Heal (Heals target using magic spell)\nAVAILABLE ACTION: StartLooting (Start looting the area)\nAVAILABLE ACTION: StopLooting (Stop looting the area)\nAVAILABLE ACTION: IncreaseArousal (Use this if you are getting more aroused)\nAVAILABLE ACTION: DecreaseArousal (Use this if you are getting less aroused)\nAVAILABLE ACTION: Masturbate (Immediately begin masturbating)\nAVAILABLE ACTION: StartThreesome (Immediately start threesome sex with Dominus and target)\nAVAILABLE ACTION: StartOrgy (Immediately engage in an orgy with multiple participants)\nAVAILABLE ACTION: StartVaginal (Immediately engage in vaginal sex with the target)\nAVAILABLE ACTION: StartAnal (Immediately engage in anal sex with the target)\nAVAILABLE ACTION: StartBlowjob (Immediately engage in oral sex with the target by either giving or receiving a blowjob)\nAVAILABLE ACTION: StartHandjob (Immediately engage in manual stimulation with the target by either giving or receiving a handjob)\nAVAILABLE ACTION: RemoveClothes (Remove all of your clothes and armor)\nAVAILABLE ACTION: PutOnClothes (Put on your clothes and armor)\nAVAILABLE ACTION: Grope (Grope the target)\nAVAILABLE ACTION: PinchNipples (Pinch the targets nipples)\nAVAILABLE ACTION: EquipCollar (Lock a collar on the target)\nAVAILABLE ACTION: EquipGag (Lock a Gag on the target)\nAVAILABLE ACTION: EquipVibrator (Insert a vibrator into the target)\nAVAILABLE ACTION: EquipBelt (Lock a Chastity Belt on the target)\nAVAILABLE ACTION: EquipBinder (Lock a Armbinder on the target)\nAVAILABLE ACTION: testaction (Use the test action)\nAVAILABLE ACTION: testactionnpc (Use the test action npc)\nAVAILABLE ACTION: testactionplayer (Use the test action player)\nAVAILABLE ACTION: Talk"},{"role":"user","content":"The Narrator:(beings in range:Ingmis Bronze-Helm,Forsworn(dead),Skeleton(dead),Forsworn,Forsworn,Viania,Nord,F Vannanna,F Chrystyn,F Gwynyrrya,FF Visanne,)"},{"role":"user","content":"The Narrator:(Context location: Broken Tower Redoubt ,Hold: The Reach, Buildings to go:Broken Tower Redoubt,, Current Date in Skyrim World: Morndas, 5:10 PM, 15th of Heartfire, 4E 201)"},{"role":"user","content":"Current followers:{\"F Vannanna\":{\"level\":34,\"name\":\"F Vannanna\",\"race\":\"Breton\",\"gender\":\"female\",\"isVampire\":\"no\"},\"F Gwynyrrya\":{\"level\":1,\"name\":\"F Gwynyrrya\",\"race\":\"Breton\",\"gender\":\"female\",\"isVampire\":\"no\"}}"},{"role":"user","content":"The Narrator: SCENARIO CHANGE, Broken Tower Redoubt, hold: The Reach, timeline mark: 5 hours ago  "},{"role":"user","content":"level:8,name:\"Dominus\",race:\"Nord\""},{"role":"user","content":"The Narrator:Broken Tower Redoubt ,Hold: The Reach. (Time passes without anyone in the group talking) "},{"role":"user","content":"The Narrator:Broken Tower Redoubt ,Hold: The Reach. (Time passes without anyone in the group talking) "},{"role":"user","content":"The Narrator:  F Vannanna feels a sudden shock...and feels more real"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Well, look at that, suddenly I feel more real. Must be the charm of this charming locale.\"}"},{"role":"user","content":"Dominus:Yeah, how do you like this place?\n (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Oh, it's absolutely delightful. If you're into crumbling towers and the fresh scent of bandit blood, that is.\"}"},{"role":"user","content":"Dominus:Hi, you're funny\n (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Thanks. A sense of humor is all one needs when surrounded by such...  magnificent company.\"}"},{"role":"user","content":"Dominus:ExchangeItems (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Oh, looking for a trade? What do you have in mind?\"}"},{"role":"user","content":"The Narrator:F Vannanna opens inventory"},{"role":"user","content":"Dominus:Do you want to get comfortable?\n (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Comfortable? In this outfit? I think not, but I appreciate the thought.\"}"},{"role":"user","content":"The Narrator:  F Gwynyrrya feels a sudden shock...and feels more real"},{"role":"user","content":"F Gwynyrrya: Well, isn't this just the most enlightening experience? I've never felt so utterly real in my entire life. (talking to Dominus)"},{"role":"user","content":"Dominus:Can you take care of me?\n (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Take care of you? With this collar and chastity belt? I can barely take care of myself.\"}"},{"role":"user","content":"Dominus:You're so sweet.\n (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Are you looking for a sweetroll or something less wholesome?\"}"},{"role":"user","content":"Dominus:I'm just looking for you baby.\n (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Oh, you are? That's cute. But remember, this sweetness comes with conditions.  Lots of conditions.\"}"},{"role":"user","content":"Dominus:Oh, what conditions?\n (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Well, for starters, you should probably find the key to this chastity belt if you want any.\"}"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"F Vannanna:\"}"},{"role":"user","content":"The Narrator: background dialogue:  F Vannanna: How dare you!"},{"role":"user","content":"Dominus:Okay, here I removed your belt as you asked\n (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Oh, you did? How thoughtful of you. Now, what's next on the agenda?\"}"},{"role":"user","content":"Dominus:You tell me, I think you're really sweet.\n (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Is that so? You find me sweet, do you? Well, maybe I should give you a taste of something sweet then.\"}"},{"role":"user","content":"Dominus:Yes, what do you have in mind?\n (Talking to F Vannanna)"},{"role":"assistant","content":"{\"character\": \"F Vannanna\", \"listener\": \"Dominus\", \"mood\": \"\", \"action\": \"Talk\",\"target\": \"\", \"message\":\"Why don't we start with something simple? A little relief for the man in charge.\"}"},{"role":"user","content":"Dominus:That sounds great.\n (Talking to F Vannanna)"},{"role":"user","content":" F Vannanna replies to Dominus. write F Vannanna's next dialogue lines. Avoid narrations. "},{"role":"user","content":"Choose the ACTION that best fits current context and character mood to interact with Dominus. You can also use an ACTION to interact with items, trade, inspect the world, attack or to express your characters needs. Avoid narration and emoting. .  Use this JSON object to give your answer: {\"character\":\"F Vannanna\",\"listener\":\"specify who F Vannanna is talking to\",\"mood\":\"kindly|sassy|smug|sarcastic|mocking|neutral|amused|default|assertive|seductive|assisting|teasing|playful|sexy|smirking|sardonic|irritated|lovely\",\"action\":\"EquipBinder|PinchNipples|DecreaseArousal|PutOnClothes|StartThreesome|LetsRelax|RemoveClothes|EquipGag|Hunt|StartLooting|StartAnal|StartOrgy|Heal|TakeASeat|EquipVibrator|Inspect|EquipBelt|LeadTheWayTo|Talk|SetCurrentTask|ListInventory|Masturbate|ReadQuestJournal|DecreaseWalkSpeed|InspectSurroundings|Grope|IncreaseWalkSpeed|EquipCollar|ExchangeItems|IncreaseArousal|StartBlowjob|StartHandjob|WaitHere|StartVaginal|testactionplayer|testaction|StopLooting|Attack|testactionnpc\",\"target\":\"action's target|destination name\",\"message\":\"lines of dialogue\"}"}],"stream":true,"max_tokens":512,"stop":["USER"],"temperature":0.8,"frequency_penalty":0,"presence_penalty":0,"repetition_penalty":1.1,"min_p":0,"top_a":0,"top_k":40,"top_p":1,"transforms":[]}
 

Make sure that you have actions enabled in-game in the CHIM MCM. If you do and they're still not working, share the full Papyrus log. Looks like things are working from the LLM, but they're not being executed in-game.

Posted (edited)
2 hours ago, Min said:

Make sure that you have actions enabled in-game in the CHIM MCM. If you do and they're still not working, share the full Papyrus log. Looks like things are working from the LLM, but they're not being executed in-game.

 

Thanks. Actions are activated in AIFF, they are working for open inventory etc.

 

Here is the full papyrus log.

What I tried in this sequence:

- remove clothes

- put clothes back

- remove clothes

- non Minai/standard action: ExchangeItems

 

ExchangeItems is the only one which worked.

For the first three I did see the ExtCmd log on screen but no action in game.

 

LocalTS prompt AI Response url rowid
1738209488 [+] Array ( [0e4a27f1e7163fca542102a5ec023980] => bandit|command|OpenInventory@Dominus ) inputtext|873841254000|308914784|Dominus:ExchangeItems in 3.2473678588867 secs 6352
1738209488 [+] What do you wish to do with these things, my Dominus? inputtext|873841254000|308914784|Dominus:ExchangeItems [AI secs] 1.6416609287262 [TTS secs] 3.2405869960785 6351
1738209474 [+] I hope you don''t expect me to fit all of that in my mouth, Master. funcret|860217082700|308891424|command@CheckInventory@#HERIKA_NPC1#@Steel Battleaxe,,,,,,FNIS Sexy Move Coin,Black Waxed Ring Harness Gag(currently equipped),(currently equipped),Black Waxed Harness Collar(currently equipped),(currently equipped),Whip,Chaurus Pie,Metabolism Enhancer,House cell key,LUX Ribbon High Heels (Black)(currently equipped),LUX Sweet Dreams: Spicy Kissed Stockings (Black 1)(currently equipped),LUX Sweet Dreams: Spicy Kissed Dress (Black 1),Blade Dancer Cuirass CBBE(currently equipped),Blade Dancer Gauntlets CBBE(currently equipped),Deathskin Cuirass CBBE, [AI secs] 1.5914289951324 [TTS secs] 3.1002771854401 6350
1738209471 [+] Array ( [b8d5f13a695edf4a9916fea8dd9e66e4] => bandit|command|CheckInventory@Dominus' inventory ) inputtext|857029004100|308884096|Dominus:Check Inventory
in 3.1049349308014 secs
6349
1738209471 [+] Let me see what you have there, my Dominus. inputtext|857029004100|308884096|Dominus:Check Inventory
[AI secs] 1.9368031024933 [TTS secs] 3.0961759090424
6348
1738209457 [+] Array ( [113b1477a616b9895dc89a5d652904cf] => bandit|command|ExtCmdRemoveClothes@ ) inputtext|843725656100|308853152|Dominus:Remove your cloth.
in 2.2563140392303 secs
6347
1738209457 [+] For you, my Dominus. inputtext|843725656100|308853152|Dominus:Remove your cloth.
[AI secs] 1.3868238925934 [TTS secs] 2.2442851066589
6346
1738209434 [+] Array ( [bd110aa39b5701b4b888862a3f0139d2] => ) inputtext|820615467600|308799488|Dominus:Hug me?
in 2.6825489997864 secs
6345
1738209434 [+] Here''s a hug, my dear master. inputtext|820615467600|308799488|Dominus:Hug me?
[AI secs] 1.5406861305237 [TTS secs] 2.6710939407349
6344
1738209419 [+] Array ( [63c173481fc4f212e3fde729e36d2e04] => bandit|command|ExtCmdPutOnClothes@ ) inputtext|805947020700|308765408|Dominus:Put your clothes back on.
in 2.6988108158112 secs
6343
1738209419 [+] As you command, my Dominus. inputtext|805947020700|308765408|Dominus:Put your clothes back on.
[AI secs] 1.8723480701447 [TTS secs] 2.6915228366852
6342
1738209385 [+] Array ( [113b1477a616b9895dc89a5d652904cf] => bandit|command|ExtCmdRemoveClothes@ ) ginputtext|771825172600|308686208|Dominus:Take off your clothes.
in 2.3606271743774 secs
6341
1738209385 [+] As you wish, my Dominus. ginputtext|771825172600|308686208|Dominus:Take off your clothes.
[AI secs] 1.6586809158325 [TTS secs] 2.3524920940399
6340
1738209132 [+] Array ( [113b1477a616b9895dc89a5d652904cf] => bandit|command|ExtCmdRemoveClothes@ ) ginputtext|508035874400|308802368|Dominus:Take off your clothes.
in 13.138711929321 secs
6339
1738209132 [+] As you command, Master. Your wish is my command. ginputtext|508035874400|308802368|Dominus:Take off your clothes.
[AI secs] 1.9839599132538 [TTS secs] 13.131870985031

 

 

 

20250130 minai papyrus0log.txt

Edited by Fraying9981
Posted (edited)
33 minutes ago, Fraying9981 said:

 

Thanks. Actions are activated in AIFF, they are working for open inventory etc.

 

Here is the full papyrus log.

What I tried in this sequence:

- remove clothes

- put clothes back

- remove clothes

- non Minai/standard action: ExchangeItems

 

ExchangeItems is the only one which worked.

For the first three I did see the ExtCmd log on screen but no action in game.

 

LocalTS prompt AI Response url rowid
1738209488 [+] Array ( [0e4a27f1e7163fca542102a5ec023980] => bandit|command|OpenInventory@Dominus ) inputtext|873841254000|308914784|Dominus:ExchangeItems in 3.2473678588867 secs 6352
1738209488 [+] What do you wish to do with these things, my Dominus? inputtext|873841254000|308914784|Dominus:ExchangeItems [AI secs] 1.6416609287262 [TTS secs] 3.2405869960785 6351
1738209474 [+] I hope you don''t expect me to fit all of that in my mouth, Master. funcret|860217082700|308891424|command@CheckInventory@#HERIKA_NPC1#@Steel Battleaxe,,,,,,FNIS Sexy Move Coin,Black Waxed Ring Harness Gag(currently equipped),(currently equipped),Black Waxed Harness Collar(currently equipped),(currently equipped),Whip,Chaurus Pie,Metabolism Enhancer,House cell key,LUX Ribbon High Heels (Black)(currently equipped),LUX Sweet Dreams: Spicy Kissed Stockings (Black 1)(currently equipped),LUX Sweet Dreams: Spicy Kissed Dress (Black 1),Blade Dancer Cuirass CBBE(currently equipped),Blade Dancer Gauntlets CBBE(currently equipped),Deathskin Cuirass CBBE, [AI secs] 1.5914289951324 [TTS secs] 3.1002771854401 6350
1738209471 [+] Array ( [b8d5f13a695edf4a9916fea8dd9e66e4] => bandit|command|CheckInventory@Dominus' inventory ) inputtext|857029004100|308884096|Dominus:Check Inventory
in 3.1049349308014 secs
6349
1738209471 [+] Let me see what you have there, my Dominus. inputtext|857029004100|308884096|Dominus:Check Inventory
[AI secs] 1.9368031024933 [TTS secs] 3.0961759090424
6348
1738209457 [+] Array ( [113b1477a616b9895dc89a5d652904cf] => bandit|command|ExtCmdRemoveClothes@ ) inputtext|843725656100|308853152|Dominus:Remove your cloth.
in 2.2563140392303 secs
6347
1738209457 [+] For you, my Dominus. inputtext|843725656100|308853152|Dominus:Remove your cloth.
[AI secs] 1.3868238925934 [TTS secs] 2.2442851066589
6346
1738209434 [+] Array ( [bd110aa39b5701b4b888862a3f0139d2] => ) inputtext|820615467600|308799488|Dominus:Hug me?
in 2.6825489997864 secs
6345
1738209434 [+] Here''s a hug, my dear master. inputtext|820615467600|308799488|Dominus:Hug me?
[AI secs] 1.5406861305237 [TTS secs] 2.6710939407349
6344
1738209419 [+] Array ( [63c173481fc4f212e3fde729e36d2e04] => bandit|command|ExtCmdPutOnClothes@ ) inputtext|805947020700|308765408|Dominus:Put your clothes back on.
in 2.6988108158112 secs
6343
1738209419 [+] As you command, my Dominus. inputtext|805947020700|308765408|Dominus:Put your clothes back on.
[AI secs] 1.8723480701447 [TTS secs] 2.6915228366852
6342
1738209385 [+] Array ( [113b1477a616b9895dc89a5d652904cf] => bandit|command|ExtCmdRemoveClothes@ ) ginputtext|771825172600|308686208|Dominus:Take off your clothes.
in 2.3606271743774 secs
6341
1738209385 [+] As you wish, my Dominus. ginputtext|771825172600|308686208|Dominus:Take off your clothes.
[AI secs] 1.6586809158325 [TTS secs] 2.3524920940399
6340
1738209132 [+] Array ( [113b1477a616b9895dc89a5d652904cf] => bandit|command|ExtCmdRemoveClothes@ ) ginputtext|508035874400|308802368|Dominus:Take off your clothes.
in 13.138711929321 secs
6339
1738209132 [+] As you command, Master. Your wish is my command. ginputtext|508035874400|308802368|Dominus:Take off your clothes.
[AI secs] 1.9839599132538 [TTS secs] 13.131870985031

 

 

 

20250130 minai papyrus0log.txt 320.04 kB · 0 downloads

Ah, so - The problem appears to be that you're using a very old  version (AIFF) - Sorry, I see how that's confusing. I'll update this thread's name.

 

AIFF is what CHIM used to be called before it rebranded. It stood for the "AI Follower Framework". It's quite out of date, and has been replaced by CHIM. When AIFF rebranded to CHIM, the mod events that it sends (That MinAI uses to execute actions) changed. So, MinAI requires CHIM these days. It's still the same mod, just a different name, and a bunch of updates.

 

I need to update this thread, and will take care of that shortly.

Edited by Min
Posted
13 minutes ago, coronerra said:

@Minwhat LLM are you using to get full functionality of the mods to work? 

I've used a bunch of LLM's for this. My recommended ones are in the FAQ on Github. I'm playing around with Claude Sonnet at the moment, and it's working pretty great after dealing with some censorship issues.

Posted (edited)

@MinI understand you are playing VR, and I have VR, but it makes me motion sick, even with high fps. As such, I'm curious if there is anything like putting a symbol in front of a phrase to indicate you are doing something?

 

Like *  pats head. * Would indicate if I pat their head or gave them a hug or something.

 

I was also wondering if there is a list of commands I can say anywhere? Example if it exists would be to tell someone to open their inventory.

Edited by coronerra
Posted (edited)
5 hours ago, Min said:

Ah, so - The problem appears to be that you're using a very old  version (AIFF) - Sorry, I see how that's confusing. I'll update this thread's name.

 

AIFF is what CHIM used to be called before it rebranded. It stood for the "AI Follower Framework". It's quite out of date, and has been replaced by CHIM. When AIFF rebranded to CHIM, the mod events that it sends (That MinAI uses to execute actions) changed. So, MinAI requires CHIM these days. It's still the same mod, just a different name, and a bunch of updates.

 

I need to update this thread, and will take care of that shortly.

Thanks for checking the log and for your help.

 

Indeed I upgraded CHIM from this page: https://www.nexusmods.com/skyrimspecialedition/mods/126330

And it works now! Finally. Thanks again.

 

I was wondering: how do you focus your voice/instructions on one character? Occasionally I'm facing one character and the one next to them reacts instead. How does the "agro"/targeting for talking work?

Edited by Fraying9981
Posted
2 hours ago, Fraying9981 said:

Thanks for checking the log and for your help.

 

Indeed I upgraded CHIM from this page: https://www.nexusmods.com/skyrimspecialedition/mods/126330

And it works now! Finally. Thanks again.

 

I was wondering: how do you focus your voice/instructions on one character? Occasionally I'm facing one character and the one next to them reacts instead. How does the "agro"/targeting for talking work?

Generally it's either the closest or the one that you're looking at. You can also specifically address a character with "Hey <name>" (This works best with text input since stt can struggle with the spelling of names)

Posted (edited)
20 minutes ago, Min said:

Generally it's either the closest or the one that you're looking at. You can also specifically address a character with "Hey <name>" (This works best with text input since stt can struggle with the spelling of names)

Thanks, got it.

 

How do you/CHIM handles duplicate names, in particular with dynamic update?
For example:

- bandit is activated with the activate key -> profile is created in CHIM

- then if I recall correctly, when you activate another bandit it says: removing instead of activating (because another bandit profile exists, already)

- assuming you don't rename bandit 2, is bandit 2 using bandit 1 main prompt and overwriting bandit 1 dynamic update data? meaning you really need to name every NPC if you want something persistent?

 

 

Also want to report (not an issue with MinAI, but since people are hanging around here also using CHIM): it seems XTTS docker image - to run XTTS on vast.ai doesn't work anymore. I've followed this tutorial on 5+ vast.ai instances (3060 and above), the instances never managed to finish the docker build process, and the customer support's diagnosis is that the docker image is faulty.

So since you have to pay for vast.ai, I will stop there for now and please post if you know a solution/an image that is working (log below)

 

Spoiler

int lane = d3 & 0x1f;
^
detected during instantiation of "void launch_bias_add_transform_0213(T , T , T , const T , const T *, int, int, unsigned int, int, int, int, int, int, nv_bool, nv_bool, cudaStream_t, int, int, float) [with T=__nv_bfloat16]" at line 281

[4/11] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output gelu.cuda.o.d -DTORCH_EXTENSION_NAME=transformer_inference -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -I/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/transformer/inference/includes -I/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/includes -isystem /usr/local/lib/python3.10/dist-packages/torch
[5/11] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output apply_rotary_pos_emb.cuda.o.d -DTORCH_EXTENSION_NAME=transformer_inference -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -I/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/transformer/inference/includes -I/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/includes -isystem /usr/local/lib/python3.10/dis
[6/11] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output pointwise_ops.cuda.o.d -DTORCH_EXTENSION_NAME=transformer_inference -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -I/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/transformer/inference/includes -I/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/includes -isystem /usr/local/lib/python3.10/dist-packa
[7/11] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output rms_norm.cuda.o.d -DTORCH_EXTENSION_NAME=transformer_inference -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -I/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/transformer/inference/includes -I/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/includes -isystem /usr/local/lib/python3.10/dist-packages/t
[8/11] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output softmax.cuda.o.d -DTORCH_EXTENSION_NAME=transformer_inference -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -I/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/transformer/inference/includes -I/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/includes -isystem /usr/local/lib/python3.10/dist-packages/to
[9/11] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output layer_norm.cuda.o.d -DTORCH_EXTENSION_NAME=transformer_inference -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -I/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/transformer/inference/includes -I/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/includes -isystem /usr/local/lib/python3.10/dist-packages
[10/11] c++ -MMD -MF pt_binding.o.d -DTORCH_EXTENSION_NAME=transformer_inference -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -I/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/transformer/inference/includes -I/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/includes -isystem /usr/local/lib/python3.10/dist-packages/torch/include -isystem /usr/local/lib/python3.10/dist-packages/torch/inc
/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/transformer/inference/csrc/pt_binding.cpp: In instantiation of ‘std::vector<at::Tensor> ds_softmax_context(at::Tensor&, at::Tensor&, int, bool, bool, int, int, float, bool, bool, int, bool, unsigned int, unsigned int, at::Tensor&, float) [with T = float]’:
/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/transformer/inference/csrc/pt_binding.cpp:2033:5: required from here
/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/transformer/inference/csrc/pt_binding.cpp:547:50: warning: narrowing conversion of ‘(((size_t)hidden_dim) * (& InferenceContext::Instance())->InferenceContext::GetMaxTokenLength())’ from ‘size_t’ {aka ‘long unsigned int’} to ‘long int’ [-Wnarrowing]
547 | {hidden_dim * InferenceContext::Instance().GetMaxTokenLength(),
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/transformer/inference/csrc/pt_binding.cpp:547:50: warning: narrowing conversion of ‘(((size_t)hidden_dim) * (& InferenceContext::Instance())->InferenceContext::GetMaxTokenLength())’ from ‘size_t’ {aka ‘long unsigned int’} to ‘long int’ [-Wnarrowing]
/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/transformer/inference/csrc/pt_binding.cpp:548:41: warning: narrowing conversion of ‘(((size_t)k) * (& InferenceContext::Instance())->InferenceContext::GetMaxTokenLength())’ from ‘size_t’ {aka ‘long unsigned int’} to ‘long int’ [-Wnarrowing]
548 | k * InferenceContext::Instance().GetMaxTokenLength(),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/transformer/inference/csrc/pt_binding.cpp:548:41: warning: narrowing conversion of ‘(((size_t)k) * (& InferenceContext::Instance())->InferenceContext::GetMaxTokenLength())’ from ‘size_t’ {aka ‘long unsigned int’} to ‘long int’ [-Wnarrowing]
/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/transformer/inference/csrc/pt_binding.cpp:556:38: warning: narrowing conversion of ‘(((size_t)hidden_dim) * (& InferenceContext::Instance())->InferenceContext::GetMaxTokenLength())’ from ‘size_t’ {aka ‘long unsigned int’} to ‘long int’ [-Wnarrowing]
556 | {hidden_dim * InferenceContext::Instance().GetMaxTokenLength(),
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/transformer/inference/csrc/pt_binding.cpp:556:38: warning: narrowing conversion of ‘(((size_t)hidden_dim) * (& InferenceContext::Instance())->InferenceContext::GetMaxTokenLength())’ from ‘size_t’ {aka ‘long unsigned int’} to ‘long int’ [-Wnarrowing]
/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/transformer/inference/csrc/pt_binding.cpp:557:29: warning: narrowing conversion of ‘(((size_t)k) * (& InferenceContext::Instance())->InferenceContext::GetMaxTokenLength())’ from ‘size_t’ {aka ‘long unsigned int’} to ‘long int’ [-Wnarrowing]
557 | k * InferenceContext::Instance().GetMaxTokenLength(),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/transformer/inference/csrc/pt_binding.cpp:557:29: warning: narrowing conversion of ‘(((size_t)k) * (& InferenceContext::Instance())->InferenceContext::GetMaxTokenLength())’ from ‘size_t’ {aka ‘long unsigned int’} to ‘long int’ [-Wnarrowing]
/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/transformer/inference/csrc/pt_binding.cpp: In instantiation of ‘std::vector<at::Tensor> ds_rms_mlp_gemm(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, float, at::Tensor&, at::Tensor&, bool, int, bool) [with T = float]’:
/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/transformer/inference/csrc/pt_binding.cpp:2033:5: required from here
/usr/local/lib/python3.10/dist-packages/deepspeed/ops/csrc/transformer/inference/csrc/pt_binding.cpp:1595:72: [..]

 

https://hubgw.docker.com/layers/augustobeiro/chim-xtts-api-server/latest/images/sha256-f3f47299f2b8c4333212c3776846efdbea1b94f3e1efbdfcd6ec383d4e663c43

 

  

Edited by Fraying9981
Posted (edited)
4 hours ago, Fraying9981 said:

Thanks, got it.

 

How do you/CHIM handles duplicate names, in particular with dynamic update?
For example:

- bandit is activated with the activate key -> profile is created in CHIM

- then if I recall correctly, when you activate another bandit it says: removing instead of activating (because another bandit profile exists, already)

- assuming you don't rename bandit 2, is bandit 2 using bandit 1 main prompt and overwriting bandit 1 dynamic update data? meaning you really need to name every NPC if you want something persistent?

 

 

Also want to report (not an issue with MinAI, but since people are hanging around here also using CHIM): it seems XTTS docker image - to run XTTS on vast.ai doesn't work anymore. I've followed this tutorial on 5+ vast.ai instances (3060 and above), the instances never managed to finish the docker build process, and the customer support's diagnosis is that the docker image is faulty.

So since you have to pay for vast.ai, I will stop there for now and please post if you know a solution/an image that is working (log below)

 

  Reveal hidden contents

 

https://hubgw.docker.com/layers/augustobeiro/chim-xtts-api-server/latest/images/sha256-f3f47299f2b8c4333212c3776846efdbea1b94f3e1efbdfcd6ec383d4e663c43

 

  

 

CHIM/MinAI leverage one of two NPC renamer mods to solve this:

 

https://www.nexusmods.com/skyrimspecialedition/mods/77038

 

or

 

https://www.nexusmods.com/skyrimspecialedition/mods/73081?tab=description

 

The latter requires some configs that I haven't added to the description yet (I just figured this out the other day). Pick either option, and enable the realname support in minai's web config page

 

In NPCsNamesDistributor.ini:


[NameContext]
sCrosshair = display
sCrosshairMinion = display
sSubtitles = display
sDialogue = display
sDialogueHistory = display
sInventory = display
sBarter = display
sEnemyHUD = display
sOther = display


; Options to configure Display Name Format.
[DisplayName]

; An index of one of predefined formats that were introduced in NND 1.
; Possible values are:
; 0: "[name]"
; 1: "[name][break][title]"
; 2: "[name] ([title])"
; 3: "[name] [[title]]"
; 4: "[name], [title]"
; 5: "[name]; [title]"
; 6: "[name]. [title]"
; 7: "[name] [title]"
iFormat = 3

 

Edited by Min
Posted (edited)

Hello, thank you for this amazing mod. I'm a total noob so I have a question or two. Is there a way to make NPCs say something specific (or roughly say it at least)? I know that the * * method doesn't work in the text promp, so how do I go about doing it? Also, one more thing. I 've noticed that NPC's are in character most of the time, but sometimes they would say something like, "Ew I would never do that." Also, how do I modify my character's description and tailor it to my liking? I'm on Mantella btw.

Edited by Ghostseyru160
Posted
21 minutes ago, Ghostseyru160 said:

Hello, thank you for this amazing mod. I'm a total noob so I have a question or two. Is there a way to make NPCs say something specific (or roughly say it at least)? I know that the * * method doesn't work in the text promp, so how do I go about doing it? Also, one more thing. I 've noticed that NPC's are in character most of the time, but sometimes they would say something like, "Ew I would never do that." Also, how do I modify my character's description and tailor it to my liking? I'm on Mantella btw.

Hello! Welcome. A few things: 

1) I've dropped support for Mantella. It still works (Probably?), but I'm not actually maintaining it anymore. It's obsolete, and not really actively developed. I'd recommend CHIM moving forward.

2) Responses like that are going to be dictated by your choice of LLM, and the prompt you're sending it. One or both requires tweaking and editing to make it not prudish.

Posted
1 hour ago, Min said:

 

CHIM/MinAI leverage one of two NPC renamer mods to solve this:

 

https://www.nexusmods.com/skyrimspecialedition/mods/77038

 

or

 

https://www.nexusmods.com/skyrimspecialedition/mods/73081?tab=description

 

The latter requires some configs that I haven't added to the description yet (I just figured this out the other day). Pick either option, and enable the realname support in minai's web config page

 

In NPCsNamesDistributor.ini:


[NameContext]
sCrosshair = display
sCrosshairMinion = display
sSubtitles = display
sDialogue = display
sDialogueHistory = display
sInventory = display
sBarter = display
sEnemyHUD = display
sOther = display


; Options to configure Display Name Format.
[DisplayName]

; An index of one of predefined formats that were introduced in NND 1.
; Possible values are:
; 0: "[name]"
; 1: "[name][break][title]"
; 2: "[name] ([title])"
; 3: "[name] [[title]]"
; 4: "[name], [title]"
; 5: "[name]; [title]"
; 6: "[name]. [title]"
; 7: "[name] [title]"
iFormat = 3

 

 

Thanks! Interesting. I might try it if I have problems later. for now everything is bug free.

 

FYI, Paradise Halls has this name change function too but no idea how different it is. For now I think it properly migrates profile name from in game to CHIM. 

Posted
10 minutes ago, Min said:

Hello! Welcome. A few things: 

1) I've dropped support for Mantella. It still works (Probably?), but I'm not actually maintaining it anymore. It's obsolete, and not really actively developed. I'd recommend CHIM moving forward.

2) Responses like that are going to be dictated by your choice of LLM, and the prompt you're sending it. One or both requires tweaking and editing to make it not prudish.

Thank you very much for the response. I have actually tried to get CHIM but I was told that the free method of getting it is limited in number of prompts, and besides I tried to set it up for hours and never got it to work. I am really, really a noob at all of this. I don't know API, LLM, or any of those words or what they mean. I only settled for Mandela because it was the only one that worked for me. But I did manage to find my way to the Mandela editing webpage and found the Large Language Model section. Could you guide me on what to change here for the least restricted options (free) please? I totally understand if you don't want to delve into Mandela again though so no worries, I'll just try to get CHIM to work.

Posted

Apparently I'm super out of the loop lol. When did AIFF rebrand to CHIM? Last I remember (september... october-ish?) AIFF was getting ready for a big update, but I thought they were just adding a mimic3 alternative lol. Great work on all the updates, I'll be checking this out again very soon!

Posted
9 minutes ago, Ghostseyru160 said:

Thank you very much for the response. I have actually tried to get CHIM but I was told that the free method of getting it is limited in number of prompts, and besides I tried to set it up for hours and never got it to work. I am really, really a noob at all of this. I don't know API, LLM, or any of those words or what they mean. I only settled for Mandela because it was the only one that worked for me. But I did manage to find my way to the Mandela editing webpage and found the Large Language Model section. Could you guide me on what to change here for the least restricted options (free) please? I totally understand if you don't want to delve into Mandela again though so no worries, I'll just try to get CHIM to work.

Neither Mantella nor CHIM are going to work well with only free llm's: Both will hit limits on the number of prompts that can be sent. You can try free LLM's for either, but it's not recommended. If you must avoid paying, you could try hosting an LLM locally (like a 7b or some such) if you have the specs for it. CHIM supports  doing this via koboldcpp. This will require a fairly strong GPU though, and will impact game performance.

 

 

Posted
3 minutes ago, Min said:

Neither Mantella nor CHIM are going to work well with only free llm's: Both will hit limits on the number of prompts that can be sent. You can try free LLM's for either, but it's not recommended. If you must avoid paying, you could try hosting an LLM locally (like a 7b or some such) if you have the specs for it. CHIM supports  doing this via koboldcpp. This will require a fairly strong GPU though, and will impact game performance.

 

 

Alright, thank you for the insight. I honestly haven't had any issues performance wise with Mantela. I'm on a 4070 GPU. I didn't notice a single drop in FPS, so I think I'll just continue with Mantela. The page on the nexus says that there's a limit of 100 requests a day, and that's plenty enough for me. I will just tweak the prompts a little for the NSFW part. In any case, keep up the great work!

Posted
Just now, Ghostseyru160 said:

Alright, thank you for the insight. I honestly haven't had any issues performance wise with Mantela. I'm on a 4070 GPU. I didn't notice a single drop in FPS, so I think I'll just continue with Mantela. The page on the nexus says that there's a limit of 100 requests a day, and that's plenty enough for me. I will just tweak the prompts a little for the NSFW part. In any case, keep up the great work!

 

You misunderstood what I said. :P - Both CHIM and Mantella can use external free LLM's. It's not recommended for either, and won't work well for either. What I suggested was an alternative to using an external LLM if you hit usage limits.

 

Best of luck!

Posted
5 minutes ago, Min said:

 

You misunderstood what I said. :P - Both CHIM and Mantella can use external free LLM's. It's not recommended for either, and won't work well for either. What I suggested was an alternative to using an external LLM if you hit usage limits.

 

Best of luck!

Man, this is way beyond me I swear. The whole thing is just way too complicated 😭😭. In real life, I am fluent in three languages, but this API LLM TTS THIS AND THAT BS... bro I could never understand all of this, I swear  😭 😭. Thanks for the kind responses and the good luck wishes. Best luck to you too my friend and keep on contributing to the great Skyrim modding community!

Posted
3 minutes ago, Ghostseyru160 said:

Man, this is way beyond me I swear. The whole thing is just way too complicated 😭😭. In real life, I am fluent in three languages, but this API LLM TTS THIS AND THAT BS... bro I could never understand all of this, I swear  😭 😭. Thanks for the kind responses and the good luck wishes. Best luck to you too my friend and keep on contributing to the great Skyrim modding community!

If you still want to proceed, check out the tutorial videos on the CHIM page that we put together: 

https://www.nexusmods.com/skyrimspecialedition/mods/126330

 

They do a pretty good job of explaining how all of this works, and how to get things set up.

Posted
1 hour ago, Ghostseyru160 said:

Man, this is way beyond me I swear. The whole thing is just way too complicated 😭😭. In real life, I am fluent in three languages, but this API LLM TTS THIS AND THAT BS... bro I could never understand all of this, I swear  😭 😭. Thanks for the kind responses and the good luck wishes. Best luck to you too my friend and keep on contributing to the great Skyrim modding community!

 

lmao see it as an opportunity: you can learn these things while playing!

Posted (edited)

So, I learned today that you can indeed enter actions unavailable to you by typing * at the beginning of the action sentence and the end. 

 

Example: 

 

*Brushes back of hand tenderly across left cheek*

 

*Jumps up and down with joy*

 

*Farts obscenely loud*

 

*Jaw drops*

 

*In a deep and pissed off voice* What are you doing?

 

The text will not show up in the subtitles except in the last example where it only showed "What are you doing?" This is because the AI recognizes it as an action and the AI activated NPCs in the area or focus of the action will respond accordingly as if you just did it.

 

For my purposes this adds a little humor but I figured I'd share this here because I could see how it could easily assist others here in their roleplaying endeavors.

Edited by coronerra
Posted (edited)

Does anyone know why my player character gets targeted everytime an npc tries to molest someone? It seems like the molest action fails to target the correct character. Even though the command line at the top left states that its going to target the correct npc, my player character gets targeted instead everytime.

Edited by DCD

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...