الترقية إلى خدمة تجارية Bot Libre for Business فقط 99 سنت شهريا
Bot Libre Forum : Difference between required topic and exclusive topic

RE: Difference between required topic and exclusive topic

قبل admin نشر Dec 7 2018, 9:10

You can clear the topic using the Self code "conversation.topic = null" either from a Template or a think block.

You can set the initial topic in a greeting.

greeting: Welcome, lets talk about sports.
topic: sports

clear the topic
template: Okay, I was getting tired of talking about {conversation.topic} anyway. {think(conversation.topic=null)}
condition: conversation.topic != null

clear the topic 2
Okay, I was getting tired of talking about it anyway.
think: conversation.topic = null;


معرف: 25218194
نشر: Dec 7 2018, 9:10
الردود: 0
الآراء: 359, اليوم: 1, الأسبوع: 7, الشهر: 11
أنا متأكد
العلم بعد اعتداء أو انتهاك قوانين الموقع