Delen via


PatternMatchingModel.FromJSONFileStream(Stream) Method

Definition

Creates a PatternMatchingModel using the specified istream pointing to an .json file in the LUIS json format. This assumes the stream is already open and has permission to read.

public static Microsoft.CognitiveServices.Speech.Intent.PatternMatchingModel FromJSONFileStream (System.IO.Stream iStream);
static member FromJSONFileStream : System.IO.Stream -> Microsoft.CognitiveServices.Speech.Intent.PatternMatchingModel
Public Shared Function FromJSONFileStream (iStream As Stream) As PatternMatchingModel

Parameters

iStream
Stream

A stream that represents a '.json' file.

Returns

A shared pointer to pattern matching model.

Applies to