Error as "Unsupported data type" in getting_started_with_agents/step7_assistant.py from Github repo #9544
-
I am trying Python samples from getting_started_with_agents/step7_assistant.py. I have updated some code. I am getting an error as "Unsupported data type". |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
@rakshahulle, similar to the error that you resolved yesterday, can you please check your deployment name, your endpoint, and your API version? We're using the Azure OpenAI Assistant V2 API and it requires a certain model/deployment/API Version. For the API version, can you configure your Which model/deployment are you using as part of Azure OpenAI? |
Beta Was this translation helpful? Give feedback.
-
I am using GPT 4o mini.
deployment_name="gpt-4o-mini",
endpoint="https://openaisk123.openai.azure.com/openai/deplo*yments/gpt*
-4o-mini/chat/completions?api-version=2024-08-01-preview",
…On Tue, Nov 5, 2024 at 9:54 PM Evan Mattson ***@***.***> wrote:
@rakshahulle <https://github.com/rakshahulle>, similar to the error that
you resolved yesterday, can you please check your deployment name, your
endpoint, and your API version? We're using the Azure OpenAI Assistant V2
API and it requires a certain model/deployment/API Version.
For the API version, can you configure your AZURE_OPENAI_API_VERSION as
2024-10-21 which is the latest GA API VERSION?
https://learn.microsoft.com/en-us/azure/ai-services/openai/api-version-deprecation
Which model/deployment are you using as part of Azure OpenAI?
—
Reply to this email directly, view it on GitHub
<#9544 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXCZPRI6I2G5KWWA6O5XKSLZ7DWMFAVCNFSM6AAAAABRGXS672VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJVG4YDMNY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Thank you so much. It worked
…On Tue, Nov 5, 2024 at 10:16 PM Evan Mattson ***@***.***> wrote:
Thanks for your response. The endpoint should be configured like:
AZURE_OPENAI_ENDPOINT="https://<your_resource>.openai.azure.com/"
The proper url will be built up using the endpoint along with your
deployment_name and the api-version.
—
Reply to this email directly, view it on GitHub
<#9544 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXCZPRLIMTGUETOVY2B5WDTZ7DY55AVCNFSM6AAAAABRGXS672VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJVG4ZTCMY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
Thanks for your response. The
endpoint
should be configured like:AZURE_OPENAI_ENDPOINT="https://<your_resource>.openai.azure.com/"
The proper url will be built up using the
endpoint
along with yourdeployment_name
and theapi-version
.