Skip to content

Commit c21d544

Browse files
chore(SmartPasteButton): polish sample (#3502)
* chore(SmartPasteButton): polish sample * chore(SmartPasteButton): polish events example
1 parent 395e568 commit c21d544

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/smartpastebutton/events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ This event allows you to handle scenarios where the AI processing needs to be in
141141
}
142142
````
143143
````C# Program.cs
144-
IChatClient gptChatClient = new AzureOpenAIClient(new Uri("https://blazor-models-ai-foundry.cognitiveservices.azure.com/"),
144+
IChatClient gptChatClient = new AzureOpenAIClient(new Uri("your API endpoint here"),
145145
new AzureKeyCredential("your API key here")).GetChatClient("gpt-4.1");
146146

147147
services.AddKeyedChatClient("gpt-4.1", gptChatClient);

components/smartpastebutton/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ john.doe@example.com
142142
<div class="skip-repl"></div>
143143

144144
````C# Program.cs
145-
IChatClient gptChatClient = new AzureOpenAIClient(new Uri("https://blazor-models-ai-foundry.cognitiveservices.azure.com/"),
145+
IChatClient gptChatClient = new AzureOpenAIClient(new Uri("your API endpoint here"),
146146
new AzureKeyCredential("your API key here")).GetChatClient("gpt-4.1");
147147

148148
services.AddKeyedChatClient("gpt-4.1", gptChatClient);

0 commit comments

Comments
 (0)