From cb0df4d4af886fd45d97eb9971b048c0855f1923 Mon Sep 17 00:00:00 2001 From: zyxucp <286513187@qq.com> Date: Wed, 23 Oct 2024 18:03:21 +0800 Subject: [PATCH] update sk and km version --- src/AntSK.Domain/AntSK.Domain.csproj | 2 ++ src/AntSK.Domain/Common/LLamaFactory/ProcessWrapper.cs | 2 +- src/AntSK.Domain/Domain/Other/BackGroundTaskHandler.cs | 3 +-- src/AntSK.Domain/Domain/Other/Bge/BgeEmbeddingConfig.cs | 2 +- src/AntSK.Domain/Domain/Other/KMExcelHandler.cs | 2 +- src/AntSK.Domain/Domain/Other/QAHandler.cs | 2 +- src/AntSK.Domain/Domain/Service/KMService.cs | 1 - src/AntSK.Domain/Domain/Service/LLamaFactoryService.cs | 3 +-- src/AntSK/Program.cs | 1 - src/Directory.Build.props | 4 ++-- 10 files changed, 10 insertions(+), 12 deletions(-) diff --git a/src/AntSK.Domain/AntSK.Domain.csproj b/src/AntSK.Domain/AntSK.Domain.csproj index 0102afd5..0d431f1b 100644 --- a/src/AntSK.Domain/AntSK.Domain.csproj +++ b/src/AntSK.Domain/AntSK.Domain.csproj @@ -29,6 +29,8 @@ + + diff --git a/src/AntSK.Domain/Common/LLamaFactory/ProcessWrapper.cs b/src/AntSK.Domain/Common/LLamaFactory/ProcessWrapper.cs index 26a5aaeb..373708b0 100644 --- a/src/AntSK.Domain/Common/LLamaFactory/ProcessWrapper.cs +++ b/src/AntSK.Domain/Common/LLamaFactory/ProcessWrapper.cs @@ -1,4 +1,4 @@ -using Amazon.Runtime.Internal.Util; + using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; diff --git a/src/AntSK.Domain/Domain/Other/BackGroundTaskHandler.cs b/src/AntSK.Domain/Domain/Other/BackGroundTaskHandler.cs index 89e102dd..691e24e7 100644 --- a/src/AntSK.Domain/Domain/Other/BackGroundTaskHandler.cs +++ b/src/AntSK.Domain/Domain/Other/BackGroundTaskHandler.cs @@ -1,5 +1,4 @@ -using Amazon.Runtime.Internal.Util; -using AntSK.BackgroundTask; +using AntSK.BackgroundTask; using AntSK.Domain.Domain.Interface; using AntSK.Domain.Domain.Model; using Microsoft.Extensions.DependencyInjection; diff --git a/src/AntSK.Domain/Domain/Other/Bge/BgeEmbeddingConfig.cs b/src/AntSK.Domain/Domain/Other/Bge/BgeEmbeddingConfig.cs index b89db1b7..189cb9aa 100644 --- a/src/AntSK.Domain/Domain/Other/Bge/BgeEmbeddingConfig.cs +++ b/src/AntSK.Domain/Domain/Other/Bge/BgeEmbeddingConfig.cs @@ -1,4 +1,4 @@ -using Microsoft.KernelMemory.AI.OpenAI; +using Microsoft.KernelMemory.AI; using Python.Runtime; using Serilog; using System; diff --git a/src/AntSK.Domain/Domain/Other/KMExcelHandler.cs b/src/AntSK.Domain/Domain/Other/KMExcelHandler.cs index dcfe4734..ca0e142e 100644 --- a/src/AntSK.Domain/Domain/Other/KMExcelHandler.cs +++ b/src/AntSK.Domain/Domain/Other/KMExcelHandler.cs @@ -1,7 +1,7 @@ using AntSK.Domain.Domain.Model.Constant; using AntSK.Domain.Utils; using Microsoft.Extensions.Logging; -using Microsoft.KernelMemory.AI.OpenAI; +using Microsoft.KernelMemory.AI; using Microsoft.KernelMemory.Configuration; using Microsoft.KernelMemory.DataFormats.Text; using Microsoft.KernelMemory.Diagnostics; diff --git a/src/AntSK.Domain/Domain/Other/QAHandler.cs b/src/AntSK.Domain/Domain/Other/QAHandler.cs index 5fb5484a..5f177da1 100644 --- a/src/AntSK.Domain/Domain/Other/QAHandler.cs +++ b/src/AntSK.Domain/Domain/Other/QAHandler.cs @@ -3,7 +3,7 @@ using AntSK.Domain.Utils; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; -using Microsoft.KernelMemory.AI.OpenAI; +using Microsoft.KernelMemory.AI; using Microsoft.KernelMemory.Configuration; using Microsoft.KernelMemory.DataFormats.Text; using Microsoft.KernelMemory.Diagnostics; diff --git a/src/AntSK.Domain/Domain/Service/KMService.cs b/src/AntSK.Domain/Domain/Service/KMService.cs index 8c741102..b77f2807 100644 --- a/src/AntSK.Domain/Domain/Service/KMService.cs +++ b/src/AntSK.Domain/Domain/Service/KMService.cs @@ -10,7 +10,6 @@ using AntSK.Domain.Utils; using AntSK.OCR; using DocumentFormat.OpenXml.Drawing.Diagrams; -using LLama; using Markdig; using Microsoft.AspNetCore.Components; using Microsoft.Extensions.Configuration; diff --git a/src/AntSK.Domain/Domain/Service/LLamaFactoryService.cs b/src/AntSK.Domain/Domain/Service/LLamaFactoryService.cs index 69e3be4a..78a0ff1b 100644 --- a/src/AntSK.Domain/Domain/Service/LLamaFactoryService.cs +++ b/src/AntSK.Domain/Domain/Service/LLamaFactoryService.cs @@ -1,5 +1,4 @@ -using Amazon.Runtime.Internal.Util; -using AntSK.Domain.Common.DependencyInjection; +using AntSK.Domain.Common.DependencyInjection; using AntSK.Domain.Domain.Interface; using AntSK.Domain.Domain.Model.Dto; using AntSK.Domain.Options; diff --git a/src/AntSK/Program.cs b/src/AntSK/Program.cs index 207182a0..efed61f2 100644 --- a/src/AntSK/Program.cs +++ b/src/AntSK/Program.cs @@ -10,7 +10,6 @@ using AntSK.plugins.Functions; using AntSK.Services.Auth; using Blazored.LocalStorage; -using LLama.Native; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Authorization; using Microsoft.AspNetCore.Mvc; diff --git a/src/Directory.Build.props b/src/Directory.Build.props index ce49b306..6af848f7 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,9 +1,9 @@ - 0.71.240820.1 + 0.90.241021.1 13.0.3 112.1.0 - 1.17.2 + 1.24.1