Repository navigation
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". |
Answered by
moonbox3
Nov 5, 2024
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? |
0 replies
|
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>
|
1 reply
|
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>
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for your response. The
endpointshould be configured like:AZURE_OPENAI_ENDPOINT="https://<your_resource>.openai.azure.com/"The proper url will be built up using the
endpointalong with yourdeployment_nameand theapi-version.