https://github.com/icaropires/rasa-chatbot-description-language
An attempt of crafting a specific purpose language for describing rasa chatbots
https://github.com/icaropires/rasa-chatbot-description-language
Last synced: 6 months ago
JSON representation
An attempt of crafting a specific purpose language for describing rasa chatbots
- Host: GitHub
- URL: https://github.com/icaropires/rasa-chatbot-description-language
- Owner: icaropires
- License: apache-2.0
- Created: 2019-12-06T01:56:46.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-25T23:12:54.000Z (over 4 years ago)
- Last Synced: 2025-03-27T07:48:03.269Z (7 months ago)
- Language: Python
- Size: 41 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rasa-chatbot-description-language
[](https://travis-ci.com/icaropires/rasa-chatbot-description-language)
An attempt of crafting a specific purpose language for describing rasa chatbots
## Alert
It's an initial and experimental version, many of the rasa features are still not supported. But any contributions are welcome!
## 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 your lack of faith disturbing.
```## Installing
The package is available on pypi, so you can install with:
```
$ pip install rasa_language --user
```## Executing
First of all, it is needed to have a bot created with [Rasa](https://rasa.com/).
This step is explained [here](https://rasa.com/docs/rasa/user-guide/rasa-tutorial/).At the root directory of the bot, execute
Na raiz do diretório do bot, execute o## Contributing
Just open any Issue or Pull Request and we'll be happy to answer!