ChatGPT is unbelievable. But... It doesn't generate nearly as good code for less popular languages as it does for "mainstream" ones - JS, Go, etc. It takes 5-10 "this is not a valid Elixir code" prompts to (not always) come up with a more or less acceptable solution.