@pytest.fixture(scope='session')
def duckling_interpreter(component_builder, tmpdir_factory):
    conf = RasaNLUModelConfig({'pipeline': [{'name': 'ner_duckling_http'}]})
    return utilities.interpreter_for(component_builder, data='./data/examples/rasa/demo-rasa.json', path=tmpdir_factory.mktemp('projects').strpath, config=conf)
@pytest.fixture(scope='session')
def duckling_interpreter(component_builder, tmpdir_factory):
    conf = RasaNLUModelConfig({'pipeline': [{'name': 'ner_duckling_http'}]})
    return utilities.interpreter_for(component_builder, data='./data/examples/rasa/demo-rasa.json', path=tmpdir_factory.mktemp('projects').strpath, config=conf)