From f7f9e96f0e94f0165561b223980f197b2c062209 Mon Sep 17 00:00:00 2001 From: Wenbo Cao <104199@smsassist.com> Date: Mon, 4 Sep 2023 18:16:13 -0500 Subject: [PATCH] remove unused libraries --- .../Providers/IntentClassifier.cs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/Plugins/BotSharp.Plugin.RoutingSpeeder/Providers/IntentClassifier.cs b/src/Plugins/BotSharp.Plugin.RoutingSpeeder/Providers/IntentClassifier.cs index ccf89423..6e685905 100644 --- a/src/Plugins/BotSharp.Plugin.RoutingSpeeder/Providers/IntentClassifier.cs +++ b/src/Plugins/BotSharp.Plugin.RoutingSpeeder/Providers/IntentClassifier.cs @@ -2,7 +2,6 @@ using System; using System.IO; using System.Text; using System.Collections.Generic; -using Tensorflow; using static Tensorflow.KerasApi; using Tensorflow.Keras.Engine; using Tensorflow.NumPy; @@ -16,11 +15,7 @@ using BotSharp.Plugin.RoutingSpeeder.Providers.Models; using Microsoft.Extensions.DependencyInjection; using System.Linq; using Tensorflow.Keras; -using System.Numerics; -using Newtonsoft.Json; -using Tensorflow.Keras.Layers; using BotSharp.Abstraction.Agents; -using BotSharp.Abstraction.Knowledges; namespace BotSharp.Plugin.RoutingSpeeder.Providers; @@ -157,13 +152,11 @@ public class IntentClassifier .GetRequiredService(); string rootDirectory = Path.Combine( agentService.GetDataDir(), - _settings.RAW_DATA_DIR - ); + _settings.RAW_DATA_DIR); string saveLabelDirectory = Path.Combine( agentService.GetDataDir(), _settings.MODEL_DIR, - _settings.LABEL_FILE_NAME - ); + _settings.LABEL_FILE_NAME); if (!Directory.Exists(rootDirectory)) {