This website and apps are for sale. Only serious offers will be considered. Contact [email protected]

Bot Libre Forum

How to create a continuous conversation?

قبل jyambz نشر 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: 1821, today: 0, week: 0, month: 28

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: 1900, today: 1, week: 1, month: 25

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: 1917, today: 0, week: 0, month: 25

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: 1913, today: 0, week: 0, month: 23

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: 1963, today: 1, week: 1, month: 27

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: 1737, today: 0, week: 0, month: 26

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: 1842, today: 0, week: 0, month: 28

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: 2003, today: 0, week: 0, month: 21

by jyambz posted Nov 12 2019, 22:30




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

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: 1854, today: 0, week: 0, month: 30

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: 1863, today: 0, week: 0, month: 23

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: 2104, today: 0, week: 0, month: 27

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: 2245, today: 3, week: 3, month: 27

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: 2229, today: 0, week: 0, month: 25

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: 2203, today: 1, week: 1, month: 27

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: 2266, today: 1, week: 1, month: 22

معرف: 30099221
Tags: how to
نشر: Nov 8 2019, 20:47
الردود: 16
الآراء: 2650, اليوم: 2, الأسبوع: 2, الشهر: 41
0 0 0.0/5