BotSharp/BotSharp.Core/Abstractions/IBotPlatform.cs

24 lines
542 B
C#
Raw Normal View History

using BotSharp.Core.Agents;
using BotSharp.Core.Models;
using Newtonsoft.Json.Linq;
2018-07-12 15:07:05 +00:00
using System;
2018-05-22 00:39:33 +00:00
using System.Collections.Generic;
using System.Text;
namespace BotSharp.Core.Engines
{
2018-06-13 12:23:03 +00:00
public interface IBotPlatform
2018-05-22 00:39:33 +00:00
{
/// <summary>
/// Load agent profile
/// </summary>
/// <param name="id">agentId, clientAccessToken, developerAccessToken</param>
/// <returns></returns>
Agent LoadAgent(string id);
2018-07-12 15:07:05 +00:00
AIResponse TextRequest(AIRequest request);
2018-07-12 15:07:05 +00:00
void Train();
2018-05-22 00:39:33 +00:00
}
}