/// <summary> /// Tests the NLU model using speech. /// </summary> /// <returns>Task to await the resulting labeled utterance.</returns> /// <param name="instance">NLU testing client instance.</param> /// <param name="speechFile">Speech file.</param> public static Task <LabeledUtterance> TestSpeechAsync(this INLUTestClient instance, string speechFile) { return(instance.TestSpeechAsync(speechFile, null)); }
/// <summary> /// Tests the NLU model using speech. /// </summary> /// <returns>Task to await the resulting labeled utterance.</returns> /// <param name="instance">NLU testing client instance.</param> /// <param name="speechFile">Speech file.</param> /// <param name="query">Query to test.</param> public static Task <LabeledUtterance> TestSpeechAsync(this INLUTestClient instance, string speechFile, JToken query) { return(instance.TestSpeechAsync(speechFile, query, CancellationToken.None)); }
/// <summary> /// Tests the NLU model. /// </summary> /// <returns>Task to await the resulting labeled utterance.</returns> /// <param name="instance">NLU testing client instance.</param> /// <param name="query">Query to test.</param> public static Task <LabeledUtterance> TestAsync(this INLUTestClient instance, JToken query) { return(instance.TestAsync(query, CancellationToken.None)); }