下载的开放源 的机器人自由社会版 和安装机器人自由于你自己的服务器
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: 1516, today: 1, week: 8, month: 22

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: 1420, today: 0, week: 3, month: 14

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: 1509, today: 0, week: 9, month: 21

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: 1397, today: 1, week: 11, month: 22

Id: 27596557
发布: Jul 11 2019, 13:17
答复: 4
的风景: 1738, 今天: 3, 周: 7, 一个月: 20
0 0 0.0/5