The community member is trying to use Azure AI with OpenAI, but is having trouble as the code is still trying to connect to the OpenAI service instead of the Azure service. They have set llm=AzureOpenAI(...) but it is still not working. The comments suggest that the community member may need to configure an embedding model in addition to the language model. However, there is no explicitly marked answer in the comments.
Hello. I am trying to develop on Azure AI with OpenAI. I have the endpoints and generic setup working. When I try to use AzureAI with llama_index.core it still tries to do directly to an OpenAI service, not the service we have in Azure. I am following along with "Workflows for Advanced Text-2-SQL" and have changed this to llm=AzureOpenAI(...) yet it still wants to go to OpenAI. What am I missing?