Hacker News new | ask | show | jobs
by sanxiyn 1101 days ago
Not this, but using the token selection restriction approach, you can let LLM produce output that conforms to arbitrary formal grammar completely reliably. JavaScript, Python, whatever.