Closed adashen closed 10 months ago
Hi @adashen, could you verify that the deployment name 'gpt-3.5-turbo' is being used? Your step 1 does not have the '.'
Hi @adashen, could you verify that the deployment name 'gpt-3.5-turbo' is being used? Your step 1 does not have the '.'
The model name in Azure Open AI is "gpt-35-turbo". The model name is OK. But the problem is in SDK when using Azure Open AI, the "deployment name" is used to connect to the model, not the model name. So if the deployment name is not prefix with "gpt-", it will cause problem. And my workaround is to have a new deployment name "gpt-35-turbo" for the model.
In the above image, there are two deployments for model "gpt-35-turbo". However the "testgpt" deployment cannot work. I can only use "gpt-35-urbo" deployment.
Hi @adashen, thanks for the clarification, that helped me a lot :)
You're right, it looks like deployment name is asked for in order to set up the API calls, but I don't think we can avoid having the user provide model name in order to properly determine chat or text completion. I'm bringing this up for discussion with my team and we'll get working on a fix asap!
As noted above, for now the workaround for this is to give the Azure OpenAI deployment a name that starts with gpt
if you are using a gpt model (chat completion).
Just ran into this issue.
Currently the type of request is determined by the model name.
This is fine for OpenAI, but when using Azure OpenAI Service, the deployment name is used instead of the model name, which can be any value.
We already have a type
property defined in config.json
and in many samples this is set to completion
.
It would be nice to be able to change the type
property to chat
to determine the request made by the SDK rather than relying on the model name set in the planner.
@adashen For now you should rename the AOAI model to start with gpt-
for it to work. I have kickstarted the process to make the right changes here: https://github.com/microsoft/teams-ai/issues/491.
@garrytrinder text completion api don't support gpt-
models and chat completion api don't support text-
models. With your proposal it's possible to configure an api to the wrong model, which should be avoided.
Feel free to add your thoughts to the feature request to fix this issue: https://github.com/microsoft/teams-ai/issues/491.
AI behavior has undergone a major update and includes a fix for this scenario. #721
Please note: any submissions with insufficient reproducible information will be marked as 'Waiting for customer input' and may be closed is there is no response
Describe the bug
To Reproduce
Expected behavior
=========== Admins area: