rasa_language

An attempt of crafting a specific purpose language for describing rasa chatbots


License
Apache-2.0
Install
pip install rasa_language==0.0.1

Documentation

rasa-chatbot-description-language

Build Status

An attempt of crafting a specific purpose language for describing rasa chatbots

Features

The goal of the project is to provide a simplified format for rasa training data merging all the possible features in only one file. Here their format:

Intents

[intent: hello]
> hi
> how are you?
> hey there

Utters

[utter: goodbye]
- bye
- hasta la vista
- bis bald

Synonyms

They could be defined inside the content of intents and utters, like this:

[intent: programming]
- I love {elm}{lang:C|Python} 

or in a separated block:

[synonym: elm]
- C
- Python

Entities

They could be defined inside the content of intents and utters, like this:

[intent: movies]
- I love {Interstellar}{movie} 

Stories

[star-wars]                                                                     
> I don't believe.
- I find our lack of faith disturbing.

How to execute

First of all, it is needed to have a bot created with Rasa. This step is explained here.

At the root directory of the bot, execute Na raiz do diretório do bot, execute o