@linchpin Thanks for the question, Can you please share the error details that you are getting. We are able to run successful, Here is the sample to use functions to extend the current capabilities of GPT Models.
https://github.com/Azure-Samples/openai/tree/main/Basic_Samples/Functions