GPT 3.5 is calling functions that are not defined

When I ask it to do something that is not defined as a function, gpt 3.5 is calling a function without a name.

We saw this happen once during development so we added some instructions to the prompt to specifically not do this.

In production it happened a few times. So we wrote application code that retries the same request but with a system message explaining that it shouldn’t do that.