Ask HN: Is it safe to pass user input to Ollama? any way to sanitize it?
2•logicallee•42m ago
I'd like to give user queries to ollama running a small model, but ollama does have a complex tokenization pipeline. Most software that processes user input has turned out to have flaws over the years, is there anything I can do to sanitize users' input before I pass it on to ollama, or anything else I can do to avoid this? Or, can I consider ollama's parsing itself to be immune to errors from malformed user input?