18 lines
424 B
C#
18 lines
424 B
C#
using BotSharp.Platform.Models;
|
|
using BotSharp.Platform.Models.AiRequest;
|
|
using BotSharp.Platform.Models.AiResponse;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BotSharp.Platform.Abstraction
|
|
{
|
|
/// <summary>
|
|
/// BotEngine is the NLU of bot platform
|
|
/// </summary>
|
|
public interface IBotEngine
|
|
{
|
|
Task<AiResponse> TextRequest(AiRequest request);
|
|
|
|
Task Train(BotTrainOptions options);
|
|
}
|
|
}
|