protected override void HandleDownstreamVirtualCompanionExecutionContext(IVirtualCompanionExecutionContext context)
 {
     if (context.TryGetAudioInputFeature("en", out var audio))
     {
         // convert audio to text
         context.AddTextInputFeature("en", "Hello World");
     }
 }
        protected override void HandleDownstreamVirtualCompanionExecutionContext(IVirtualCompanionExecutionContext context)
        {
            if (!context.TryGetTextInputFeature("en", out _))
            {
                var features  = context.GetFeatures <TextInputFeature>();
                var textValue = features?.FirstOrDefault()?.Text;

                // translate text value
                context.AddTextInputFeature("en", "Hello World");
            }
        }
        public static void AddTextInputFeature(this IVirtualCompanionExecutionContext context, string culture, string text)
        {
            var cultureInfo = CultureInfo.GetCultureInfo(culture);

            context.AddTextInputFeature(cultureInfo, text);
        }