示例#1
0
 public ChatScriptNodeManager(ChatModel chatModel, IExternalDataStorageService externalDataStorageService, IHubContext <NodeJSHub> nodeJsHubContext, INodeServices nodeServices, ChatConfiguration configuration)
 {
     this.ChatScriptHost   = new ChatScriptHost(chatModel, configuration);
     this.DataService      = externalDataStorageService;
     this.nodeJsHubContext = nodeJsHubContext;
     NodeServices          = nodeServices;
 }
 public IntentGatewayParser(ChatModel chatModel, IChatScriptManager chatScriptManager, TextClassificationService classificationService, IExternalDataStorageService externalDataStorageService, ChatConfiguration chatConfiguration)
 {
     this.chatModel                  = chatModel;
     this.chatScriptManager          = chatScriptManager;
     this.classificationService      = classificationService;
     this.externalDataStorageService = externalDataStorageService;
     this.chatConfiguration          = chatConfiguration;
 }
示例#3
0
        public TextClassificationService(string configFilePath, IExternalDataStorageService awsService, MemCacheService memCacheLookup)
        {
            this.AwsService      = awsService;
            this.memcacheService = memCacheLookup;

            configFileName    = Path.GetFileName(configFilePath);
            classifierConfigs = ClassifierConfigSectionMappingConfigSection.GetClassifierConfigs(configFilePath);
        }
 public FlowStepProvider(IExternalDataStorageService externalDataStorage)
 {
     this.externalDataStorageService = externalDataStorage;
 }
 public ChatScriptManager(ChatModel chatModel, IExternalDataStorageService externalDataStorageService, ChatConfiguration configuration)
 {
     ScriptHost  = new ChatScriptHost(chatModel, configuration);
     DataService = externalDataStorageService;
     ChatModel   = chatModel;
 }