Earlier quoted context omitted.
As a convenient side effect, GPT-4 is actually quite good at coding in Elixir. I tasked it once to find a bug in an Ecto query and it even improved the query‘s structure. I‘d been worried that, as a small-ish language, Elixir would suffer from bad LLM support, but that’s not the case.
My experience has been the total opposite. It can give simple answers but makes up total nonsense for anything non-trivial. That said, with Ecto I just ask it to give me the SQL query. From there it’s pretty easy to manually write the Ecto equivalent.
3.5 is as you describe. 4 isn't perfect but it's good enough, in my experience.