Skip to content

Commit 416d2c1

Browse files
authored
Update demo-setup-guide.md
Fix formatting for JSON blocks
1 parent 20a5079 commit 416d2c1

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

doc/demo-setup-guide.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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

5656
1. **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:

0 commit comments

Comments
 (0)