Junte o Bot Libre open source projeto BotLibre.org
Bugs and Features

pioyu is repeating

por bobred postado 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: 2162, today: 2, week: 5, month: 19

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

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: 2179, today: 0, week: 2, month: 10

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: 2251, today: 0, week: 2, month: 13

Id: 30488834
Tags: aiml
Postado: Nov 29 2019, 14:07
Respostas: 4
Pontos de vista: 2257, hoje: 1, semana: 4, mês: 13
0 0 0.0/5