4 ms·
As long as you can sanitize the LLM output somehow. You should never `eval` LLM code straight from the tap!
by el_nahual 3y ago
As long as you can sanitize the LLM output somehow. You should never `eval` LLM code straight from the tap!
- dns_snek 3y agoYou shouldn't sanitize, if you're taking the approach described above, you should run it inside a minimal interpreter that doesn't implement any potentially dangerous APIs.