Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
AIML で 1 つの質問に対してランダムな回答を与えることはできますか? 「こんにちは」の場合は、「ねえ」、「こんにちは」、「こんにちは」などのランダムな返信が必要です。
AIML は、チャットボットの作成に使用できます。ただし、ユーザーが尋ねる可能性のあるすべての質問のテンプレートを作成する必要があります。AIML ランダム応答の例を次に示します。
<pattern>HI</pattern> <template> <random> <li> Hello! </li> <li> Hi </li> <li> Hey </li> </random>