Created
May 28, 2016 08:57
-
-
Save plindberg/0c606b97a48c7dae8b58028df8fb6702 to your computer and use it in GitHub Desktop.
Capture anything using IBM Watson Dialog.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<dialog xsi:noNamespaceSchemaLocation="WatsonDialogDocument_1.0.xsd" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<flow> | |
<folder label="Main"> | |
<output> | |
<prompt> | |
<item>Write stuff and I’ll echo it back to you.</item> | |
</prompt> | |
</output> | |
<getUserInput> | |
<input> | |
<grammar> | |
<item>(ANYTHING)={anything}</item> | |
</grammar> | |
<action varName="anything" operator="SET_TO">{anything.source}</action> | |
<output> | |
<prompt> | |
<item>{anything}</item> | |
</prompt> | |
</output> | |
</input> | |
</getUserInput> | |
</folder> | |
</flow> | |
<entities> | |
<entity name="ANYTHING"> | |
<value> | |
<grammar> | |
<item>!.*</item> | |
</grammar> | |
</value> | |
</entity> | |
</entities> | |
<variables> | |
<var_folder name="Home"> | |
<var name="anything" type="TEXT" /> | |
</var_folder> | |
</variables> | |
</dialog> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment