In my case, one chat repeatedly tries to generate images despite me never using this feature, so I'd like to stop messages if is encountered.
In my case, one chat repeatedly tries to generate images despite me never using this feature, so I'd like to stop messages if is encountered.
3 Comments
edwardthefma99@lemmy.world · 1 pts · 1y
i don't know about image generation but you can use this to stop on a word link me your gen i want to see it in action
if (output.includes(stopWord)) { output = "The conversation has ended."; }Spiritwhisker@lemmy.world · 1 pts · 1y
Just check to make sure there is no "image" feature in the code of the chatbot.
Spiritwhisker@lemmy.world · 1 pts · 1y
Also, it's Artificial Intelligence. You sure can code an AI to review your text every time, and if it detects , force quit responding. However, that would cause major lag, and I have no idea how to code like that.