How to user SkillContext to pass data from VirtualAssistant to a Skill
问题 I need to share an information from my Virtual Assistant with a Skill. I try to use SkillContext, I don't get errors but in the Skill the SkillContext is empty. This is the code I use in the VirtualAssistant MainDialog::RouteAsync to set the payload Dictionary<string, JObject> dictionary = new Dictionary<string, JObject>(); dictionary.Add("userEmail", JObject.Parse("{ email: 'emiliano.carlesi@itattitude.com'}")); await _skillContextAccessor.SetAsync(dc.Context, new SkillContext(dictionary));