using System;
using System.Collections.Generic;
using System.Text;

namespace ProxyTunnel.Models
{
    /// <summary>
    /// Intent information on the current Bot exchange response
    /// </summary>
    public class IntentInfo
    {
        /// <summary>
        /// A string identification of the current intent recognized by the bot
        /// </summary>
        public string Intent { get; set; }

        /// <summary>
        /// A string identification of the current context known by the bot (context of the intent)
        /// </summary>
        public string Context { get; set; }

        /// <summary>
        /// Level of confidence in the Intent being correctly identified
        /// </summary>
        public float IntentConfidence { get; set; }

        /// <summary>
        /// The last user input transcript
        /// </summary>
        public string LastUserUtterance { get; set; }

        /// <summary>
        /// Slot name and values for the current intent recognition
        /// </summary>
        public Dictionary<string,object> Slots { get; set; }

        public IntentInfo()
        {
            Slots = new Dictionary<string, object>();
        }
    }
}
