openai.error.InvalidRequestError: Unrecognized request argument supplied: functions

linchpin 0 Reputation points
2023-09-08T01:14:51.93+00:00

openai.error.InvalidRequestError: Unrecognized request argument supplied: functions

My code was fine before and now I'm getting this error.

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,913 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ramr-msft 17,736 Reputation points
    2023-09-11T03:09:26.5433333+00:00

    @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


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.