@Jon Peters Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
.
As per this documentation, the latest GA release api-version is 2024-06-01
.
If you are OK with the preview date, you can use the version 2024-05-01-preview
.
I tested the sample with both these version and it works fine. Please update your application to use any of the above version, preferrably the GA version 2024-06-01
and check if that helps.
.
More info here: https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#api-specs
.
Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.