Task | Initialize ( string manifestFilePath ) Parses the manifest provided and registers its callbacks for dispatching. |
bool | InvokeAction ( IParameterProvider parameterProvider, string actionId, bool relaxed, float confidence, bool partial ) Invokes the method matching the specified action ID. This should NOT be called before the dispatcher is initialized. |
bool | True if all the error handlers are called and received the action ID and exception. |
Manifest Meta.Conduit.IConduitDispatcher.Manifest |
---|
The Conduit manifest which captures the structure of the voice-enabled methods. |
Task Meta.Conduit.IConduitDispatcher.Initialize ( string manifestFilePath ) |
---|
Parses the manifest provided and registers its callbacks for dispatching. Parameters manifestFilePath The path to the manifest file. |
bool Meta.Conduit.IConduitDispatcher.InvokeAction ( IParameterProvider parameterProvider, string actionId, bool relaxed, float confidence, bool partial ) |
---|
Invokes the method matching the specified action ID. This should NOT be called before the dispatcher is initialized. Parameters parameterProvider The parameter provider. actionIdThe action ID (which is also the intent name). relaxedWhen set to true, will allow matching parameters by type when the names mismatch. confidenceThe confidence level (between 0-1) of the intent that's invoking the action. partialWhether partial responses should be accepted or not Returns True if all invocations succeeded. False if at least one failed or no callbacks were found. |
bool Meta.Conduit.IConduitDispatcher.InvokeError ( string actionId, Exception exception ) |
---|
True if all the error handlers are called and received the action ID and exception. Parameters actionId ID of action that failed to execute exceptionException containing the error message Returns |