jsonfor serializing the Adapt Intent Parser output, and
sysfor reading in command line arguments.
collectionof weather types. These act as a query parameter on a Weather Intent.
Will it rain in Seattle tomorrow?
collectionof weather types can then be used to determine whether that weather type is occurring in Seattle.
collectionof locations is declared. These also act as a query parameter on a Weather Intent, and can be used in combination with the weather type
intent parser. The
intent parseris named
WeatherIntentand requires both a
Location, and can optionally include a
intent parserwith the
engine.determine_intent(). This function returns a generator, and we then use the generator to iterate through the results.
stdout- you can use it to build all sorts of tools.