Browse Source

Change Namespace

tags/v0.5.1
Tim Miller 2 years ago
parent
commit
2bde188c64
10 changed files with 11 additions and 11 deletions
  1. +2
    -2
      LLama.Examples/NewVersion/SemanticKernelChat.cs
  2. +1
    -1
      LLama.Examples/NewVersion/SemanticKernelPrompt.cs
  3. +1
    -1
      LLama.SemanticKernel/ChatCompletion/HistoryTransform.cs
  4. +1
    -1
      LLama.SemanticKernel/ChatCompletion/LLamaSharpChatCompletion.cs
  5. +1
    -1
      LLama.SemanticKernel/ChatCompletion/LLamaSharpChatMessage.cs
  6. +1
    -1
      LLama.SemanticKernel/ChatCompletion/LLamaSharpChatResult.cs
  7. +1
    -1
      LLama.SemanticKernel/ExtensionMethods.cs
  8. +1
    -1
      LLama.SemanticKernel/LLamaSharp.SemanticKernel.csproj
  9. +1
    -1
      LLama.SemanticKernel/TextCompletion/LLamaSharpTextCompletion.cs
  10. +1
    -1
      LLama.SemanticKernel/TextCompletion/LLamaTextResult.cs

+ 2
- 2
LLama.Examples/NewVersion/SemanticKernelChat.cs View File

@@ -6,8 +6,8 @@ using LLama.Common;
using Microsoft.SemanticKernel; using Microsoft.SemanticKernel;
using Microsoft.SemanticKernel.AI.ChatCompletion; using Microsoft.SemanticKernel.AI.ChatCompletion;
using Microsoft.SemanticKernel.AI.TextCompletion; 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 namespace LLama.Examples.NewVersion
{ {


+ 1
- 1
LLama.Examples/NewVersion/SemanticKernelPrompt.cs View File

@@ -6,7 +6,7 @@ using LLama.Common;
using Microsoft.SemanticKernel; using Microsoft.SemanticKernel;
using Microsoft.SemanticKernel.AI.ChatCompletion; using Microsoft.SemanticKernel.AI.ChatCompletion;
using Microsoft.SemanticKernel.AI.TextCompletion; using Microsoft.SemanticKernel.AI.TextCompletion;
using Microsoft.SemanticKernel.Connectors.AI.LLama.TextCompletion;
using LLamaSharp.SemanticKernel.TextCompletion;


namespace LLama.Examples.NewVersion namespace LLama.Examples.NewVersion
{ {


+ 1
- 1
LLama.SemanticKernel/ChatCompletion/HistoryTransform.cs View File

@@ -1,6 +1,6 @@
using static LLama.LLamaTransforms; using static LLama.LLamaTransforms;


namespace Microsoft.SemanticKernel.Connectors.AI.LLama.ChatCompletion;
namespace LLamaSharp.SemanticKernel.ChatCompletion;


/// <summary> /// <summary>
/// Default HistoryTransform Patch /// Default HistoryTransform Patch


+ 1
- 1
LLama.SemanticKernel/ChatCompletion/LLamaSharpChatCompletion.cs View File

@@ -9,7 +9,7 @@ using System.Text;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;


namespace Microsoft.SemanticKernel.Connectors.AI.LLama.ChatCompletion;
namespace LLamaSharp.SemanticKernel.ChatCompletion;


/// <summary> /// <summary>
/// LLamaSharp ChatCompletion /// LLamaSharp ChatCompletion


+ 1
- 1
LLama.SemanticKernel/ChatCompletion/LLamaSharpChatMessage.cs View File

@@ -1,6 +1,6 @@
using Microsoft.SemanticKernel.AI.ChatCompletion; using Microsoft.SemanticKernel.AI.ChatCompletion;


namespace Microsoft.SemanticKernel.Connectors.AI.LLama.ChatCompletion;
namespace LLamaSharp.SemanticKernel.ChatCompletion;


/// <summary> /// <summary>
/// LLamaSharp Chat Message /// LLamaSharp Chat Message


+ 1
- 1
LLama.SemanticKernel/ChatCompletion/LLamaSharpChatResult.cs View File

@@ -2,7 +2,7 @@
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Text; using System.Text;


namespace Microsoft.SemanticKernel.Connectors.AI.LLama.ChatCompletion;
namespace LLamaSharp.SemanticKernel.ChatCompletion;


internal sealed class LLamaSharpChatResult : IChatStreamingResult internal sealed class LLamaSharpChatResult : IChatStreamingResult
{ {


+ 1
- 1
LLama.SemanticKernel/ExtensionMethods.cs View File

@@ -1,7 +1,7 @@
using Microsoft.SemanticKernel.AI.ChatCompletion; using Microsoft.SemanticKernel.AI.ChatCompletion;
using Microsoft.SemanticKernel.AI.TextCompletion; using Microsoft.SemanticKernel.AI.TextCompletion;


namespace Microsoft.SemanticKernel.Connectors.AI.LLama;
namespace LLamaSharp.SemanticKernel;


internal static class ExtensionMethods internal static class ExtensionMethods
{ {


+ 1
- 1
LLama.SemanticKernel/LLamaSharp.SemanticKernel.csproj View File

@@ -2,7 +2,7 @@


<PropertyGroup> <PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0;net7.0</TargetFrameworks> <TargetFrameworks>netstandard2.0;net6.0;net7.0</TargetFrameworks>
<RootNamespace>Microsoft.SemanticKernel.Connectors.AI.LLama</RootNamespace>
<RootNamespace>LLamaSharp.SemanticKernel</RootNamespace>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<LangVersion>10</LangVersion> <LangVersion>10</LangVersion>
<Platforms>AnyCPU;x64;Arm64</Platforms> <Platforms>AnyCPU;x64;Arm64</Platforms>


+ 1
- 1
LLama.SemanticKernel/TextCompletion/LLamaSharpTextCompletion.cs View File

@@ -2,7 +2,7 @@
using LLama.Abstractions; using LLama.Abstractions;
using Microsoft.SemanticKernel.AI.TextCompletion; using Microsoft.SemanticKernel.AI.TextCompletion;


namespace Microsoft.SemanticKernel.Connectors.AI.LLama.TextCompletion;
namespace LLamaSharp.SemanticKernel.TextCompletion;


public sealed class LLamaSharpTextCompletion : ITextCompletion public sealed class LLamaSharpTextCompletion : ITextCompletion
{ {


+ 1
- 1
LLama.SemanticKernel/TextCompletion/LLamaTextResult.cs View File

@@ -3,7 +3,7 @@ using Microsoft.SemanticKernel.Orchestration;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Text; using System.Text;


namespace Microsoft.SemanticKernel.Connectors.AI.LLama.TextCompletion;
namespace LLamaSharp.SemanticKernel.TextCompletion;


internal sealed class LLamaTextResult : ITextStreamingResult internal sealed class LLamaTextResult : ITextStreamingResult
{ {


Loading…
Cancel
Save