SnipsPlatfromClient. This can be done with:
addFromVanilla. Other operations are under development.
addadds the list of values that you provide to the existing entity values.
addFromVanillaremoves all the previously injected values to the entity, and then, adds the list of values provided. Note that the entity values coming from the console will be kept.
two. Here is how the entity values will be affected after performing some injection operations:
operationsmapping to a list of operations
OperationKindis the type of injections to perform. See the Available operations section for the allowed operations.
OperationDatais a dictionary mapping an entity name to a list of values (strings).
requestInjectionmethod of the
SnipsPlatformClient. The object you need to pass follows the same structure as the JSON sent on MQTT:
trueand the path to the g2p folder:
localityentity in the
Snips Weather app:
What's the weather like in wonderland?