જોડાવા બોટ કાવ્ય માતાનો જીવનસાથી અને સંલગ્ન કાર્યક્રમ અને આધાર આપે છે અમારા મફત ઓપન પ્લેટફોર્મ
Bot Libre Forum : random remembered

RE: random remembered

દ્વારા admin પોસ્ટ Sep 25 2018, 9:15

For also remembering like vs dislike, you would need another property to store this.

Something like.

<category>
<pattern>who lives * you</pattern>
<template>I <self>if (#self.likesCountry == null) { #self.likesCountry = random(true, false); }; if (#self.likesCountry) { "" } else { "do not" }</self> like <self>if (#self.country == null) { #self.country = random("USA", "Canada", "Mexico"); }; #self.country</self></template>
</category>

For exporting knowledge, you can export knowledge as JSON data from the bot's Knowledge page.


ને: 23744066
પોસ્ટ: Sep 25 2018, 9:15
સુધારાશે: Sep 25 2018, 9:16
જવાબો: 0
જોવાઈ: 1882, આજે: 3, સપ્તાહ: 8, મહિને: 27
0 0 0.0/5