Skip to content

Commit 1a9b0cf

Browse files
Merge pull request #6782 from syncfusion-content/982891-ai-integrations
982891: Update the ai-integrations contents
2 parents e1969cb + 656b7e7 commit 1a9b0cf

File tree

4 files changed

+32
-22
lines changed

4 files changed

+32
-22
lines changed

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

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ The Syncfusion AI AssistView supports integration with [Gemini](https://ai.googl
1313

1414
## Prerequisites
1515

16-
* Google account to generate an API key for accessing Gemini AI
17-
* Syncfusion AI AssistView for Blazor package (Syncfusion.Blazor.InteractiveChat) installed in the project
18-
* Markdig package available in the project for Markdown-to-HTML conversion (required by the sample code)
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).
1919

2020
## Getting Started with the AI AssistView Component
2121

@@ -29,25 +29,25 @@ Install the Syncfusion Blazor package in the application.
2929

3030
```bash
3131

32-
Install-Package Syncfusion.Blazor.InteractiveChat
32+
Nuget\Install-Package Syncfusion.Blazor.InteractiveChat
3333

3434
```
3535

3636
Install the Gemini AI package in the application.
3737

3838
```bash
3939

40-
Install-Package Mscc.GenerativeAI
40+
Nuget\Install-Package Mscc.GenerativeAI
4141

4242
```
4343

4444
## Generate API Key
4545

46-
1. Go to [Google AI Studio](https://aistudio.google.com/app/apikey) and sign in with a Google account. Create a new account if needed.
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.
4747

48-
2. Select Get API Key from the left menu or the top-right of the dashboard.
48+
2. Select `Get API key` from the left menu or the top-right of the dashboard.
4949

50-
3. Choose Create API Key. Select an existing Google Cloud project or create a new one, then proceed.
50+
3. Choose `Create API key`. Select an existing google cloud project or create a new one, then proceed.
5151

5252
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.
5353

@@ -66,6 +66,11 @@ const string GeminiApiKey = 'Place your API key here';
6666
{% tabs %}
6767
{% highlight razor %}
6868

69+
@using Syncfusion.Blazor.InteractiveChat
70+
@using Syncfusion.Blazor.Navigations
71+
@using Mscc.GenerativeAI
72+
@using Markdig
73+
6974
<div class="aiassist-container" style="height: 350px; width: 650px;">
7075
<SfAIAssistView @ref="sfAIAssistView" ID="aiAssistView" PromptSuggestions="@promptSuggestions" PromptRequested="@OnPromptRequest">
7176
<AssistViews>

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ The Syncfusion AI AssistView supports integration with [Azure Open AI](https://m
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,9 +49,9 @@ 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

blazor/chat-ui/ai-integrations/gemini-integration.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ The Syncfusion Chat UI supports integration with [Gemini](https://ai.google.dev
1313

1414
## Prerequisites
1515

16-
* Google account to generate API key on accessing `Gemini AI`
17-
* Syncfusion Chat UI for Blazor `Syncfusion.Blazor.InteractiveChat` installed in your project.
16+
* Google account to generate API key on accessing [Gemini AI](https://ai.google.dev/gemini-api/docs/quickstart)
17+
* Syncfusion Chat UI for Blazor [Syncfusion.Blazor.InteractiveChat](https://www.nuget.org/packages/Syncfusion.Blazor.InteractiveChat) installed in your project.
1818

1919
## Getting Started with the Chat UI Component
2020

@@ -28,25 +28,25 @@ Install the Syncfusion Blazor package in the application.
2828

2929
```bash
3030

31-
Install-Package Syncfusion.Blazor.InteractiveChat
31+
Nuget\Install-Package Syncfusion.Blazor.InteractiveChat
3232

3333
```
3434

3535
Install the Gemini AI package in the application.
3636

3737
```bash
3838

39-
Install-Package Mscc.GenerativeAI
39+
Nuget\Install-Package Mscc.GenerativeAI
4040

4141
```
4242

4343
## Generate API Key
4444

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.
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.
4646

4747
2. Once logged in, click on `Get API Key` from the left-hand menu or the top-right corner of the dashboard.
4848

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.
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.
5050

5151
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.
5252

@@ -65,6 +65,11 @@ const string GeminiApiKey = 'Place your API key here';
6565
{% tabs %}
6666
{% highlight razor %}
6767

68+
@using Syncfusion.Blazor.InteractiveChat
69+
@using Syncfusion.Blazor.Navigations
70+
@using Mscc.GenerativeAI
71+
@using Markdig
72+
6873
<div style="height: 400px; width: 400px;">
6974
<SfChatUI ID="chatUI" User="currentUser" HeaderText="Chat UI" HeaderIconCss="e-icons e-ai-chat" Messages="@Messages" MessageSend="OnMessageSend" TypingUsers="@typingUsers">
7075
<ChildContent>

blazor/chat-ui/ai-integrations/openai-integration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ The Syncfusion Chat UI supports integration with [Azure Open AI](https://microso
1313

1414
## Prerequisites
1515

16-
- An Azure account with access to `Azure Open AI` services and a generated API key.
17-
- Syncfusion Chat UI 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 Chat UI for Blazor [Syncfusion.Blazor.InteractiveChat](https://www.nuget.org/packages/Syncfusion.Blazor.InteractiveChat) installed in the project.
1818

1919
## Getting Started with the Chat UI Component
2020

@@ -49,9 +49,9 @@ 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

0 commit comments

Comments
 (0)