Multiple function detection in the GPT API

I answered almost exactly this question just a few days ago.
Is this a school assignment or something?
No, wait … I answered it for you.

The answer is still the same. ChatGPT can only call one function at a time.
If you look at the API, there is literally no way it could call more than one function in a single invocation. There’s no space to return them.

In the previous answer, I described exactly how you could use chain of thought prompting to implement exactly what you’re suggesting.

2 Likes