Exemplo n.º 1
0
 /// <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));
 }
Exemplo n.º 2
0
 /// <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));
 }
Exemplo n.º 3
0
 /// <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));
 }