I am migrating my app from LUIS to RASA. Apart from the output API LUis has another api for Lists of all the intents and the entities.
can you tell me if I want the list of intents and entities as api. How to do that???
Luis will have something Like that in training data:
This is just an example for you to understand.
It will give the similar list of intents and entities as api also. I want that.
did you already read our migration guide??
Let me know if this helps you.
I have read the migration guide. Nothing is there about that API.
I have created a flask app and used luis’s training data to generate the API I want.
I am not sure what you are asking. Do you want to know if Rasa offers an api to get all the intents?
@EPedrotti Yes. A list of all entities and intents.
You can do so, by using below code snippet.
from rasa.core.domain import Domain
domain = Domain.load("domain.yml")
print('All intent ',domain.intents)
print('All entities ',domain.entities)
Likewise you can access all other information also…
How to get the same from a trained model? What odes domain.yml represent.
It gives a list of intents and entities not relevant to what i trained on.
Was there ever any answer to this? It is very useful to be able to extract this information from the model, and quite frustrating that it is not a bit easier to do so.
It looks like you’re looking for the
/domain endpoint within the Rasa API. This contains lists of intents, entities, slots, responses and actions:
You just need to make sure you run Rasa with
--enable-api if using Rasa Open Source, and add the
/core prefix to the URL if using Rasa X (e.g.