public List <AmazonSlot> ConvertSessionAttributesToSlots()
        {
            List <AmazonSlot> slotsPresent = new List <AmazonSlot>();

            foreach (KeyValuePair <string, object> attribute in attributes)
            {
                AmazonSlot slot = new AmazonSlot();
                slot.name  = attribute.Key;
                slot.value = attribute.Value.ToString();
                slotsPresent.Add(slot);
            }
            return(slotsPresent);
        }
        public void AssignParameterTypeToSlotValues()
        {
            if (slots == null)
            {
                return;
            }

            foreach (AmazonSlot slot in slots.Values)
            {
                if (slot.name.StartsWith("PAR"))
                {
                    if (slot.name == "!!PROCESSED")
                    {
                        continue;
                    }

                    if (slot.name.Contains("Int"))
                    {
                        slot.value = "int|" + slot.value;
                    }
                    if (slot.name.Contains("Str"))
                    {
                        slot.value = "string|" + slot.value;
                    }
                    if (slot.name.Contains("Date"))
                    {
                        string timeSearchString = slot.name.Substring(0, slot.name.Length - 4) + "Time";
                        slot.value = "date|" + slot.value;

                        AmazonSlot timeSlot = null;
                        if (slots.ContainsKey(timeSearchString))
                        {
                            timeSlot = slots[timeSearchString];
                        }
                        if (timeSlot != null)
                        {
                            slot.value    = slot.value + " " + timeSlot.value;
                            timeSlot.name = "!!PROCESSED";
                        }
                        else
                        {
                            slot.value = slot.value + " 00:00";
                        }
                    }
                }
            }
        }