3

I have created a restaurant bot using python using some Training Data(common_Examples). Till now it's fine, but there are many intents with some similarity.

While i'm going through the RASA_NLU site, I have recognized a number of entity_synonyms that could be useful. I can't seem to find any examples on the web. Specifically, I'm looking for example usage or material on entity_synonyms. Any help would be appreciated.

Peter Brockmann
  • 3,594
  • 3
  • 28
  • 28

2 Answers2

2

I found a tutorial explaining how entity synonyms can be used. It uses a json entity synonym file and loads it into the rasa nlu.

Building a chatbot using rasa stack intro and tips

Also for general usage of entity synonyms you can refer the official documentation they have an example there

https://nlu.rasa.com/dataformat.html?highlight=entity%20synonyms#entity-synonyms

  • 1
    I have followed this format: "rasa_nlu_data": { "common_examples": [ { "text":"I want to look up Chinese restaurant", "intent":"Rest_srch", "entity":[{"start":19,"value":"chinese","end":26}] } ] } } How to use entity-synonym in it. – vikram kumar May 02 '18 at 12:45
1

You may take a look at how Chatito translates training sentences into a rasa-compliant JSON. It's pretty staightforward, and documented as well.

Besides, I would recommend this tool for the whole training of your bot, not just to learn Rasa syntax.

gsid
  • 470
  • 4
  • 6