• Hi Guest!

    Please be aware that we have released another critical security patch for VaM. We strongly recommend updating to version 1.22.0.10 using the VaM_Updater found in your installation folder.

    Details about the security patch can be found here.
koboldlink

Plugins + Scripts koboldlink

Thank you very much for continuing to test this! If you notice any glitches or errors, please let me know about them as well.
I hope that I will be able to work on improving this plugin again soon.
If you dont mind I would write a longer post later. Overall it works well, and I just love this brilliantly lightweight approach to AI connection. I hoped that an earlier plugin called impostor would turn to be something like this, but sadly that was axed.. So there are only thoose bulky overcomplicated bloaty options aside from this. So in short its a godsend. Please keep it up! This is the way. :)

I have some scenarios which I would like to test first to see if works or not, then understand what could be the problem and what would teoretically fix easiest.
 
I worked a few days getting XTTS and getting SPQR to work properly. I still have some problems but it's working at a lot better state. I don't have a ton of exposure to python and that was primarily what I got stuck on. I like the plugin a lot but I was disappointed it didn't take the XTTS speakers I put together and improved. My usage was to give myself as much control of my content as possible and this plugin helps a lot. The issue I left off on is the wav file does not play when and I get an error message.
 
If you dont mind I would write a longer post later. Overall it works well, and I just love this brilliantly lightweight approach to AI connection. I hoped that an earlier plugin called impostor would turn to be something like this, but sadly that was axed.. So there are only thoose bulky overcomplicated bloaty options aside from this. So in short its a godsend. Please keep it up! This is the way. :)

I have some scenarios which I would like to test first to see if works or not, then understand what could be the problem and what would teoretically fix easiest.
I agree. I also started making this plugin because I just wanted to connect Kobold to VaM without any additional complications.
 
I worked a few days getting XTTS and getting SPQR to work properly. I still have some problems but it's working at a lot better state. I don't have a ton of exposure to python and that was primarily what I got stuck on. I like the plugin a lot but I was disappointed it didn't take the XTTS speakers I put together and improved. My usage was to give myself as much control of my content as possible and this plugin helps a lot. The issue I left off on is the wav file does not play when and I get an error message.
Can you please show the error log so that I can understand when it occurs and how to fix it?

I also started to break down the python code of the SPQR tool to add the functionality that I wanted, but I haven’t managed to finish it yet.
 
Can you please show the error log so that I can understand when it occurs and how to fix it?

I also started to break down the python code of the SPQR tool to add the functionality that I wanted, but I haven’t managed to finish it yet.
Sure!
VAMx Output
===============================
Error during mp3/wav import Could not open: file://./TextAudioTool-0.4/SPQR.TextAudioTool/files/tts_output.wav

SPQR output
=========================
Received text to speak ...
127.0.0.1 - - [25/Jan/2025 07:29:30] "POST /speak HTTP/1.1" 200 -

Kobold AI Output
====================
Processing Prompt [BLAS] (244 / 244 tokens)
Generating (25 / 100 tokens)
(EOS token triggered! ID:2)
[07:29:30] CtxLimit:270/2048, Amt:25/100, Init:0.02s, Process:103.75s (425.2ms/T = 2.35T/s), Generate:14.76s (590.4ms/T = 1.69T/s), Total:118.52s (0.21T/s)



XTTS (might be outside of the scope of what you are doing but I still will mention that XTTS didn't log anything for this attempt. I really hope I can get it to work with this though because this is remarkably close to me having control over everything.)
=================
no output

VAMx Message
===============================
KoboldLink preferences loaded
Atom type: Person
Audiofile path:TextAudioTool-0.4/SPQR.TextAudioTool/files/tts_output.wav
{"max_context_length": 2048, "max_length": 100,"memory":"You are in a never ending roleplay and play a role of the Sasha character. You are in a dialogue with Dink. Below is the description of the Sasha character. \n\nSasha is a woman \n\n[Author's note: Keep the roleplay. Your response must contain only the Sasha's short chat-style answer (one or two sentences) to Dink and nothing else. Don't use any emoji.]\n\n", "prompt":"\n### Instruction:\nHey, how are you feeling?\n### Response:\n", "quiet":"true", "stop_sequence":["### Instruction:", "### Response:"], "rep_pen": 1.1, "rep_pen_range": 256, "rep_pen_slope": 1, "temperature": 0.5, "tfs": 1, "top_a": 0, "top_k": 100, "top_p": 0.9, "typical": 1}
Kobold Processing succeeded
Response_: {"results": [{"text": "I'm always ok with you Dink!", "finish_reason": "stop", "logprobs": null, "prompt_tokens": 245, "completion_tokens": 23}]}
prompt17: \n### Instruction:\nHey, how are you feeling?\n### Response:\nI'm always ok with you Dink!
pathh: Custom\PluginData\koboldlink\files\chat_history.txt
I'm always ok with you Dink!
{"message":"I'm always ok with you Dink!","voice":"Microsoft Zira Desktop - English (United States)","output":"files/tts_output.wav"}
TTS Processing succeeded
Response: {"status": "done", "saved": "files/tts_output.wav"}
path1: TextAudioTool-0.4/SPQR.TextAudioTool/files/tts_output.wav
path: TextAudioTool-0.4/SPQR.TextAudioTool/files/tts_output.wav
Audio Loading seccesful
Audio Timer succesful
TimerCallback1
Playing Audio

I may have to reinstall something. I haven't looked into it since getting this far.
 
For spqr textaudio with coqui just use this: https://github.com/marcoseduardopm/TextAudioTool_Coqui-ai_TTS

Delete the existing files, download from the link and start as usual, it will set you up coqui too with nice voices in folder. Leave model tiny, as that is the fastest.
You will need 2-3x restart the app tough.
Also do not forget to correct the folder access in kobold config. I had to, because it wanted to look for the output audio file in the wrong place. I assume you might have some similar issue.

I do not know what the exact windows dependencies, since I tried to setup alltalk before and made the prerequisites for that. Also I have an rtx card now, but as I understood that should work on cpu as well by default.
 
For spqr textaudio with coqui just use this: https://github.com/marcoseduardopm/TextAudioTool_Coqui-ai_TTS

Delete the existing files, download from the link and start as usual, it will set you up coqui too with nice voices in folder. Leave model tiny, as that is the fastest.
You will need 2-3x restart the app tough.
Also do not forget to correct the folder access in kobold config. I had to, because it wanted to look for the output audio file in the wrong place. I assume you might have some similar issue.

I do not know what the exact windows dependencies, since I tried to setup alltalk before and made the prerequisites for that. Also I have an rtx card now, but as I understood that should work on cpu as well by default.
Worth a shot. I'll let you know how it goes.
 
Back
Top Bottom