dialogy.plugins.text.lb_plugin package

Module contents

class DucklingPluginLB(dimensions, timezone, timeout=0.5, url='http://0.0.0.0:8000/parse', locale='en_IN', datetime_filters=None, dest=None, guards=None, reference_time_column='reftime', input_column='alternatives', output_column=None, use_transform=False, debug=False)[source]

Bases: dialogy.plugins.text.duckling_plugin.DucklingPlugin

utility(input_, output)[source]

Produces Duckling entities, runs with a Workflow’s run method.

Parameters

argbrightons – Expects a tuple of Tuple[natural language for parsing entities, reference time in milliseconds, locale]

Returns

A list of duckling entities.

Return type

List[BaseEntity]