public ContentSearchService( IIntelligentTaggingSettings settings, IContentSearchWrapper contentSearch) { Settings = settings; ContentSearch = contentSearch; }
public IntelligentTaggingController( IWebUtilWrapper webUtil, ISitecoreDataWrapper dataWrapper, IIntelligentTaggingSettings settings, ISetupInformationFactory setupFactory, ISetupService setupService, IContentSearchWrapper contentSearch, INaturalLanguageClassifierService naturalLanguageClassifier, IContentService contentService, IContentSearchService contentSearchService, IClassifierFactory classifierFactory) { WebUtil = webUtil; DataWrapper = dataWrapper; Settings = settings; SetupFactory = setupFactory; SetupService = setupService; ContentSearch = contentSearch; NaturalLanguageClassifier = naturalLanguageClassifier; ContentService = contentService; ContentSearchService = contentSearchService; ClassifierFactory = classifierFactory; Id = WebUtil.GetQueryString("id"); Language = WebUtil.GetQueryString("language"); Database = WebUtil.GetQueryString("db"); }
public RebuildIndexIntent( IContentSearchWrapper searchWrapper, IIntentOptionSetFactory optionSetFactory, IConversationResponseFactory responseFactory, IOleSettings settings) : base(optionSetFactory, responseFactory, settings) { ContentSearchWrapper = searchWrapper; }
public SearchService( ISitecoreDataWrapper dataWrapper, IIntelligentSearchSettings settings, IContentSearchWrapper contentSearch) { DataWrapper = dataWrapper; Settings = settings; ContentSearch = contentSearch; }
public UnlockItemsIntent( IAuthenticationWrapper authWrapper, IContentSearchWrapper searchWrapper, IIntentInputFactory inputFactory, IConversationResponseFactory responseFactory, IOleSettings settings) : base(inputFactory, responseFactory, settings) { AuthenticationWrapper = authWrapper; ContentSearchWrapper = searchWrapper; }
public LockedItemCountIntent( IAuthenticationWrapper authWrapper, IContentSearchWrapper searchWrapper, IIntentOptionSetFactory optionSetFactory, IConversationResponseFactory responseFactory, IOleSettings settings) : base(optionSetFactory, responseFactory, settings) { AuthenticationWrapper = authWrapper; ContentSearchWrapper = searchWrapper; }
public RebuildIndexIntent( IContentSearchWrapper searchWrapper, IIntentInputFactory inputFactory, IConversationResponseFactory responseFactory, IParameterResultFactory resultFactory, IOleSettings settings) : base(inputFactory, responseFactory, settings) { ContentSearchWrapper = searchWrapper; ConversationParameters.Add(new IndexParameter(IndexKey, inputFactory, searchWrapper, resultFactory)); }
public UnlockItemsIntent( ITextTranslatorWrapper translator, IAuthenticationWrapper authWrapper, IContentSearchWrapper searchWrapper, IIntentOptionSetFactory optionSetFactory, IConversationResponseFactory responseFactory, IOleSettings settings) : base(optionSetFactory, responseFactory, settings) { Translator = translator; AuthenticationWrapper = authWrapper; ContentSearchWrapper = searchWrapper; }
public ImageSearchService( IContentSearchWrapper contentSearch, ISitecoreDataWrapper dataWrapper, IImageSearchSettings imageSearchSettings, IImageDescriptionFactory imageDescriptionFactory, ICognitiveImageAnalysisFactory imageAnalysisFactory) { ContentSearch = contentSearch; DataWrapper = dataWrapper; ImageSearchSettings = imageSearchSettings; ImageDescriptionFactory = imageDescriptionFactory; ImageAnalysisFactory = imageAnalysisFactory; }
public IndexParameter( string paramName, IIntentInputFactory inputFactory, IContentSearchWrapper searchWrapper, IParameterResultFactory resultFactory) { ParamName = paramName; ParamMessage = Translator.Text("Chat.Parameters.IndexParameterRequest"); IntentInputFactory = inputFactory; SearchWrapper = searchWrapper; ResultFactory = resultFactory; IsOptional = false; }
public ContentService( ISitecoreDataWrapper dataWrapper, IIntelligentTaggingSettings settings, IContentSearchWrapper contentSearch, IContentMappingFactory contentMappingFactory, IClassifierFactory classifierFactory) { DataWrapper = dataWrapper; Settings = settings; ContentSearch = contentSearch; ContentMappingFactory = contentMappingFactory; ClassifierFactory = classifierFactory; }
public IntelligentMediaSearchService( IContentSearchWrapper contentSearch, ISitecoreDataWrapper dataWrapper, IIntelligentMediaSettings settings, IImageDescriptionFactory imageDescriptionFactory, IImageAnalysisFactory imageAnalysisFactory, IMediaWrapper mediaWrapper) { ContentSearch = contentSearch; DataWrapper = dataWrapper; Settings = settings; ImageDescriptionFactory = imageDescriptionFactory; ImageAnalysisFactory = imageAnalysisFactory; MediaWrapper = mediaWrapper; }
public SetupService( IMicrosoftCognitiveServicesApiKeys mscsApiKeys, ILuisService luisService, IOleSettings oleSettings, ISitecoreDataWrapper dataWrapper, IContentSearchWrapper contentSearch, IPublishWrapper publishWrapper, HttpContextBase context ) { MSCSApiKeys = mscsApiKeys; LuisService = luisService; OleSettings = oleSettings; Context = context; DataWrapper = dataWrapper; ContentSearch = contentSearch; PublishWrapper = publishWrapper; }
public WatsonClassifier(IServiceProvider provider, Item classifierItem) : base(provider, classifierItem) { ContentSearch = provider.GetService <IContentSearchWrapper>(); DataWrapper = provider.GetService <ISitecoreDataWrapper>(); ContentService = provider.GetService <IContentService>(); ContentSearchService = provider.GetService <IContentSearchService>(); NaturalLanguageClassifier = provider.GetService <INaturalLanguageClassifierService>(); ClassifierId = GetString(classifierItem, Settings.ClassifierIdFieldId); Language = GetID(classifierItem, Settings.ClassifierLanguageFieldId); var languageItem = classifierItem.Database.GetItem(Language); LanguageCode = GetString(languageItem, Settings.EnumerationValueFieldId); Created = GetDate(classifierItem, Settings.ClassifierCreatedFieldId); var typeItems = GetDelimitedItems(classifierItem, Settings.LearnedTypesFieldId); ContentMappings = typeItems .Select(a => Mappingfactory.Create(a)) .Where(b => b != null) .ToList(); ItemTrainingCount = GetInt(classifierItem, Settings.ItemTrainingCountFieldId); ItemTestingCount = GetInt(classifierItem, Settings.ItemTestingCountFieldId); TrainingData = GetString(classifierItem, Settings.TrainingDataFieldId); }
public SearchService( IContentSearchWrapper contentSearch) { ContentSearch = contentSearch; }