Обновление в нашей коммерческой службе Bot Libre for Business для только $4.99 в месяц
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: 1796, today: 3, week: 14, month: 24

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: 1688, today: 3, week: 13, month: 16

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: 1774, today: 3, week: 14, month: 24

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: 1674, today: 3, week: 15, month: 26

Идентификатор: 27596557
Опубликовано: Jul 11 2019, 13:17
Ответы: 4
Вид: 2076, сегодня: 4, неделю: 20, месяц: 28
0 0 0.0/5