File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
components/smartpastebutton Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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
147147services .AddKeyedChatClient (" gpt-4.1" , gptChatClient );
Original file line number Diff line number Diff 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
148148services .AddKeyedChatClient (" gpt-4.1" , gptChatClient );
You can’t perform that action at this time.
0 commit comments