Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LUISIntentDetector"/> class.
 /// </summary>
 /// <param name="pipeline">The pipeline to add the component to.</param>
 /// <param name="configuration">The component configuration.</param>
 /// <param name="name">An optional name for the component.</param>
 public LUISIntentDetector(Pipeline pipeline, LUISIntentDetectorConfiguration configuration, string name = nameof(LUISIntentDetector))
     : base(pipeline, name)
 {
     this.configuration = configuration;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LUISIntentDetector"/> class.
 /// </summary>
 /// <param name="pipeline">The pipeline to add the component to.</param>
 /// <param name="configuration">The component configuration.</param>
 public LUISIntentDetector(Pipeline pipeline, LUISIntentDetectorConfiguration configuration)
     : base(pipeline)
 {
     this.configuration = configuration;
 }