joselcaguilar / azure-openai-ha

Azure OpenAI Conversation for Home Assistant
MIT License
43 stars 6 forks source link

Where to get the API key? #59

Open djvj1 opened 1 year ago

djvj1 commented 1 year ago

Not exactly an issue with the addon, but this requirement is very vague:

Type your API Key, API Base and API Version used following the example below and hit submit: API Key: 1234567890abcdef1234567890abcdef API Base: https://iotlabopenai.openai.azure.com/ API Version: 2023-03-15-preview

After visiting the azure site, there seems to be so many choices on where exactly you need to go to get the key for this app. Can ya at least give a few steps or a guide somewhere to get this?

efahrenholz commented 1 year ago

Not exactly an issue with the addon, but this requirement is very vague:

Type your API Key, API Base and API Version used following the example below and hit submit: API Key: 1234567890abcdef1234567890abcdef API Base: https://iotlabopenai.openai.azure.com/ API Version: 2023-03-15-preview

After visiting the azure site, there seems to be so many choices on where exactly you need to go to get the key for this app. Can ya at least give a few steps or a guide somewhere to get this?

I wouldn't bother. I created a free plan with Azure cloud services and search for OpenAI and found "Azure OpenAI", created a new resource and it specifically tells you that it's not open to private individuals. You have to request access and personal email will not work. Basically, this is currently locked behind a paywall for business use right now.