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