diff --git a/Smart_Fill/MicrosoftAIExtension.cs b/Smart_Fill/MicrosoftAIExtension.cs
index 041bb29..3202d5c 100644
--- a/Smart_Fill/MicrosoftAIExtension.cs
+++ b/Smart_Fill/MicrosoftAIExtension.cs
@@ -19,7 +19,7 @@ internal class MicrosoftAIExtension
/// Key for the semantic kernal API
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();
}
///
diff --git a/Smart_Fill/Smart_Fill.csproj b/Smart_Fill/Smart_Fill.csproj
index d76d3c0..fcb0e6f 100644
--- a/Smart_Fill/Smart_Fill.csproj
+++ b/Smart_Fill/Smart_Fill.csproj
@@ -14,7 +14,7 @@
-
-
+
+
diff --git a/Smart_Redaction/MicrosoftAIExtension.cs b/Smart_Redaction/MicrosoftAIExtension.cs
index c3d1d1e..0f0d268 100644
--- a/Smart_Redaction/MicrosoftAIExtension.cs
+++ b/Smart_Redaction/MicrosoftAIExtension.cs
@@ -19,7 +19,7 @@ internal class MicrosoftAIExtension
/// Key for the semantic kernal API
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();
}
///
diff --git a/Smart_Redaction/Smart_Redaction.csproj b/Smart_Redaction/Smart_Redaction.csproj
index 129b473..08ad081 100644
--- a/Smart_Redaction/Smart_Redaction.csproj
+++ b/Smart_Redaction/Smart_Redaction.csproj
@@ -15,8 +15,8 @@
-
-
+
+
diff --git a/Smart_Summarize/MicrosoftAIExtension.cs b/Smart_Summarize/MicrosoftAIExtension.cs
index 18f5beb..ead5ebd 100644
--- a/Smart_Summarize/MicrosoftAIExtension.cs
+++ b/Smart_Summarize/MicrosoftAIExtension.cs
@@ -20,7 +20,7 @@ internal class MicrosoftAIExtension
/// Key for the semantic kernal API
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();
}
///
diff --git a/Smart_Summarize/Smart_Summarize.csproj b/Smart_Summarize/Smart_Summarize.csproj
index 16c9684..10bbc55 100644
--- a/Smart_Summarize/Smart_Summarize.csproj
+++ b/Smart_Summarize/Smart_Summarize.csproj
@@ -16,8 +16,8 @@
-
-
+
+