Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

fixed xml2json and json2xml scripts to support new WA output format.#386

Open
samimarreed wants to merge 1 commit intoIBM:develfrom
samimarreed:align-output-node-with-wa-schema
Open

fixed xml2json and json2xml scripts to support new WA output format.#386
samimarreed wants to merge 1 commit intoIBM:develfrom
samimarreed:align-output-node-with-wa-schema

Conversation

@samimarreed
Copy link
Copy Markdown

@samimarreed samimarreed commented May 31, 2020

WA has new output schema, which looks like this :

"output": {
            "generic": [
                {
                    "values": [
                        {
                            "text": "val1"
                        },
                        {
                            "text": "val2"
                        }
                    ],
                    "selection_policy": "random",
                    "response_type": "text"
                }
            ]
}        

this pull requests fixes the scripts ( xml2json and json2xml ) to support this change.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants