BotSharp/BotSharp.Core/Abstractions/IBotPlatform.cs
2018-08-23 07:25:55 -05:00

27 lines
714 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);
Agent LoadAgentFromFile<TAgentImporter>(string dataDir, AgentImportHeader agentHeader) where TAgentImporter : IAgentImporter, new();
AIResponse TextRequest(AIRequest request);
Task Train();
}
}