logoalt Hacker News

calgootoday at 8:51 AM1 replyview on HN

The only issue have faced with generating Lisp/scheme code, especially on small models, is that it always misses some closing parenthesis. However, because the small core language, you can use structured output in the LLMs that support it and it works quite well.


Replies

regularfrytoday at 9:27 AM

I found that explicit instructions to keep nesting depth below a limit helps limit the damage. That limit was 5 in my case, which can be inconveniently tight in some situations.

show 1 reply