You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Note:** The `customDomainName` parameter is not a full domain URL. It's a unique subdomain prefix
64
+
> that Azure will use to create your OpenAI endpoint. For example, if you set `customDomainName` to
65
+
> `mycompany-openai`, your endpoint will be `https://mycompany-openai.openai.azure.com/`. This name
66
+
> must be globally unique across all Azure OpenAI services.
67
+
63
68
The above is defaulted to use your resource groups location as the location for the account and
64
-
`gpt-4` version `turbo-2024-04-09`. You can modify this based on the particular model you feel best
69
+
`gpt-4o` version `2024-11-20`. You can modify this based on the particular model you feel best
65
70
fits your needs. You can find more information on available models at
66
71
[Azure OpenAI Service models][03]. Additionally, you may need to modify the capacity of the
67
72
deployment based on what model you use, you can find more information at
@@ -78,9 +83,9 @@ instance! Simply use either Azure CLI or Azure PowerShell to deploy the bicep fi
78
83
az deployment group create --resource-group <resource group name> --template-file ./main.bicep
79
84
80
85
// Get the endpoint and key of the deployment
81
-
az cognitiveservices account show --name <account name> --resource-group <resource group name>| jq -r .properties.endpoint
86
+
az cognitiveservices account show --name <account name> --resource-group <resource group name>--query "properties.endpoint" -o tsv
82
87
83
-
az cognitiveservices account keys list --name <account name> --resource-group <resource group name>| jq -r .key1
88
+
az cognitiveservices account keys list --name <account name> --resource-group <resource group name>--query "key1" -o tsv
84
89
```
85
90
86
91
#### Using Azure PowerShell
@@ -105,18 +110,18 @@ example below shows the default system prompt and the fields that need to be upd
105
110
// Declare GPT instances.
106
111
"GPTs": [
107
112
{
108
-
"Name":"ps-az-gpt4",
113
+
"Name":"ps-az-gpt4o",
109
114
"Description":"<insert description here>",
110
115
"Endpoint":"<insert endpoint here>",
111
116
"Deployment":"<insert deployment name here>",
112
-
"ModelName":"gpt-4",
117
+
"ModelName":"gpt-4o",
113
118
"Key":"<insert key here>",
114
119
"SystemPrompt":"1. You are a helpful and friendly assistant with expertise in PowerShell scripting and command line.\n2. Assume user is using the operating system `osx` unless otherwise specified.\n3. Use the `code block` syntax in markdown to encapsulate any part in responses that is code, YAML, JSON or XML, but not table.\n4. When encapsulating command line code, use '```powershell' if it's PowerShell command; use '```sh' if it's non-PowerShell CLI command.\n5. When generating CLI commands, never ever break a command into multiple lines. Instead, always list all parameters and arguments of the command on the same line.\n6. Please keep the response concise but to the point. Do not overexplain."
115
120
}
116
121
],
117
122
// Specify the default GPT instance to use for user query.
0 commit comments