you are viewing a single comment's thread
view the rest of the comments
[–] -1 points 6 hours ago (1 child)

You can sanitize your input if it is first entered on a file.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 3 hours ago

    You can try to sanitize your input in any way of accessing it, e.g. a stream or pipe or shared memory just as easily as a file. You can't deterministically sanitize input for AI at all though, since there can always be some combinations of words that get it to do something wrong. You can try limit the ability of your AI program to only trigger safe things... But if it can e.g. search the internet you can always poison what it sees, and so on. There's not really a way to make it behave well without removing the (alleged) benefits it has over just having a deterministic program.

  • source
  • parent