File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,9 @@ This guide provides step-by-step instructions for configuring and testing the NL
5454### Step 2: Configure the Demo App
5555
56561 . ** Update Configuration** :
57- Open ` samples/Demo/appsettings.json ` and update the Azure OpenAI section: ```json
57+ Open ` samples/Demo/appsettings.json ` and update the Azure OpenAI section:
58+
59+ ``` json
5860 {
5961 "AzureOpenAI" : {
6062 "Endpoint" : " <https://your-resource.openai.azure.com/>" ,
@@ -71,7 +73,7 @@ This guide provides step-by-step instructions for configuring and testing the NL
7173 > - User secrets: ` dotnet user-secrets set "AzureOpenAI:ApiKey" "your-key" `
7274 > - Azure Key Vault for production deployments
7375
74- 2 . **Optional: Configure Azure Search** (for enhanced data backend):
76+ 3 . ** Optional: Configure Azure Search** (for enhanced data backend):
7577
7678 ``` json
7779 {
@@ -97,16 +99,16 @@ This guide provides step-by-step instructions for configuring and testing the NL
9799 - Create a new secret key
98100 - Copy the key (it won't be shown again)
99101
100- ### Step 2: Configure the Demo App for OpenAI ```json
102+ ### Step 2: Configure the Demo App for OpenAI
101103
104+ ``` json
102105 {
103106 "OpenAI" : {
104107 "ApiKey" : " sk-your-api-key-here" ,
105108 "Model" : " gpt-4" ,
106109 "BaseUrl" : " <https://api.openai.com/v1>"
107110 }
108111 }
109-
110112 ```
111113
112114 > ** Security Note** : Never commit API keys to source control. Consider using:
You can’t perform that action at this time.
0 commit comments