Find answers from the community

Updated 2 months ago

I am getting this issue while trying to

I am getting this issue while trying to using Azure openAi services with llama index
Attachments
image.png
image.png
v
d
W
7 comments
@Logan M can you help me out ?
could you share how you setup azure_endpoint ?
I think AzureOpenAIEmbedding does not have correct parameters.

Could you cross check with the feilds mentioned here: https://docs.llamaindex.ai/en/stable/examples/customization/llms/AzureOpenAI.html#azure-openai

You have set your key in openai_api_key where it should be api_key

https://github.com/run-llama/llama_index/blob/06b0e390fe1d2fab7c41ff63f6505810c15f8684/llama_index/embeddings/azure_openai.py#L29
Could you check on the parameters you are passing as well
@WhiteFang_Jr yes you was right i was sending the wrong feilds, just corrected them and trying again
@disiok @WhiteFang_Jr now its working
Add a reply
Sign up and join the conversation on Discord