加入机器人自由的 合作伙伴和联盟 的程序和支持我们免费开放平台
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: 1016, today: 1, week: 8, month: 9

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: 954, today: 0, week: 5, month: 6

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: 981, today: 0, week: 9, month: 10

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: 930, today: 1, week: 4, month: 4

Id: 27596557
发布: Jul 11 2019, 13:17
答复: 4
的风景: 1219, 今天: 1, 周: 6, 一个月: 7
我敢肯定
标志后的进攻,或者在违反规则网站