diff --git a/dotnet/Codeblaze.SemanticKernel.Connectors.Ollama/Codeblaze.SemanticKernel.Connectors.Ollama.csproj b/dotnet/Codeblaze.SemanticKernel.Connectors.Ollama/Codeblaze.SemanticKernel.Connectors.Ollama.csproj index 47ab46c..d1d09cf 100644 --- a/dotnet/Codeblaze.SemanticKernel.Connectors.Ollama/Codeblaze.SemanticKernel.Connectors.Ollama.csproj +++ b/dotnet/Codeblaze.SemanticKernel.Connectors.Ollama/Codeblaze.SemanticKernel.Connectors.Ollama.csproj @@ -8,7 +8,7 @@ - + @@ -18,7 +18,7 @@ all - + diff --git a/dotnet/Codeblaze.SemanticKernel.Connectors.Ollama/OllamaMemoryBuilderExtensions.cs b/dotnet/Codeblaze.SemanticKernel.Connectors.Ollama/OllamaMemoryBuilderExtensions.cs index d8d6939..b45ff36 100644 --- a/dotnet/Codeblaze.SemanticKernel.Connectors.Ollama/OllamaMemoryBuilderExtensions.cs +++ b/dotnet/Codeblaze.SemanticKernel.Connectors.Ollama/OllamaMemoryBuilderExtensions.cs @@ -2,7 +2,7 @@ namespace Codeblaze.SemanticKernel.Connectors.Ollama; -#pragma warning disable SKEXP0003 +#pragma warning disable SKEXP0001 public static class OllamaMemoryBuilderExtensions { /// @@ -51,4 +51,4 @@ Uri baseUrl return builder; } } -#pragma warning enable SKEXP0003 \ No newline at end of file +#pragma warning enable SKEXP0001 \ No newline at end of file diff --git a/dotnet/Codeblaze.SemanticKernel.Console/Program.cs b/dotnet/Codeblaze.SemanticKernel.Console/Program.cs index 5004bfa..7c0a158 100644 --- a/dotnet/Codeblaze.SemanticKernel.Console/Program.cs +++ b/dotnet/Codeblaze.SemanticKernel.Console/Program.cs @@ -70,7 +70,7 @@ await AnsiConsole.Status().StartAsync("Processing...", async ctx => ctx.Spinner(Spinner.Known.Star); ctx.SpinnerStyle(Style.Parse("green")); - ctx.Status($"Processing input to generate cypher"); + ctx.Status($"Processing input"); result = await kernel.BasicPrompt(prompt); }); @@ -96,8 +96,9 @@ async Task Memory() var prompt = AnsiConsole.Prompt(new TextPrompt("What are you looking to do today?\n").PromptStyle("teal")); +#pragma warning disable SKEXP0001 IAsyncEnumerable result = null; - +#pragma warning enable SKEXP0001 await AnsiConsole.Status().StartAsync("Processing...", async ctx => { ctx.Spinner(Spinner.Known.Star); diff --git a/dotnet/Codeblaze.SemanticKernel.Console/Services/KernelService.cs b/dotnet/Codeblaze.SemanticKernel.Console/Services/KernelService.cs index 206ce43..966fc39 100644 --- a/dotnet/Codeblaze.SemanticKernel.Console/Services/KernelService.cs +++ b/dotnet/Codeblaze.SemanticKernel.Console/Services/KernelService.cs @@ -16,7 +16,7 @@ public KernelService(IConfiguration config) builder.Services.AddTransient(); - builder.AddOllamaChatCompletion(config["Ollama:Model"], config["Ollama:BaseUrlGeneration"]); + // builder.AddOllamaChatCompletion(config["Ollama:Model"], config["Ollama:BaseUrlGeneration"]); builder.AddOllamaTextGeneration(config["Ollama:Model"], config["Ollama:BaseUrlGeneration"]); _Kernel = builder.Build(); diff --git a/dotnet/Codeblaze.SemanticKernel.Console/Services/NeoMemoryService.cs b/dotnet/Codeblaze.SemanticKernel.Console/Services/NeoMemoryService.cs index e4dfa8b..1bf7b3a 100644 --- a/dotnet/Codeblaze.SemanticKernel.Console/Services/NeoMemoryService.cs +++ b/dotnet/Codeblaze.SemanticKernel.Console/Services/NeoMemoryService.cs @@ -5,7 +5,7 @@ namespace Codeblaze.SemanticKernel.Console.Services; -#pragma warning disable SKEXP0003 +#pragma warning disable SKEXP0001 public class NeoMemoryService { private readonly ISemanticTextMemory _memory; @@ -43,4 +43,4 @@ public async IAsyncEnumerable Run(string prompt) } } } -#pragma warning enable SKEXP0003 \ No newline at end of file +#pragma warning enable SKEXP0001 \ No newline at end of file diff --git a/dotnet/Codeblaze.SemanticKernel.Plugins.Neo4j/Codeblaze.SemanticKernel.Plugins.Neo4j.csproj b/dotnet/Codeblaze.SemanticKernel.Plugins.Neo4j/Codeblaze.SemanticKernel.Plugins.Neo4j.csproj index cc8b6fb..cace793 100644 --- a/dotnet/Codeblaze.SemanticKernel.Plugins.Neo4j/Codeblaze.SemanticKernel.Plugins.Neo4j.csproj +++ b/dotnet/Codeblaze.SemanticKernel.Plugins.Neo4j/Codeblaze.SemanticKernel.Plugins.Neo4j.csproj @@ -8,7 +8,7 @@ - +