0

I want to use rasa as library instead of framework and using resa as library I want to train model as we train in framework using config,nlu and stories.

1 Answers1

0
import rasa

config = 'confing.yml'
training_files = './data/'
domain = 'domain.yml'
output = './models/'

rasa.train(domain, config, [training_files], output, fixed_model_name='model_name')

thanks to : How to reduce model loading time in rasa 3 python