Saviez-vous Bot Libre propose gratuitement hébergé forums pour votre site web ou une application mobile?
Bot Libre Forum

How to create a continuous conversation?

par jyambz posté Nov 8 2019, 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 2019, 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: 1914, today: 0, week: 2, month: 7

by jyambz posted Nov 10 2019, 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: 2092, today: 0, week: 0, month: 11

by jyambz posted Nov 10 2019, 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: 2007, today: 1, week: 1, month: 5

by admin posted Nov 10 2019, 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: 2013, today: 0, week: 0, month: 7

by jyambz posted Nov 10 2019, 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: 2034, today: 0, week: 0, month: 5

by bobred posted Nov 11 2019, 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: 1873, today: 0, week: 0, month: 7

by jyambz posted Nov 12 2019, 20:24

h1

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

by jyambz posted Nov 12 2019, 21:35

 

 

 

 

 

Screenshot_20191113-091857.png

Screenshot_20191113-092032.png

Screenshot_20191113-092057.png

 

 

 


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

by jyambz posted Nov 12 2019, 22:30




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

by bobred posted Nov 13 2019, 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: 1937, today: 0, week: 0, month: 7

by admin posted Nov 13 2019, 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: 2017, today: 0, week: 0, month: 13

by bobred posted Nov 13 2019, 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: 2249, today: 1, week: 2, month: 8

by jyambz posted Nov 14 2019, 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: 2335, today: 0, week: 0, month: 5

by jyambz posted Nov 14 2019, 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: 2305, today: 0, week: 0, month: 3

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

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2311, today: 0, week: 0, month: 7

by bobred posted Nov 14 2019, 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: 2432, today: 0, week: 1, month: 5

Id: 30099221
Tags: how to
Posté: Nov 8 2019, 20:47
Réponses: 16
Vues: 2788, aujourd'hui: 1, semaine: 3, mois: 17
0 0 0.0/5