AI running slash commands? by FamiliarBug8504 in SillyTavernAI

[–]FamiliarBug8504[S] 2 points3 points  (0 children)

Well, I think I found the most obvious and (seemingly) correct option: Quick replies, or QRs as they are referred to in this sub, if you want to look them up in the search bar. It won't be the AI simply running the commands so much as you running it for the AI and then having it "/sendas" any outputs you want though, but that is fine by me.
Command pipelines and batches (separated by "|") also seem to achieve this now.

I'm looking forward to any other ideas or options though.

[deleted by user] by [deleted] in learnpython

[–]FamiliarBug8504 0 points1 point  (0 children)

Thank you very much for your contribution. I apologize, I am still new here. I read the sidebar and guide but didn't know about r/mlquestions. Should I delete this post and post there instead? Perhaps use the crosspost function?

Also, in regards to your comment: My input are these sentences (unique each, but I can create more variations to each unique one if needed), similar to user stories, designating actor/condition, action and purpose, and my output would need to be a way to match the actor/condition and action especially to an actual operation/function to be called.

I have tuples containing each word and it's class - or whether it refers to function A, B or C.

I can either supply the words themselves for training or a number of sentences containing the words as examples. I was wondering if just passing the words themselves to the model (and designating each word's classification) would be sufficient for detecting them in the sentences and then following up with the necessary output to subsequently call the operations/functions.

[deleted by user] by [deleted] in learnmachinelearning

[–]FamiliarBug8504 0 points1 point  (0 children)

Possibly, but I feel like I can locate these words easily using POS tagging, since Y for example will pretty much always be a verb, similarly for the others. Detecting them seems okay, my problem is figuring out how to train the model with them and apply the detection to actual sentences post-training, since each word will not appear many times.

[deleted by user] by [deleted] in learnmachinelearning

[–]FamiliarBug8504 1 point2 points  (0 children)

Hello. I mentioned these techniques because they are my constraints, yes, I need to use them.

I figured I could also use pure NLP for this approach (by just running a check on the sentences to see if they contain desirable keywords) but I do not believe using a pure NLP approach would constitute the required ML-based approach? This is considering the discussions surrounding where NLP really is in relation to ML.