Got "Connection error" by AzureOpenAI Chat Completions on Azure Kubernetes services, can anyone advise?
Ying, Jun
0
Reputation points
When I try to test the below Chat Completions codes, I got "Connection error".
https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/managed-identity
response = client.chat.completions.create( model="gpt-35-turbo-0125", # model = "deployment_name". messages=[ {"role": "system", "content": "You are a helpful assistant."}, {"role": "user", "content": "Does Azure OpenAI support customer managed keys?"}, {"role": "assistant", "content": "Yes, customer managed keys are supported by Azure OpenAI."}, {"role": "user", "content": "Do other Azure AI services support this too?"} ] )
Sign in to answer