Domain
Annotation | <Domain> |
---|---|
Definition | Used to enable or disable domain-specific dialogs for users. |
Attributes | A <Domain> element MUST contain an Add OR Remove attribute that specifies a domain name. |
Occurrence | One or more <Domain> element MAY occur as children of <Response> element. |
The Domain
adapter is used to specify a domain name for a user that may enable or disable domain-specific dialog access for the current user.
Example
<Intent Name="departmentSpecified">
<Expression Value="I am from the tech department" />
<Response>
<Domain Add="tech" />
Welcome!
</Response>
</Intent>
Example
<Intent Name="menuSelection">
<Expression Value="italian cuisine" />
<Response>
<Domain Remove="indian_cuisine" />
<Action ID="display_italian"/>
</Response>
</Intent>