File tree 2 files changed +2
-2
lines changed
custom_components/extended_openai_conversation
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Since "gpt-3.5-turbo" model already knows how to call service of Home Assistant
22
22
4 . In the bottom right corner, select the Add Integration button.
23
23
5 . Follow the instructions on screen to complete the setup (API Key is required).
24
24
- [ Generating an API Key] ( https://www.home-assistant.io/integrations/openai_conversation/#generate-an-api-key )
25
- - Specify "Base Url" if using OpenAI compatible servers like LocalAI, otherwise leave as it is.
25
+ - Specify "Base Url" if using OpenAI compatible servers like Azure OpenAI (also with APIM), LocalAI, otherwise leave as it is.
26
26
6 . Go to Settings > [ Voice Assistants] ( https://my.home-assistant.io/redirect/voice_assistants/ ) .
27
27
7 . Click to edit Assistant (named "Home Assistant" by default).
28
28
8 . Select "Extended OpenAI Conversation" from "Conversation agent" tab.
Original file line number Diff line number Diff line change 57
57
_LOGGER = logging .getLogger (__name__ )
58
58
59
59
60
- AZURE_DOMAIN_PATTERN = r"\.openai\.azure\.com"
60
+ AZURE_DOMAIN_PATTERN = r"\.( openai\.azure\.com|azure-api\.net) "
61
61
62
62
63
63
def get_function_executor (value : str ):
You can’t perform that action at this time.
0 commit comments