Unable to use function calling in deployed models in the Azure OpenAI portal.

Mohd Mushahid 0 Reputation points
2023-09-01T10:28:57.1866667+00:00

We have GPT-35-Turbo as well as GPT-432k Model deployed in my Azure OpenAI Environment. But I am unable to use function calling service from these models. Error I am receiving when trying to use functions is ""Unrecognized request argument supplied: functions"". We have another Environment where GPT-35-turbo-0613 new version of GPT-35-Turbo is deployed, but again the same issue also occurred for that model. Please kindly provide you support on this.

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,052 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,837 questions
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 45,961 Reputation points Microsoft Employee
    2023-09-01T14:09:27.0133333+00:00

    @Mohd Mushahid Please see this SO thread with similar issue. As per the verified answer on SO thread:

    Function support with the Azure API was added in 2023-07-01-preview, use:
    openai.api_version = "2023-07-01-preview"

    If you have a similar case, please try and check if it works. If you are still seeing an issue, please add additional details on how you are calling the Model endpoint along with other details like version of SDK, platform etc. Thanks!!

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.