Chat Playground is success , but when called from HTTP Request, got error error_code=OperationNotSupported error_message='The chatCompletion operation does not work with the specified model"

Anonymous
2023-11-14T05:27:31.5266667+00:00

I have a chat play ground on Azure Open Ai Studio, using my own data that retrieved from BlobStorage.

I can do the retrieval from Play Ground,

User's image

and then i called it from browser, using code that i have same as the example :

User's image

the model i use already gpt-turbo-16k

User's image

But when i called from http , i got error :

error_code=OperationNotSupported error_message='The chatCompletion operation does not work with the specified model, . Please choose different model and try again. You can learn more about which models can be used with each operation here: https://go.microsoft.com/fwlink/?linkid=2197993.' error_param=None error_type=None message='OpenAI API error received' stream_error=False

I have try to change the model to 16 k, and it's not working on both playground and httprequest, and also i try to change the api version as well, but it doesnt work on HTTP request, but still works on Chat Play Ground.

Please help ...

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

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.