BotSharp/Bot.Rasa/Consoles/IAgentImporter.cs
haiping008@gmail.com 33d42ae035 1. Added context in/ out, lifespan.
2. Import agent in Dialogflow format.
3. Lazy training per input contexts.
2018-03-21 16:07:43 -05:00

23 lines
560 B
C#

using Bot.Rasa.Agents;
using System;
using System.Collections.Generic;
using System.Text;
namespace Bot.Rasa.Consoles
{
public interface IAgentImporter
{
/// <summary>
/// Load agent summary
/// </summary>
/// <param name="agentId">agent guid or name</param>
/// <param name="agentDir"></param>
/// <returns></returns>
Agent LoadAgent(string agentId, string agentDir);
void LoadEntities(Agent agent, string agentDir);
void LoadIntents(Agent agent, string agentDir);
}
}