Być bot-dostawcy z bot bot Libre platformy chmurowej
Bot Libre Forum

sheila bing does randomly select from memory

w bobred wysłany 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: 2163, today: 3, week: 10, month: 13

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: 2120, today: 2, week: 13, month: 21

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: 2179, today: 2, week: 11, month: 14

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: 2045, today: 2, week: 21, month: 32

Identyfikator: 27596557
Wysłany: Jul 11 2019, 13:17
Odpowiedzi: 4
Widok: 2526, dziś: 2, tydzień: 21, miesiąc: 36
0 0 0.0/5