Atualize para nosso Platinum serviço e deixar-nos a construir o seu bot para você
Bot Libre Forum

How to create a continuous conversation?

por jyambz postado Nov 8, 20:47

I am having difficulty creating a continuous conversation. That will allow the user and the bot to communicate. Like happy or sad conversation. Any idea how to begin with.
Thank you very much.


by bobred posted Nov 9, 8:34

i have my chatbot talk about and ask questions about what the users say's to it in the same response.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 31, today: 0, week: 2, month: 3

by jyambz posted Nov 10, 1:41
For example, a happy or sad conversation with previous and next response. I tried but did not work.Let's say, I started the conversation wih:
User: Hi
Bot: Hello, how are you?
User: I'm sad
Bot:

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 33, today: 0, week: 3, month: 3

by jyambz posted Nov 10, 1:47
I used the Hi and How are you as previous response. Separate response from the next response

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 30, today: 0, week: 3, month: 4

by admin posted Nov 10, 8:57
There are several ways to define conversations for your bot.

These include
  • conversation flows/trees using our response "next" feature
  • topics
  • previous
Normally conversation flows are the best method, as they are isolated and more structured,
https://www.botlibre.com/forum-post?id=21832117

If you want a less structured method using topics is a good option. Topics can be isolated/exclusive as well.
You can also have topic specific default responses.

You can also use the response "previous" (AIML "that") to defined context specific response. The previous response is the bot's previous response. You can also have previous specific default responses.

See,
https://www.botlibre.com/forum-post?id=483549

You can also do more advanced things through code using "think", "condition", and Self scripts.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 37, today: 0, week: 2, month: 3

by jyambz posted Nov 10, 20:01
I used previous instead of next question. The bot keeps on repeating what I'm saying. I forgot to used option, may be that is why it keeps on repeating the responses

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 45, today: 0, week: 3, month: 4

by bobred posted Nov 11, 8:55

show me what you did. use snip tool to make a screenshot or just make regular screenshot.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 36, today: 0, week: 1, month: 1

by jyambz posted Nov 12, 20:24

h1

Here's the screenshot of what I did and the output:
Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 33, today: 0, week: 2, month: 2

by jyambz posted Nov 12, 21:35

 

 

 

 

 

Screenshot_20191113-091857.png

Screenshot_20191113-092032.png

Screenshot_20191113-092057.png

 

 

 


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 34, today: 1, week: 3, month: 3

by jyambz posted Nov 12, 22:30




Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 31, today: 0, week: 2, month: 2

by bobred posted Nov 13, 9:05

you could put I am sad for the question.

And for a new response why are you said?

you could put very very sad for the question. 

and for a new response why are you sad?

 

 


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 32, today: 1, week: 3, month: 3

by admin posted Nov 13, 15:01
Maybe you fixed it, as when I chat with your bot I get,

> Thank you very much
> Okay see you

The reason your bot is repeating some questions is it has no response and no default response.
You should add a default response (such as "Sorry, I do not understand.").

In general never add common words like "you" as a keyword (you can put it as a required word).

When the bot say "I understand...." this response is coming from the "Understanding" script. If you don't want these responses then delete that script.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 35, today: 0, week: 2, month: 3

by bobred posted Nov 13, 20:23

click on learning chatlogs and then click on review conversation this week. then answer my questions that will improve your chatbot. think of questions people would ask you or your chatbot. then input that question in the form of keyphrases into the question and type in a appropriate response.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 30, today: 0, week: 3, month: 3

by jyambz posted Nov 14, 1:12
I did that. The only mistake that I made was using the next flow structure which leads to that kind of problem

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 26, today: 1, week: 3, month: 3

by jyambz posted Nov 14, 1:16
I also have a default response : Are you happy or sad? but unfortunately it did not work that way. She never utter that response. What must I do?
With regards to the next nested structure, it was also unsuccessful, leading to this kind of error

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 24, today: 0, week: 2, month: 2

by jyambz posted Nov 14, 1:32
My topic conversation will focus on happy or sad conversation

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 25, today: 0, week: 3, month: 4

by bobred posted Nov 14, 3:32

default responses are only used when a chatbot has nothing else to say. you should only have one of those. greetings are used when a user interacts at the beginning of a conversation with a chatbot. you can have many greetings. when using previous you have to copy one of your rsponses into it with your selected question or response. focus on learning these things.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 28, today: 0, week: 2, month: 2

Id: 30099221
Tags: how to
Postado: Nov 8, 20:47
Respostas: 16
Pontos de vista: 61, hoje: 1, semana: 2, mês: 2
Eu tenho certeza que
Bandeira post como ofensivas, ou em violação das regras do site