BotSharp/BotSharp.Core/Abstractions/INlpTrain.cs

23 lines
650 B
C#
Raw Normal View History

2018-10-03 06:00:07 +00:00
using BotSharp.Core.Engines;
using BotSharp.Platform.Models;
2018-10-03 17:21:19 +00:00
using BotSharp.Platform.Models.MachineLearning;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace BotSharp.Core.Abstractions
{
public interface INlpTrain : INlpPipeline
{
/// <summary>
/// Process
/// </summary>
/// <param name="agent"></param>
/// <param name="doc">Intermediate result</param>
/// <param name="meta">Meta data which is packed to model</param>
/// <returns></returns>
2018-10-03 06:00:07 +00:00
Task<bool> Train(AgentBase agent, NlpDoc doc, PipeModel meta);
}
}