Let's get started with migrating your application from LUIS to Rasa:
Step 1: Export your Training Data from LUIS
Go to your list of LUIS applications and click on the three dots menu next to the app you want to export.
Select 'Export App'. This will download a file with a
.json extension that can be imported directly into Rasa.
Step 2: Create a Rasa Project
To create a Rasa project, run:
This will create a directory called
Remove the files in this directory, and
move your json file into this directory.
Step 3: Train your NLU model
To train a model using your LUIS data, run:
Step 4: Test your NLU model
Let's see how your NLU model will interpret some test messages. To start a testing session, run:
This will prompt your for input. Type a test message and press 'Enter'. The output of your NLU model will be printed to the screen. You can keep entering messages and test as many as you like. Press 'control + C' to quit.
Step 5: Start a Server with your NLU Model
To start a server with your NLU model, run:
This will start a server listening on port 5005.
To send a request to the server, run: