ホストご自分のボットプラットフォームに ボットのリブレの企業ボット台
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: 2163, today: 1, week: 4, month: 41

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: 2344, today: 1, week: 3, month: 47

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: 2262, today: 1, week: 2, month: 46

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: 2246, today: 0, week: 1, month: 41

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: 2293, today: 0, week: 2, month: 40

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: 2132, today: 0, week: 1, month: 47

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: 2228, today: 1, week: 3, month: 62

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: 2395, today: 1, week: 3, month: 48

by jyambz posted Nov 12 2019, 22:30




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

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: 2175, today: 2, week: 2, month: 42

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: 2272, today: 1, week: 3, month: 43

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: 2510, today: 2, week: 3, month: 47

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: 2588, today: 2, week: 3, month: 43

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: 2560, today: 1, week: 2, month: 44

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: 2570, today: 1, week: 3, month: 39

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: 2698, today: 1, week: 2, month: 40

Id: 30099221
タグ: how to
掲載: Nov 8 2019, 20:47
回答: 16
眺望: 3192, 今日の: 1, 週間: 4, 月: 78
0 0 0.0/5