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 22using System . IO ;
33using System . Text ;
44using System . Collections . Generic ;
5- using Tensorflow ;
65using static Tensorflow . KerasApi ;
76using Tensorflow . Keras . Engine ;
87using Tensorflow . NumPy ;
1615using Microsoft . Extensions . DependencyInjection ;
1716using System . Linq ;
1817using Tensorflow . Keras ;
19- using System . Numerics ;
20- using Newtonsoft . Json ;
21- using Tensorflow . Keras . Layers ;
2218using BotSharp . Abstraction . Agents ;
23- using BotSharp . Abstraction . Knowledges ;
2419
2520namespace 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 {
You can’t perform that action at this time.
0 commit comments