条件によって処理を分岐させたい

条件によって処理を分岐する方法をご紹介します。

実装方法

<template>内に<condition><li>を記述すると条件分岐を行えます。

xAIML

実行結果

Predicate:user_sex = 男の場合

Predicate:user_sex = 女の場合

Predicate:user_sex = その他の場合