BotSharp/Bot.Rasa/Adapters/Dialogflow/DialogflowIntent.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

26 lines
772 B
C#

using Bot.Rasa.Intents;
using System;
using System.Collections.Generic;
using System.Text;
namespace Bot.Rasa.Adapters.Dialogflow
{
public class DialogflowIntent
{
public string Id { get; set; }
public string Name { get; set; }
public bool Auto { get; set; }
/// <summary>
/// Input Contexts
/// </summary>
public List<String> ContextList { get; set; }
public List<DialogflowIntentExpression> UserSays { get; set; }
public List<DialogflowIntentResponse> Responses { get; set; }
public int Priority { get; set; }
public bool WebhookUsed { get; set; }
public bool FallbackIntent { get; set; }
public List<DialogflowIntentEvent> Events { get; set; }
}
}