From 2bde188c64cd8b42568aaface7b7cfeb3d4e1648 Mon Sep 17 00:00:00 2001 From: Tim Miller Date: Thu, 31 Aug 2023 22:22:38 +0900 Subject: [PATCH] Change Namespace --- LLama.Examples/NewVersion/SemanticKernelChat.cs | 4 ++-- LLama.Examples/NewVersion/SemanticKernelPrompt.cs | 2 +- LLama.SemanticKernel/ChatCompletion/HistoryTransform.cs | 2 +- .../ChatCompletion/LLamaSharpChatCompletion.cs | 2 +- LLama.SemanticKernel/ChatCompletion/LLamaSharpChatMessage.cs | 2 +- LLama.SemanticKernel/ChatCompletion/LLamaSharpChatResult.cs | 2 +- LLama.SemanticKernel/ExtensionMethods.cs | 2 +- LLama.SemanticKernel/LLamaSharp.SemanticKernel.csproj | 2 +- .../TextCompletion/LLamaSharpTextCompletion.cs | 2 +- LLama.SemanticKernel/TextCompletion/LLamaTextResult.cs | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/LLama.Examples/NewVersion/SemanticKernelChat.cs b/LLama.Examples/NewVersion/SemanticKernelChat.cs index feca8d7f..6d9b4396 100644 --- a/LLama.Examples/NewVersion/SemanticKernelChat.cs +++ b/LLama.Examples/NewVersion/SemanticKernelChat.cs @@ -6,8 +6,8 @@ using LLama.Common; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.AI.ChatCompletion; using Microsoft.SemanticKernel.AI.TextCompletion; -using Microsoft.SemanticKernel.Connectors.AI.LLama.ChatCompletion; -using Microsoft.SemanticKernel.Connectors.AI.LLama.TextCompletion; +using LLamaSharp.SemanticKernel.ChatCompletion; +using LLamaSharp.SemanticKernel.TextCompletion; namespace LLama.Examples.NewVersion { diff --git a/LLama.Examples/NewVersion/SemanticKernelPrompt.cs b/LLama.Examples/NewVersion/SemanticKernelPrompt.cs index 40336b22..0482c195 100644 --- a/LLama.Examples/NewVersion/SemanticKernelPrompt.cs +++ b/LLama.Examples/NewVersion/SemanticKernelPrompt.cs @@ -6,7 +6,7 @@ using LLama.Common; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.AI.ChatCompletion; using Microsoft.SemanticKernel.AI.TextCompletion; -using Microsoft.SemanticKernel.Connectors.AI.LLama.TextCompletion; +using LLamaSharp.SemanticKernel.TextCompletion; namespace LLama.Examples.NewVersion { diff --git a/LLama.SemanticKernel/ChatCompletion/HistoryTransform.cs b/LLama.SemanticKernel/ChatCompletion/HistoryTransform.cs index 1b72d89e..759888d0 100644 --- a/LLama.SemanticKernel/ChatCompletion/HistoryTransform.cs +++ b/LLama.SemanticKernel/ChatCompletion/HistoryTransform.cs @@ -1,6 +1,6 @@ using static LLama.LLamaTransforms; -namespace Microsoft.SemanticKernel.Connectors.AI.LLama.ChatCompletion; +namespace LLamaSharp.SemanticKernel.ChatCompletion; /// /// Default HistoryTransform Patch diff --git a/LLama.SemanticKernel/ChatCompletion/LLamaSharpChatCompletion.cs b/LLama.SemanticKernel/ChatCompletion/LLamaSharpChatCompletion.cs index 51dee59e..7fda3d4f 100644 --- a/LLama.SemanticKernel/ChatCompletion/LLamaSharpChatCompletion.cs +++ b/LLama.SemanticKernel/ChatCompletion/LLamaSharpChatCompletion.cs @@ -9,7 +9,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -namespace Microsoft.SemanticKernel.Connectors.AI.LLama.ChatCompletion; +namespace LLamaSharp.SemanticKernel.ChatCompletion; /// /// LLamaSharp ChatCompletion diff --git a/LLama.SemanticKernel/ChatCompletion/LLamaSharpChatMessage.cs b/LLama.SemanticKernel/ChatCompletion/LLamaSharpChatMessage.cs index a10314fe..1e54d0a1 100644 --- a/LLama.SemanticKernel/ChatCompletion/LLamaSharpChatMessage.cs +++ b/LLama.SemanticKernel/ChatCompletion/LLamaSharpChatMessage.cs @@ -1,6 +1,6 @@ using Microsoft.SemanticKernel.AI.ChatCompletion; -namespace Microsoft.SemanticKernel.Connectors.AI.LLama.ChatCompletion; +namespace LLamaSharp.SemanticKernel.ChatCompletion; /// /// LLamaSharp Chat Message diff --git a/LLama.SemanticKernel/ChatCompletion/LLamaSharpChatResult.cs b/LLama.SemanticKernel/ChatCompletion/LLamaSharpChatResult.cs index 8a8b2ef3..ec479f42 100644 --- a/LLama.SemanticKernel/ChatCompletion/LLamaSharpChatResult.cs +++ b/LLama.SemanticKernel/ChatCompletion/LLamaSharpChatResult.cs @@ -2,7 +2,7 @@ using System.Runtime.CompilerServices; using System.Text; -namespace Microsoft.SemanticKernel.Connectors.AI.LLama.ChatCompletion; +namespace LLamaSharp.SemanticKernel.ChatCompletion; internal sealed class LLamaSharpChatResult : IChatStreamingResult { diff --git a/LLama.SemanticKernel/ExtensionMethods.cs b/LLama.SemanticKernel/ExtensionMethods.cs index ebfc1c37..90090ead 100644 --- a/LLama.SemanticKernel/ExtensionMethods.cs +++ b/LLama.SemanticKernel/ExtensionMethods.cs @@ -1,7 +1,7 @@ using Microsoft.SemanticKernel.AI.ChatCompletion; using Microsoft.SemanticKernel.AI.TextCompletion; -namespace Microsoft.SemanticKernel.Connectors.AI.LLama; +namespace LLamaSharp.SemanticKernel; internal static class ExtensionMethods { diff --git a/LLama.SemanticKernel/LLamaSharp.SemanticKernel.csproj b/LLama.SemanticKernel/LLamaSharp.SemanticKernel.csproj index 7b2a0780..fc5af9b1 100644 --- a/LLama.SemanticKernel/LLamaSharp.SemanticKernel.csproj +++ b/LLama.SemanticKernel/LLamaSharp.SemanticKernel.csproj @@ -2,7 +2,7 @@ netstandard2.0;net6.0;net7.0 - Microsoft.SemanticKernel.Connectors.AI.LLama + LLamaSharp.SemanticKernel enable 10 AnyCPU;x64;Arm64 diff --git a/LLama.SemanticKernel/TextCompletion/LLamaSharpTextCompletion.cs b/LLama.SemanticKernel/TextCompletion/LLamaSharpTextCompletion.cs index d6ce9362..40dbd3f8 100644 --- a/LLama.SemanticKernel/TextCompletion/LLamaSharpTextCompletion.cs +++ b/LLama.SemanticKernel/TextCompletion/LLamaSharpTextCompletion.cs @@ -2,7 +2,7 @@ using LLama.Abstractions; using Microsoft.SemanticKernel.AI.TextCompletion; -namespace Microsoft.SemanticKernel.Connectors.AI.LLama.TextCompletion; +namespace LLamaSharp.SemanticKernel.TextCompletion; public sealed class LLamaSharpTextCompletion : ITextCompletion { diff --git a/LLama.SemanticKernel/TextCompletion/LLamaTextResult.cs b/LLama.SemanticKernel/TextCompletion/LLamaTextResult.cs index 9ff2d6e4..e1643481 100644 --- a/LLama.SemanticKernel/TextCompletion/LLamaTextResult.cs +++ b/LLama.SemanticKernel/TextCompletion/LLamaTextResult.cs @@ -3,7 +3,7 @@ using Microsoft.SemanticKernel.Orchestration; using System.Runtime.CompilerServices; using System.Text; -namespace Microsoft.SemanticKernel.Connectors.AI.LLama.TextCompletion; +namespace LLamaSharp.SemanticKernel.TextCompletion; internal sealed class LLamaTextResult : ITextStreamingResult {