Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Smart_Fill/MicrosoftAIExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal class MicrosoftAIExtension
/// <param name="key">Key for the semantic kernal API</param>
public MicrosoftAIExtension(string key)
{
clientAI = new AzureOpenAIClient(new System.Uri(endpoint), new System.ClientModel.ApiKeyCredential(key)).AsChatClient(deploymentName);
clientAI = new AzureOpenAIClient(new System.Uri(endpoint), new System.ClientModel.ApiKeyCredential(key)).GetChatClient(deploymentName).AsIChatClient();
}

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions Smart_Fill/Smart_Fill.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<PackageReference Include="Syncfusion.SfSkinManager.WPF" Version="*" />
<PackageReference Include="Syncfusion.Themes.Windows11Light.WPF" Version="*" />
<PackageReference Include="Azure.AI.OpenAI" Version="*" />
<PackageReference Include="Microsoft.Extensions.AI" Version="9.3.0-preview.1.25114.11" />
<PackageReference Include="Microsoft.Extensions.AI.OpenAI" Version="9.3.0-preview.1.25114.11" />
<PackageReference Include="Microsoft.Extensions.AI" Version="10.0.1" />
<PackageReference Include="Microsoft.Extensions.AI.OpenAI" Version="10.0.1-preview.1.25571.5" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion Smart_Redaction/MicrosoftAIExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal class MicrosoftAIExtension
/// <param name="key">Key for the semantic kernal API</param>
public MicrosoftAIExtension(string key)
{
clientAI = new AzureOpenAIClient(new System.Uri(endpoint), new System.ClientModel.ApiKeyCredential(key)).AsChatClient(deploymentName);
clientAI = new AzureOpenAIClient(new System.Uri(endpoint), new System.ClientModel.ApiKeyCredential(key)).GetChatClient(deploymentName).AsIChatClient();
}

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions Smart_Redaction/Smart_Redaction.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<PackageReference Include="Syncfusion.Themes.Windows11Light.WPF" Version="*" />
<PackageReference Include="System.Drawing.Common" Version="*" />
<PackageReference Include="Azure.AI.OpenAI" Version="*" />
<PackageReference Include="Microsoft.Extensions.AI" Version="9.3.0-preview.1.25114.11" />
<PackageReference Include="Microsoft.Extensions.AI.OpenAI" Version="9.3.0-preview.1.25114.11" />
<PackageReference Include="Microsoft.Extensions.AI" Version="10.0.1" />
<PackageReference Include="Microsoft.Extensions.AI.OpenAI" Version="10.0.1-preview.1.25571.5" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion Smart_Summarize/MicrosoftAIExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ internal class MicrosoftAIExtension
/// <param name="key">Key for the semantic kernal API</param>
public MicrosoftAIExtension(string key)
{
clientAI = new AzureOpenAIClient(new System.Uri(endpoint), new System.ClientModel.ApiKeyCredential(key)).AsChatClient(deploymentName);
clientAI = new AzureOpenAIClient(new System.Uri(endpoint), new System.ClientModel.ApiKeyCredential(key)).GetChatClient(deploymentName).AsIChatClient();
}

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions Smart_Summarize/Smart_Summarize.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<PackageReference Include="Syncfusion.SfChat.WPF" Version="*" />
<PackageReference Include="Syncfusion.SfSkinManager.WPF" Version="*" />
<PackageReference Include="Azure.AI.OpenAI" Version="*" />
<PackageReference Include="Microsoft.Extensions.AI" Version="9.3.0-preview.1.25114.11" />
<PackageReference Include="Microsoft.Extensions.AI.OpenAI" Version="9.3.0-preview.1.25114.11" />
<PackageReference Include="Microsoft.Extensions.AI" Version="10.0.1" />
<PackageReference Include="Microsoft.Extensions.AI.OpenAI" Version="10.0.1-preview.1.25571.5" />
<PackageReference Include="SmartComponents.LocalEmbeddings" Version="0.1.0-preview10148" />
<PackageReference Include="Syncfusion.Themes.Windows11Light.WPF" Version="*" />
</ItemGroup>
Expand Down