Functions are not supported at this time.
ashakiro
5
Reputation points
response = openai.ChatCompletion.create(
engine="turbo16k",
messages=[{"role": "user", "content": "hi"}],
deployment_id=deployment_id,
functions=functions,
dataSources=[
{
"type": "AzureCognitiveSearch",
"parameters": {
"endpoint": search_endpoint,
"key": search_key,
"indexName": search_index_name,
"inScope": False,
}
}
],
stream=True,
)
print(response)
This code produces error: openai.error.InvalidRequestError: Functions are not supported at this time.
I've tried: gpt-35-turbo-16k and gpt-35-turbo models.
Also i have tried to delete dataSources.
According to microsoft guide everything should work, but Functions are not supported at this time. How to solve it?
Sign in to answer