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

27 lines
676 B
C#

using Bot.Rasa.Intents;
using Bot.Rasa.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace Bot.Rasa.Adapters.Dialogflow
{
public class DialogflowIntentResponse
{
public string Id { get; set; }
public bool ResetContexts { get; set; }
public string Action { get; set; }
public List<AIContext> AffectedContexts { get; set; }
public List<DialogflowIntentResponseParameter> Parameters { get; set; }
public List<DialogflowIntentResponseMessage> MessageList { get; set; }
public DialogflowIntentResponse()
{
Id = Guid.NewGuid().ToString();
}
}
}