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;
|
2018-08-13 04:14:02 +00:00
|
|
|
|
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);
|
2018-08-13 04:14:02 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|