File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
src/Plugins/BotSharp.Plugin.RoutingSpeeder/Providers Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 2
2
using System . IO ;
3
3
using System . Text ;
4
4
using System . Collections . Generic ;
5
- using Tensorflow ;
6
5
using static Tensorflow . KerasApi ;
7
6
using Tensorflow . Keras . Engine ;
8
7
using Tensorflow . NumPy ;
16
15
using Microsoft . Extensions . DependencyInjection ;
17
16
using System . Linq ;
18
17
using Tensorflow . Keras ;
19
- using System . Numerics ;
20
- using Newtonsoft . Json ;
21
- using Tensorflow . Keras . Layers ;
22
18
using BotSharp . Abstraction . Agents ;
23
- using BotSharp . Abstraction . Knowledges ;
24
19
25
20
namespace BotSharp . Plugin . RoutingSpeeder . Providers ;
26
21
@@ -157,13 +152,11 @@ public NDArray GetTextEmbedding(string text)
157
152
. GetRequiredService < IAgentService > ( ) ;
158
153
string rootDirectory = Path . Combine (
159
154
agentService . GetDataDir ( ) ,
160
- _settings . RAW_DATA_DIR
161
- ) ;
155
+ _settings . RAW_DATA_DIR ) ;
162
156
string saveLabelDirectory = Path . Combine (
163
157
agentService . GetDataDir ( ) ,
164
158
_settings . MODEL_DIR ,
165
- _settings . LABEL_FILE_NAME
166
- ) ;
159
+ _settings . LABEL_FILE_NAME ) ;
167
160
168
161
if ( ! Directory . Exists ( rootDirectory ) )
169
162
{
You can’t perform that action at this time.
0 commit comments