Carlo Folini

Results 10 comments of Carlo Folini

Hi Jekal, it worked!!! I use home assistant from internet (using ngrok) so I use rest. To get all the entities I tried with postman using {{base_url}}/states Is it correct...

(A)I wrote a similar custom component to address some issues and log infos for troubleshooting. Check it out on https://github.com/FoliniC/azure_openai_sdk_conversation

Did you tried my component? I'm interested in feedback... Carlo Folini ***@***.*** Il gio 9 ott 2025, 00:28 Lucas ***@***.***> ha scritto: > *Keyruu* left a comment (joselcaguilar/azure-openai-ha#99) > >...

I didn't had problems with authentication. Maybe I should put another screenshot on docs on how to get endpoint and key. The endpoint you see on readme it's similar to...

Just to add my 2 cents.... To the base url it's added "/chat/completions" So I tried to insert "https://YourName-somedata-eastus2.cognitiveservices.azure.com/openai/deployments/gpt-4o" Too bad that it dind't add the "?api-version=2024-08-01-preview" at the end...

yes! https://myname-code-eastus2.cognitiveservices.azure.com/openai/deployments/gpt-4o/chat/completions?api-version=2024-08-01-preview&--//chat/completions "401 Unauthorized" I workarounded the url adding &--// at the end to "remove" the wrong part. Don't know if this could be the problem ! I use extended...

My fault!!!! It works... Using your python script with data taken from https://ai.azure.com/resource/playground?wsid=/subscriptions/ Using "View code" (red arrovw) ![Image](https://github.com/user-attachments/assets/59623d5a-ab02-4a67-a307-4a0afd147897) There select tab "Key authentication" (red arrow) then api_key="", azure_endpoint="https://myname-code-eastus2.openai.azure.com/", api_version=""...

ok, no interface to modify... doing some trials a faster way, at my own risk and peril, I can modify modify entry.data in the JSON file .storage/core.config_entries :D

> After lots of trial and error I finally managed to get this addon running, (A)I wrote a similar custom component to address some issues and log infos for troubleshooting....

> GitHub Models offers any account free requests to some Azure OpenAI models. > I wonder if it's because the base URL contains a `/subpath`. (A)I wrote a similar custom...