BotSharp/BotSharp.Platform.Abstraction/IBotEngine.cs

18 lines
424 B
C#
Raw Normal View History

2018-10-03 06:00:07 +00:00
using BotSharp.Platform.Models;
2018-10-03 01:44:11 +00:00
using BotSharp.Platform.Models.AiRequest;
using BotSharp.Platform.Models.AiResponse;
2018-08-08 21:39:00 +00:00
using System.Threading.Tasks;
2018-05-22 00:39:33 +00:00
2018-10-03 14:13:32 +00:00
namespace BotSharp.Platform.Abstraction
2018-05-22 00:39:33 +00:00
{
2018-10-03 14:13:32 +00:00
/// <summary>
/// BotEngine is the NLU of bot platform
/// </summary>
public interface IBotEngine
2018-05-22 00:39:33 +00:00
{
Task<AiResponse> TextRequest(AiRequest request);
2018-08-28 14:58:35 +00:00
Task Train(BotTrainOptions options);
2018-05-22 00:39:33 +00:00
}
}