Skip to content

Commit 5dc8a85

Browse files
authored
Update Azure OpenAI genai docs (#20549)
* Update azure openai genai docs * tweak url
1 parent 0302db1 commit 5dc8a85

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/docs/configuration/genai.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ OpenAI does not have a free tier for their API. With the release of gpt-4o, pric
111111

112112
### Supported Models
113113

114-
You must use a vision capable model with Frigate. Current model variants can be found [in their documentation](https://platform.openai.com/docs/models). At the time of writing, this includes `gpt-4o` and `gpt-4-turbo`.
114+
You must use a vision capable model with Frigate. Current model variants can be found [in their documentation](https://platform.openai.com/docs/models).
115115

116116
### Get API Key
117117

@@ -139,19 +139,20 @@ Microsoft offers several vision models through Azure OpenAI. A subscription is r
139139

140140
### Supported Models
141141

142-
You must use a vision capable model with Frigate. Current model variants can be found [in their documentation](https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models). At the time of writing, this includes `gpt-4o` and `gpt-4-turbo`.
142+
You must use a vision capable model with Frigate. Current model variants can be found [in their documentation](https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models).
143143

144144
### Create Resource and Get API Key
145145

146-
To start using Azure OpenAI, you must first [create a resource](https://learn.microsoft.com/azure/cognitive-services/openai/how-to/create-resource?pivots=web-portal#create-a-resource). You'll need your API key and resource URL, which must include the `api-version` parameter (see the example below). The model field is not required in your configuration as the model is part of the deployment name you chose when deploying the resource.
146+
To start using Azure OpenAI, you must first [create a resource](https://learn.microsoft.com/azure/cognitive-services/openai/how-to/create-resource?pivots=web-portal#create-a-resource). You'll need your API key, model name, and resource URL, which must include the `api-version` parameter (see the example below).
147147

148148
### Configuration
149149

150150
```yaml
151151
genai:
152152
enabled: True
153153
provider: azure_openai
154-
base_url: https://example-endpoint.openai.azure.com/openai/deployments/gpt-4o/chat/completions?api-version=2023-03-15-preview
154+
base_url: https://instance.cognitiveservices.azure.com/openai/responses?api-version=2025-04-01-preview
155+
model: gpt-5-mini
155156
api_key: "{FRIGATE_OPENAI_API_KEY}"
156157
```
157158

0 commit comments

Comments
 (0)