BotSharp/BotSharp.Core/Abstractions/IBotPlatform.cs
2018-08-08 16:39:00 -05:00

25 lines
572 B
C#

using BotSharp.Core.Agents;
using BotSharp.Core.Models;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace BotSharp.Core.Engines
{
public interface IBotPlatform
{
/// <summary>
/// Load agent profile
/// </summary>
/// <param name="id">agentId, clientAccessToken, developerAccessToken</param>
/// <returns></returns>
Agent LoadAgent(string id);
AIResponse TextRequest(AIRequest request);
Task Train();
}
}