الترقية إلى Platinum خدمة دعونا نبني بوت الخاص بك بالنسبة لك
Self, AIML, and scripting : Using the "that" element

RE: Using the "that" element

قبل admin نشر Jul 26 2018, 13:24

The <that> tag in AIML can also be a pattern, in this case you would need to use a pattern if the previous response was a template.

<category>
<pattern>NO</pattern>
<that>DO YOU WANT TO DIE *</that>
<template>Okay, then let's talk this out.</template>
</category>

You can also use a response list for this instead, which lets you use "next", which is a better way to define a follow-up response.

https://www.botlibre.com/forum-post?id=21832117


معرف: 22964702
نشر: Jul 26 2018, 13:24
الردود: 0
الآراء: 2522, اليوم: 2, الأسبوع: 6, الشهر: 27
0 0 0.0/5