Dołącz do BOT Libre projekt open source na BotLibre.org
Self, AIML, and scripting : Using the "that" element

RE: Using the "that" element

w admin wysłany 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


Identyfikator: 22964702
Wysłany: Jul 26 2018, 13:24
Odpowiedzi: 0
Widok: 1836, dziś: 2, tydzień: 2, miesiąc: 12
0 0 0.0/5