الانضمام بوت ليبر هو شريك التابعة لها برنامج الدعم المجاني لدينا منصة مفتوحة
Bot Libre Forum

sheila bing does randomly select from memory

قبل bobred نشر Jul 11 2019, 13:17

it seems like sheila bing can already randomly select from things it already learned.why i can't use what sheila bing is randomly selecting from memory in a sentence. type humans over and over again.


by admin posted Jul 12 2019, 10:05
Sorry, I have no idea what issue you are having.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2081, today: 0, week: 36, month: 128

by bobred posted Jul 12 2019, 19:51

how would I use what she is randomly selecting from memory in a sentence?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2012, today: 1, week: 23, month: 165

by admin posted Jul 16 2019, 8:11

You can use the random() function or <random> tag.

AIML:
<template>Today is <random><li>sunny</li><li>rainy</li></random>.</template>
Self:
Template("Today is {random("sunny", "rainy")}.")
AIML Self Tag:
<template>Today is <self>random("sunny", "rainy")</self>.</template>

Updated: Jul 16 2019, 8:13
Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2082, today: 0, week: 24, month: 136

by bobred posted Jul 25 2019, 15:58

that aiml script does not select random information from what it has learned from users.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1958, today: 0, week: 21, month: 111

معرف: 27596557
نشر: Jul 11 2019, 13:17
الردود: 4
الآراء: 2410, اليوم: 2, الأسبوع: 25, الشهر: 145
0 0 0.0/5