Purpose of the Package
Convert intents and entities defined in the Watson Assistant skill object to rasa nlu.yml file.
Given how rasa works, there is no way to translate dialog flows defined in WA into rasa stories. So this converter don’t intends to take care of dialog flows.
Installation
You can use pip:
$ pip3 install wa2rasa
Rasa and wa2rasa use common libraries, to avoid conflicts please install wa2rasa in a separate virtual environment.
Usage
Just run the following command:
$ wa2rasa convert <path_to_your_wa_object>/ <directory_to_store_rasa_nlu_file>/
Here a gif for you:
Metadata
Release files for wa2rasa 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wa2rasa-0.1.2.tar.gz | 5.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wa2rasa-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.1 kB
Release files / wa2rasa-0.1.2.tar.gz
| Download URL | wa2rasa-0.1.2.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df2b51073c1317d5bcc0e0e294853a4a4c32fdd00546145cd1d66c27652afcec
|
|
BLAKE2b-256 checksum How to use checksums |
73c2466fd01cf54d87b0c4447bc09a3b838a785969a4c1de0031881a1b135432
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.8.10 Linux/5.10.16.3-microsoft-standard-WSL2
|
Release files / wa2rasa-0.1.2-py3-none-any.whl
| Download URL | wa2rasa-0.1.2-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
198bcd1b4ae29c01cdbf83143341408cfb8cb4e3ee8415a8baedcbe6cf62f03e
|
|
BLAKE2b-256 checksum How to use checksums |
23b0ba914a55fa8b02df12388cab6b050d8be297ac78832cd7d900d714d2c3a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.8.10 Linux/5.10.16.3-microsoft-standard-WSL2
|