-
Hi everyone, I need help on this one. I have a similar C# codes that works just fine using the same settings and Managed Identity. Initially I thought MI was the culprit but switching to key does not help either. Here is the entire block. I have applied the trick on using base_url instead of of endpoint from another thread discussing same error. Not doing so results in 404. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hello, @giobb, thanks for reaching out. You'll want to configure your As part of initializing the AzureChatCompletion service, we create the
|
Beta Was this translation helpful? Give feedback.
-
@moonbox3 Thanks for the time and suggestion. Using endpoint (without /openai) with ad_token or api_key but still I get the same issue. Could this be firewall, other network issues? |
Beta Was this translation helpful? Give feedback.
Hello, @giobb, thanks for reaching out.
You'll want to configure your
endpoint
to be:https://certain-ep.openai.azure.com/
(without the/openai/
). Additionally, please use theendpoint
keyword argument, instead of thebase_url
keyword argument. Thebase_url
keyword argument is assuming you're passing in thebase_url
like:https://certain-ep.openai.azure.com/openai/deployments/gpt-4o
.As part of initializing the AzureChatCompletion service, we create the
base_url
from theendpoint
and thechat_deployment_name
such as:https://certain-ep.openai.azure.com/openai/deployments/gpt-4o