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 { /// /// Load agent profile /// /// agentId, clientAccessToken, developerAccessToken /// Agent LoadAgent(string id); /// /// Load agent from files. /// There must contain a meta.json /// /// /// Agent LoadAgentFromFile(string dataDir); AIResponse TextRequest(AIRequest request); Task Train(BotTrainOptions options); } }