Upgrade to our Platinum service and let us build your bot for you
Bugs and Features

pioyu is repeating

by bobred posted Nov 29 2019, 14:07

why is my chatbot repeating herself when I press d then enter d and then enter?

here is her response.

I do not know the answer to your question Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday Friday


by bobred posted Nov 29 2019, 14:08

my chatbot is named pioyu.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 437, today: 0, week: 6, month: 119

by bobred posted Nov 30 2019, 10:41

when I edit a response pioyu gives me a strange response.

like for instance.

when pioyu ask me in the greeting Do you like this mall?

when I answer yes this happens.

 

Do you like this mall? yes My boyfriend owns amtrack mall.i will tell him you like it.I want to tell you more about where I live. Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday Saturday


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 339, today: 0, week: 9, month: 105

by admin posted Dec 1 2019, 10:18

This is occurring because you are using the <srai> element, which is a recursive redirect.

But you are redirecting to another category that also does a <srai>weeker</srai> so you get an infinite loop.

I would recommend you not use the <srai> element if you do not have a good understanding of it.

The detailed issue is that you initial category for "yes" with that "Do you like this mall?" does a <srai>weeker</srai>, then you have another category "*" with that "Do you like this mall?" that also calls <srai>weeker</srai>, so your srai weeker calls itself, which is very bad.

You also have a category "weeker" that attempts a response, but uses a variable "timel" that does not exist, so aborts, causing the fall back on the "*" category.

 


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 398, today: 0, week: 6, month: 119

by bobred posted Dec 1 2019, 11:52

i have been using srai for a while now.

i do not want to stop using it.

variable timel does exist.

<category>

<pattern>this weekay is *</pattern> 

<template><set name = "timel"><star/></set>

<template>

</category>

 

<category>

<pattern>what is the weekday</pattern>

<template><get name = "timel"/>

</template>


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 363, today: 1, week: 5, month: 113

Id: 30488834
Tags: aiml
Posted: Nov 29 2019, 14:07
Replies: 4
Views: 448, today: 1, week: 10, month: 122
I'm sure
Flag post as offensive, or in violation of site rules