PatternMatchingModel.FromJSONFileStream(Stream) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.