codeinterpreter-api
codeinterpreter-api copied to clipboard
Error:Unrecognized request argument supplied: functions
Mycode:
def main():
with CodeInterpreterSession() as session:
response = session.generate_response_sync(
f"Plot the bitcoin chart of 2023 YTD ",
detailed_error = True
)
# prints the text and shows the image
response.show()
Then I get the Error: AI: Error in CodeInterpreterSession: InvalidRequestError - Unrecognized request argument supplied: functions
how to get a llm that supports using functions.
If you are using Azure, then you need to ensure that your deployment uses the "0613" version of the GPT model. Otherwise it will not work. Also ensure that you are in the 2023-07-01preview version of AzureGPT