joselcaguilar / azure-openai-ha

Azure OpenAI Conversation for Home Assistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Home assistant shows "Unexpected error" after I input my azure openai key

genoprdes opened this issue · comments

This is great integration, and it's what exact I want! But I am facing "Unexpected error" after I input my azure openai key.

My HA version:
Core 2024.4.2
Supervisor 2024.04.0
Operating System 12.1

And when I install this Integration, I input the information according the example as below:

image

It immediately shows Unexpected error, and I don't know what's wrong? I do not sure about the "API version", so just copy from the example, is this the problem?

commented

same here

same here +1
Has anyone been able to run this integration ?

+1 here. hope to get fixed or having Azure OAI supported.

Same for me on 2024.6.4

Looking at the logs it seems this integration needs to be updated to use this now.

You tried to access openai.Model, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.

Same here on 2024.6.4