@Mark Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
.
Please update your code to use the api_version="2024-10-01-preview"
. This should resolve the issue.
client = AzureOpenAI( api_key=os.getenv("AZURE_OPENAI_KEY"),
api_version="2024-10-01-preview",
azure_endpoint=os.getenv("AZURE_OPENAI_ENDPOINT") )
.
Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.
**
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.