rasa/core/server.py
async def nlu_model_and_evaluation_files_from_archive(
        zipped_model_path: Text,
        directory: Text
) -> Tuple[Text, List[Text]]:
    """Extract NLU model path and intent evaluation files zipped model.

    Returns a tuple containing the path to the nlu model and a list
    of paths to evaluation files.
    """

    # unzip and return NLU evaluation files contained in it
    unzipped_path = unpack_model(zipped_model_path, directory)

    # cast `unzipped_path` as str for py3.5 compatibility
    unzipped_path = str(unzipped_path)

    model_path = os.path.join(unzipped_path, 'nlu')
    nlu_files = await find_nlu_files_in_path(unzipped_path)

    return model_path, nlu_files
Extract NLU model path and intent evaluation files zipped model.

    Returns a tuple containing the path to the nlu model and a list
    of paths to evaluation files.
    
Extract NLU model path and intent evaluation files zipped model.
Returns a tuple containing the path to the nlu model and a list
of paths to evaluation files.
Extract NLU model path and intent evaluation files zipped model . Returns a tuple containing the path to the nlu model and a list of paths to evaluation files .
async def nlu_model_and_evaluation_files_from_archive(
        zipped_model_path: Text,
        directory: Text
) -> Tuple[Text, List[Text]]:
    unzipped_path = unpack_model(zipped_model_path, directory)
    unzipped_path = str(unzipped_path)
    model_path = os.path.join(unzipped_path, 'nlu')
    nlu_files = await find_nlu_files_in_path(unzipped_path)
    return model_path, nlu_files
async def nlu_model_and_evaluation_files_from_archive ( zipped_model_path : Text , directory : Text ) -> Tuple [ Text , List [ Text ] ] : unzipped_path = unpack_model ( zipped_model_path , directory ) unzipped_path = str ( unzipped_path ) model_path = os . path . join ( unzipped_path , 'nlu' ) nlu_files = await find_nlu_files_in_path ( unzipped_path ) return model_path , nlu_files
Extract NLU model path and intent evaluation files zipped model.
Extract NLU model path and intent evaluation files zipped model .
"""Extract NLU model path and intent evaluation files zipped model.

    Returns a tuple containing the path to the nlu model and a list
    of paths to evaluation files.
    """ # unzip and return NLU evaluation files contained in it # cast `unzipped_path` as str for py3.5 compatibility
zipped_model_path
Text
directory
Text