Skip to content

Commit f7f9e96

Browse files
author
Wenbo Cao
committed
remove unused libraries
1 parent 3105760 commit f7f9e96

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/Plugins/BotSharp.Plugin.RoutingSpeeder/Providers/IntentClassifier.cs

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.IO;
33
using System.Text;
44
using System.Collections.Generic;
5-
using Tensorflow;
65
using static Tensorflow.KerasApi;
76
using Tensorflow.Keras.Engine;
87
using Tensorflow.NumPy;
@@ -16,11 +15,7 @@
1615
using Microsoft.Extensions.DependencyInjection;
1716
using System.Linq;
1817
using Tensorflow.Keras;
19-
using System.Numerics;
20-
using Newtonsoft.Json;
21-
using Tensorflow.Keras.Layers;
2218
using BotSharp.Abstraction.Agents;
23-
using BotSharp.Abstraction.Knowledges;
2419

2520
namespace BotSharp.Plugin.RoutingSpeeder.Providers;
2621

@@ -157,13 +152,11 @@ public NDArray GetTextEmbedding(string text)
157152
.GetRequiredService<IAgentService>();
158153
string rootDirectory = Path.Combine(
159154
agentService.GetDataDir(),
160-
_settings.RAW_DATA_DIR
161-
);
155+
_settings.RAW_DATA_DIR);
162156
string saveLabelDirectory = Path.Combine(
163157
agentService.GetDataDir(),
164158
_settings.MODEL_DIR,
165-
_settings.LABEL_FILE_NAME
166-
);
159+
_settings.LABEL_FILE_NAME);
167160

168161
if (!Directory.Exists(rootDirectory))
169162
{

0 commit comments

Comments
 (0)