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
Copy file name to clipboardExpand all lines: articles/azure-app-configuration/howto-chat-completion-config.md
+6-26Lines changed: 6 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,46 +99,26 @@ In this section, you will create a chat completion configuration in Azure Portal
99
99
| Select a model | gpt-4o |
100
100
| Deployment name | gpt-4o |
101
101
102
-
1. In your Azure OpenAI resource, from the **Resource Management** menu, select **Keys and Endpoint**section and copy your Azure OpenAI resource endpoint. It should follow the format: `https://<open-ai-resource-name>.openai.azure.com`.
102
+
1. In your Azure OpenAI resource, from the **Resource Management** menu, select **Keys and Endpoint** and copy your Azure OpenAI resource endpoint. It should follow the format: `https://<open-ai-resource-name>.openai.azure.com`.
1. Navigate to your App Configuration store and add the following key-value. Leave **Label** and **Content Type** with their default values. For more information about how to add key-values to a store using the Azure portal or the CLI, go to [Create a key-value](./quickstart-azure-app-configuration-create.md#create-a-key-value).
|_ChatLLM:Endpoint_|_Paste the model endpoint you copied in the previous step_|
111
-
112
-
> [!TIP]
113
-
> To store your model API key securely, consider storing it as a Key Vault reference.
114
-
> - In your Azure OpenAI resource, go to the **Keys and Endpoint** section and copy your API key.
115
-
> - In your App Configuration store, add a new Key Vault reference with the **Key** set to `ChatLLM:ApiKey` and the **Value** set as a Key Vault reference.
116
-
> - For step-by-step guidance, see [Add a Key Vault reference to App Configuration](./use-key-vault-references-dotnet-core.md#add-a-key-vault-reference-to-app-configuration).
|_ChatLLM:Endpoint_|_Paste the resource endpoint you copied in the previous step_|
117
111
118
112
1. Continue to the following instructions to implement the chat completion configuration into your application for the language or platform you are using.
1. Navigate to your App Configuration store and add the following key-value. Leave **Label** and **Content Type** with their default values. For more information about how to add key-values to a store using the Azure portal or the CLI, go to [Create a key-value](./quickstart-azure-app-configuration-create.md#create-a-key-value).
|_ChatLLM:Endpoint_|_Paste the model endpoint you copied in the previous step_|
131
-
132
116
> [!TIP]
133
-
> To store your model API key securely, consider storing it as a Key Vault reference.
134
-
> - In your Azure OpenAI resource, go to the **Keys and Endpoint** section and copy your API key.
117
+
> To store your Azure OpenAI API key securely, consider storing it as a Key Vault reference.
118
+
> - In your Azure OpenAI resource, from the **Resource Management** menu, select **Keys and Endpoint** and copy your API key.
135
119
> - In your App Configuration store, add a new Key Vault reference with the **Key** set to `ChatLLM:ApiKey` and the **Value** set as a Key Vault reference.
136
120
> - For step-by-step guidance, see [Add a Key Vault reference to App Configuration](./use-key-vault-references-dotnet-core.md#add-a-key-vault-reference-to-app-configuration).
137
121
138
-
1. Continue to the following instructions to implement the chat completion configuration into your application for the language or platform you are using.
0 commit comments