Skip to content

Commit fcd6bc9

Browse files
983466: Updated the AI Base UG Sections.
1 parent f93978a commit fcd6bc9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

blazor/smart-ai-solutions/ai/azure-openai.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Install-Package Azure.AI.OpenAI
9696
Register the Syncfusion Blazor service in the `~/Program.cs` file based on the interactive render mode.
9797

9898
**For WebAssembly or Auto Render Mode**:
99-
If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, you need to register the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor service in both **~/Program.cs** files of your Blazor Web App.
99+
If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor service should be registered in both **~/Program.cs** files.
100100

101101
{% tabs %}
102102
{% highlight c# tabtitle="Server (~/Program.cs)" hl_lines="3 11" %}
@@ -130,7 +130,7 @@ await builder.Build().RunAsync();
130130
{% endtabs %}
131131

132132
**For Server Render Mode**:
133-
If the **Interactive Render Mode** is set to `Server`, your project will contain a single **~/Program.cs** file. So, you should register the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Service only in that **~/Program.cs** file.
133+
If the **Interactive Render Mode** is set to `Server`, the project will contain a single **~/Program.cs** file. In this case, the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Service should be registered within that `~/Program.cs` file.
134134

135135
{% tabs %}
136136
{% highlight c# tabtitle="~/_Program.cs" hl_lines="2 9" %}

blazor/smart-ai-solutions/ai/ollama.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Install-Package OllamaSharp
9090
Register the Syncfusion Blazor service in the `~/Program.cs` file based on the interactive render mode.
9191

9292
**For WebAssembly or Auto Render Mode**:
93-
If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, you need to register the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor service in both **~/Program.cs** files of your Blazor Web App.
93+
If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor service should be registered in both **~/Program.cs** files.
9494

9595
{% tabs %}
9696
{% highlight c# tabtitle="Server (~/Program.cs)" hl_lines="3 11" %}
@@ -124,7 +124,7 @@ await builder.Build().RunAsync();
124124
{% endtabs %}
125125

126126
**For Server Render Mode**:
127-
If the **Interactive Render Mode** is set to `Server`, your project will contain a single **~/Program.cs** file. So, you should register the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Service only in that **~/Program.cs** file.
127+
If the **Interactive Render Mode** is set to `Server`, the project will contain a single **~/Program.cs** file. In this case, the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Service should be registered within that `~/Program.cs` file.
128128

129129
{% tabs %}
130130
{% highlight c# tabtitle="~/_Program.cs" hl_lines="2 9" %}

blazor/smart-ai-solutions/ai/openAI.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Install-Package Microsoft.Extensions.AI.OpenAI
8787
Register the Syncfusion Blazor service in the `~/Program.cs` file based on the interactive render mode.
8888

8989
**For WebAssembly or Auto Render Mode**:
90-
If the **Interactive Render Mode** is set to `Server`, your project will contain a single **~/Program.cs** file. So, you should register the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Service only in that **~/Program.cs** file.
90+
If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor service should be registered in both **~/Program.cs** files.
9191

9292
{% tabs %}
9393
{% highlight c# tabtitle="Server (~/Program.cs)" hl_lines="3 11" %}
@@ -121,7 +121,7 @@ await builder.Build().RunAsync();
121121
{% endtabs %}
122122

123123
**For Server Render Mode**:
124-
If the **Interactive Render Mode** is set to `Server`, your project will contain a single **~/Program.cs** file. So, you should register the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Service only in that **~/Program.cs** file.
124+
If the **Interactive Render Mode** is set to `Server`, the project will contain a single **~/Program.cs** file. In this case, the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Service should be registered within that `~/Program.cs` file.
125125

126126
{% tabs %}
127127
{% highlight c# tabtitle="~/_Program.cs" hl_lines="2 9" %}

0 commit comments

Comments
 (0)