Skip to content

Commit ea4b7b3

Browse files
Merge branch 'development' into 983717-Ug-docs-chatui-2
2 parents c42e608 + 486e7f9 commit ea4b7b3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+745
-1016
lines changed

blazor-toc.html

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -682,8 +682,8 @@
682682
<li><a href="/blazor/ai-assistview/assist-view">Assist view</a></li>
683683
<li>AI Integrations
684684
<ul>
685-
<li><a href="/blazor/ai-assistview/ai-integrations/gemini-integration">Integration with Google Gemini</a></li>
686-
<li><a href="/blazor/ai-assistview/ai-integrations/openai-integration">Integration with Azure Open AI</a></li>
685+
<li><a href="/blazor/ai-assistview/ai-integrations/gemini-integration">Google Gemini</a></li>
686+
<li><a href="/blazor/ai-assistview/ai-integrations/openai-integration">Azure Open AI</a></li>
687687
</ul>
688688
</li>
689689
<li><a href="/blazor/ai-assistview/toolbar-items">Toolbar items</a></li>
@@ -1445,12 +1445,6 @@
14451445
</ul>
14461446
</li>
14471447
<li><a href="/blazor/chat-ui/messages">Messages</a></li>
1448-
<li>AI Integrations
1449-
<ul>
1450-
<li><a href="/blazor/chat-ui/ai-integrations/gemini-integration">Integration with Google Gemini</a></li>
1451-
<li><a href="/blazor/chat-ui/ai-integrations/openai-integration">Integration with Open AI</a></li>
1452-
</ul>
1453-
</li>
14541448
<li><a href="/blazor/chat-ui/timebreak">Time break</a></li>
14551449
<li><a href="/blazor/chat-ui/timestamp">Timestamp</a></li>
14561450
<li><a href="/blazor/chat-ui/typing-indicator">Typing indicator</a></li>

blazor/ai-assistview/ai-integrations/gemini-integration.md

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,54 +7,55 @@ control: AI AssistView
77
documentation: ug
88
---
99

10-
# Integration of Gemini AI With Blazor AI AssistView component
10+
# Gemini AI With Blazor AI AssistView component
1111

12-
The Syncfusion AI AssistView supports integration with [Gemini](https://ai.google.dev/gemini-api/docs/quickstart), enabling advanced conversational AI features in your applications.
12+
The Syncfusion AI AssistView supports integration with [Gemini](https://ai.google.dev/gemini-api/docs/quickstart), enabling advanced conversational AI features in applications.
1313

1414
## Prerequisites
1515

16-
* Google account to generate API key on accessing `Gemini AI`
17-
* Syncfusion AI AssistView for Blazor `Syncfusion.Blazor.InteractiveChat` installed in your project.
16+
* Google account to generate an API key for accessing [Gemini AI](https://ai.google.dev/gemini-api/docs/quickstart)
17+
* Syncfusion AI AssistView for Blazor package [Syncfusion.Blazor.InteractiveChat](https://www.nuget.org/packages/Syncfusion.Blazor.InteractiveChat) installed in the project.
18+
* [Markdig](https://www.nuget.org/packages/Markdig) package available in the project for Markdown-to-HTML conversion (required by the sample code).
1819

1920
## Getting Started with the AI AssistView Component
2021

21-
Before integrating Gemini AI, ensure that the Syncfusion AI AssistView is correctly rendered in your application:
22+
Before integrating Gemini AI, ensure that the Syncfusion AI AssistView renders correctly in the application and that prerequisites are met:
2223

23-
[ Blazor Getting Started Guide](../getting-started)
24+
[Blazor Getting Started Guide](../getting-started)
2425

2526
## Install Dependencies
2627

2728
Install the Syncfusion Blazor package in the application.
2829

2930
```bash
3031

31-
Install-Package Syncfusion.Blazor.InteractiveChat
32+
Nuget\Install-Package Syncfusion.Blazor.InteractiveChat
3233

3334
```
3435

3536
Install the Gemini AI package in the application.
3637

3738
```bash
3839

39-
Install-Package Mscc.GenerativeAI
40+
Nuget\Install-Package Mscc.GenerativeAI
4041

4142
```
4243

4344
## Generate API Key
4445

45-
1. Go to [Google AI Studio](https://aistudio.google.com/app/apikey) and sign in with your Google account. If you don’t have one, create a new account.
46+
1. Go to [Google AI Studio](https://aistudio.google.com/app/api-keys) and sign in with a google account. Create a new account if needed.
4647

47-
2. Once logged in, click on `Get API Key` from the left-hand menu or the top-right corner of the dashboard.
48+
2. Select `Get API key` from the left menu or the top-right of the dashboard.
4849

49-
3. Click the `Create API Key` button. You’ll be prompted to either select an existing Google Cloud project or create a new one. Choose the appropriate option and proceed.
50+
3. Choose `Create API key`. Select an existing google cloud project or create a new one, then proceed.
5051

51-
4. After selecting or creating a project, your API key will be generated and displayed. Copy the key and store it securely, as it will only be shown once.
52+
4. After creating or selecting a project, an API key is generated and displayed. Copy the key and store it securely, as it may be shown only once.
5253

53-
> `Security Note`: Never commit the API key to version control. Use environment variables or a secret manager for production.
54+
> Security note: Do not commit API keys to version control. Use environment variables, a secret manager, or a server-side proxy in production.
5455
55-
## Integration Gemini AI with AI AssistView
56+
## Gemini AI with AI AssistView
5657

57-
* Add your generated `API Key` at the line
58+
* Add the generated API key in the following line.
5859

5960
```bash
6061

@@ -65,6 +66,11 @@ const string GeminiApiKey = 'Place your API key here';
6566
{% tabs %}
6667
{% highlight razor %}
6768

69+
@using Syncfusion.Blazor.InteractiveChat
70+
@using Syncfusion.Blazor.Navigations
71+
@using Mscc.GenerativeAI
72+
@using Markdig
73+
6874
<div class="aiassist-container" style="height: 350px; width: 650px;">
6975
<SfAIAssistView @ref="sfAIAssistView" ID="aiAssistView" PromptSuggestions="@promptSuggestions" PromptRequested="@OnPromptRequest">
7076
<AssistViews>
@@ -128,4 +134,4 @@ const string GeminiApiKey = 'Place your API key here';
128134
{% endhighlight %}
129135
{% endtabs %}
130136

131-
![Blazor AI AssistView Gemini Integration](./images/gemini-integration.png)
137+
![Blazor AI AssistView Gemini Integration](../images/gemini-integration.png)

blazor/ai-assistview/ai-integrations/openai-integration.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ control: AI AssistView
77
documentation: ug
88
---
99

10-
# Integration of Azure OpenAI With Blazor AI AssistView component
10+
# Azure OpenAI With Blazor AI AssistView component
1111

1212
The Syncfusion AI AssistView supports integration with [Azure Open AI](https://microsoft.github.io/PartnerResources/skilling/ai-ml-academy/resources/openai), enabling advanced conversational AI features in your applications.
1313

1414
## Prerequisites
1515

16-
- An Azure account with access to `Azure Open AI` services and a generated API key.
17-
- Syncfusion AI AssistView for Blazor `Syncfusion.Blazor.InteractiveChat` installed in the project
16+
- An Azure account with access to [Azure Open AI](https://microsoft.github.io/PartnerResources/skilling/ai-ml-academy/resources/openai) services and a generated API key.
17+
- Syncfusion AI AssistView for Blazor [Syncfusion.Blazor.InteractiveChat](https://www.nuget.org/packages/Syncfusion.Blazor.InteractiveChat) installed in the project
1818

1919
## Getting Started with the AI AssistView Component
2020

@@ -49,15 +49,15 @@ Note: The sample below uses HttpClient directly and does not require the Azure/O
4949

5050
1. Log in to the [Azure Portal](https://portal.azure.com/#home) and navigate to your Azure Open AI resource.
5151

52-
2. Under Resource Management, select Keys and Endpoint to retrieve your API key and endpoint URL.
52+
2. Under Resource Management, select keys and endpoint to retrieve your API key and endpoint URL.
5353

54-
3. Copy the API key, endpoint, and deployment name (e.g., gpt-4o-mini). Ensure the API version (e.g., 2024-07-01-preview) matches your resource configuration.
54+
3. Copy the API key, endpoint, and deployment name (e.g., gpt-4o-mini). Ensure the API version matches your resource configuration.
5555

5656
4. Store these values securely, as they will be used in your application.
5757

5858
> `Security Note`: expose your API key in client-side code for production applications. Use a server-side proxy or environment variables to manage sensitive information securely.
5959
60-
## Integration Azure OpenAI with AI AssistView
60+
## Azure OpenAI with AI AssistView
6161

6262
- Configure your Azure OpenAI endpoint, API key, and deployment name in your **Program.cs** (or using your preferred configuration mechanism).
6363

@@ -240,4 +240,4 @@ var deploymentName = "gpt-4o-mini";
240240
{% endhighlight %}
241241
{% endtabs %}
242242

243-
![Blazor AI AssistView Azure Open AI Integration](./images/openai-integration.png)
243+
![Blazor AI AssistView Azure Open AI Integration](../images/openai-integration.png)

blazor/ai-assistview/how-to/integration-with-ai.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ documentation: ug
1111

1212
The Syncfusion<sup style="font-size:70%">&reg;</sup> AI AssistView component supports integration with the `Microsoft.Extensions.AI` framework, enabling seamless communication with various large language models (LLMs) such as `Azure OpenAI`, `OpenAI`, and more.
1313

14-
`The Microsoft.Extensions.AI` simplifies integration with different models, requiring minimal configuration changes depending on the provider. The following example demonstrates integration using `Azure OpenAI`.
14+
`Microsoft.Extensions.AI` simplifies integration with different providers and typically requires only minimal configuration changes based on the selected model. The following example demonstrates integration using `Azure OpenAI`.
1515

16-
N> The Microsoft AI extension libraries are currently in preview, and breaking changes may occur. Ensure that you use compatible versions to avoid integration issues.
16+
N> The Microsoft AI extension libraries are currently in preview and may include breaking changes. Use compatible versions of all referenced packages to prevent integration issues.
1717

1818
### Getting started with AI AssistView
1919

20-
Before integrating `AI AssistView` with `Microsoft.Extensions.AI`, ensure the SfAIAssistView component is rendered by following the appropriate project guideline:
20+
Before integrating `AI AssistView` with `Microsoft.Extensions.AI`, ensure the `SfAIAssistView` component is rendered by following the appropriate project guidelines:
2121

2222
* [Blazor Web App](../getting-started-webapp)
2323
* [Blazor WASM App](../getting-started)
2424

2525
### Prerequisites for Microsoft.Extensions.AI integration
2626

27-
To add the required NuGet packages, use the NuGet package manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*) search and install the following:
27+
To add the required NuGet packages, use the NuGet Package Manager in Visual Studio (Tools → NuGet Package Manager → Manage NuGet Packages for Solution), then search for and install the following packages:
2828

2929
* `Azure.AI.OpenAI`
3030
* `Azure.Identity`
@@ -48,7 +48,7 @@ dotnet add package Markdig
4848

4949
### Configure services in Program.cs
5050

51-
Register the `Azure OpenAI` client and Syncfusion<sup style="font-size:70%">&reg;</sup> AI AssistView component within the Blazor application.
51+
Register the `Azure OpenAI` client and the Syncfusion<sup style="font-size:70%">&reg;</sup> AI AssistView component within the Blazor application.
5252

5353
{% tabs %}
5454
{% highlight c# tabtitle="~/_Program.cs" hl_lines="2 9" %}
@@ -88,9 +88,9 @@ var app = builder.Build();
8888

8989
### AI AssistView with IChatClient
9090

91-
The Syncfusion<sup style="font-size:70%">&reg;</sup> `AI AssistView` component is built to seamlessly integrate with external AI services. When the `IChatClient` is registered via `Microsoft.Extensions.AI`, the component automatically uses it to handle user prompts without any additional configuration.
91+
The Syncfusion<sup style="font-size:70%">&reg;</sup> AI AssistView component is designed to integrate seamlessly with external AI services. When an `IChatClient` is registered via Microsoft.Extensions.AI, the component automatically uses it to process user prompts without additional component configuration.
9292

93-
In the following example, the user input is processed using the injected `IChatClient`. The AI model's response is returned in Markdown format which is converted to HTML using the `Markdig` library before rendering in the AI AssistView component.
93+
In the following example, user input is sent to the injected `IChatClient`. The AI models response is returned in Markdown, converted to HTML using the `Markdig` library, and rendered in the AI AssistView component.
9494

9595
{% tabs %}
9696
{% highlight razor %}

blazor/ai-developer-tools/copilot-extension.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Before using this extension, ensure you have:
3232
- [Commercial License](https://www.syncfusion.com/sales/unlimitedlicense)
3333
- [Free Community License](https://www.syncfusion.com/products/communitylicense)
3434
- [Free Trial](https://www.syncfusion.com/account/manage-trials/start-trials)
35-
* An active [API KEY](https://staging.syncfusion.com/account/user-token-generation)
35+
* An active [API KEY](https://syncfusion.com/account/api-key)
3636

3737
## Unlimited Access
3838

blazor/ai-developer-tools/mcp-server.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ The [SyncfusionBlazorAssistant](https://www.npmjs.com/package/@syncfusion/blazor
2424
Before using [SyncfusionBlazorAssistant](https://www.npmjs.com/package/@syncfusion/blazor-assistant), ensure you have:
2525

2626
* Required [node](https://nodejs.org/en/) version >= 18
27-
* A [compatible MCP client](https://modelcontextprotocol.io/clients) ([Syncfusion<sup style="font-size:70%">&reg;</sup> CodeStudio](https://www.syncfusion.com/code-studio/), VS Code with GitHub Copilot, etc.)
27+
* A [compatible MCP client](https://modelcontextprotocol.io/clients) (VS Code with GitHub Copilot, [Syncfusion<sup style="font-size:70%">&reg;</sup> CodeStudio](https://www.syncfusion.com/code-studio/), etc.)
2828
* An active Syncfusion<sup style="font-size:70%">&reg;</sup> license (any of the following):
2929
- [Commercial License](https://www.syncfusion.com/sales/unlimitedlicense)
3030
- [Free Community License](https://www.syncfusion.com/products/communitylicense)
3131
- [Free Trial](https://www.syncfusion.com/account/manage-trials/start-trials)
32-
* An active [API KEY](https://staging.syncfusion.com/account/user-token-generation)
32+
* An active [API KEY](https://syncfusion.com/account/api-key)
3333

3434
## Unlimited Access
3535

@@ -54,7 +54,7 @@ Before you can invoke the `SyncfusionBlazorAssistant` MCP server, you need to co
5454
- **Arguments**: -y
5555
- **Server name**: syncfusionBlazorAssistant
5656

57-
You need to add your [Syncfusion API key](https://staging.syncfusion.com/account/user-token-generation) as an env parameter in the configuration file:
57+
You need to add your [Syncfusion API key](https://syncfusion.com/account/api-key) as an env parameter in the configuration file:
5858

5959
```json
6060
"env": {

blazor/ai-developer-tools/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ To use the AI Developer Tools, you need:
2727
- [Commercial License](https://www.syncfusion.com/sales/unlimitedlicense)
2828
- [Free Community License](https://www.syncfusion.com/products/communitylicense)
2929
- [Free Trial](https://www.syncfusion.com/account/manage-trials/start-trials)
30-
* An active [API KEY](https://staging.syncfusion.com/account/user-token-generation)
30+
* An active [API KEY](https://syncfusion.com/account/api-key)
3131
* A [Blazor application that includes SyncfusionBlazor](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app)
3232

3333
## Unlimited Access

blazor/appearance/themes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ The following list of themes are included in the Syncfusion<sup style="font-size
3636
|Microsoft Office Fabric Dark | fabric-dark.css |
3737
|High Contrast | highcontrast.css |
3838

39-
The Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Bootstrap Theme is designed based on Bootstrap v3, whereas the Bootsrap4 theme is designed based on Bootstrap v4.
39+
The Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Bootstrap Theme is designed based on Bootstrap v3.
40+
41+
N> The Syncfusion® Bootstrap4 theme is designed based on Bootstrap v4, specifically version 4.3. While it is built on v4.3, it remains compatible with Bootstrap v4.6 applications.
42+
There are no significant differences between Bootstrap v4.3 and v4.6 that affect our components. Therefore, using Bootstrap v4.3 will not impact functionality, as it performs equivalently to Bootstrap v4.6.
4043

4144
## Optimized CSS Themes
4245

blazor/chart/category-axis.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ The category labels are positioned between ticks by default, but the [LabelPlace
9999

100100
## Range and interval
101101

102-
The [Minimum](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartAxis.html#Syncfusion_Blazor_Charts_ChartAxis_Minimum), [Maximum](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartAxis.html#Syncfusion_Blazor_Charts_ChartAxis_Maximum), and [Interval](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartAxis.html#Syncfusion_Blazor_Charts_ChartAxis_Interval) properties can be used to customize the range of the [Category](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ValueType.html#Syncfusion_Blazor_Charts_ValueType_Category) axis.
102+
Customize the category axis range using the [Minimum](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartAxis.html#Syncfusion_Blazor_Charts_ChartAxis_Minimum), [Maximum](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartAxis.html#Syncfusion_Blazor_Charts_ChartAxis_Maximum), and [Interval](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartAxis.html#Syncfusion_Blazor_Charts_ChartAxis_Interval) properties of the [Category](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ValueType.html#Syncfusion_Blazor_Charts_ValueType_Category) axis.
103103

104104
```cshtml
105105
@@ -142,7 +142,7 @@ The [Minimum](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.Cha
142142

143143
## Indexed category axis
144144

145-
The category axis can also be rendered using the data source index values. This can be achieved by setting the [IsIndexed](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartAxis.html#Syncfusion_Blazor_Charts_ChartAxis_IsIndexed) property in the axis to **true**.
145+
Render the category axis using data source index values by setting the [IsIndexed](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartAxis.html#Syncfusion_Blazor_Charts_ChartAxis_IsIndexed) property to **true**. This aligns category positions based on index rather than distinct category text.
146146

147147
```cshtml
148148
@@ -191,10 +191,10 @@ The category axis can also be rendered using the data source index values. This
191191

192192
![Blazor Chart with Indexed Category Axis](images/category-axis/blazor-chart-index-category-axis.png)
193193

194-
N> Refer to our [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore our [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to knows various chart types and how to represent time-dependent data, showing trends in data at equal intervals.
194+
N> Refer to our [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its feature highlights, and explore the [Blazor Chart example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know the various chart types and how to represent time-dependent data, showing trends at equal intervals.
195195

196196
## See also
197197

198198
* [Data Label](./data-labels)
199199
* [Tooltip](./tool-tip)
200-
* [Marker](./data-markers)
200+
* [Marker](./data-markers)

0 commit comments

Comments
 (0)