Junte o Bot Libre open source projeto BotLibre.org
Bot Libre Forum

the think code

por bobred postado Mar 21 2018, 7:42

where is the think code you posted?The post has been removed by someone.


by admin posted Mar 21 2018, 9:12
Do you mean this post?

https://www.botlibre.com/forum-post?id=21388643

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

by bobred posted Mar 21 2018, 10:13

no.but it was a question.here it is .where would I put this in learning and chat logs.think: conversation.topic = "dancing";

because when I put it in think it spat out an error. 


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

by admin posted Mar 21 2018, 11:45
Put just the code in the "Think",

conversation.topic = "dancing";

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

by bobred posted Mar 21 2018, 12:50

I did not do it right I put think with it.a computer with ai could make the same mistake to.


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

by bobred posted Mar 21 2018, 16:22

none of your scripts seem to do what i want.they just stop.you know what I want it to do if I type spin around to the chatbot.it would say I am spinning around.if I type spin around again.it would say I am still spinning around.until I type something else.but none of your scripts work continuously.


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

by admin posted Mar 21 2018, 17:37
I fixed your bot.

Your issue was you set the topic in both, not just the second.
Also the bots don't like to say the same response twice in a row (normally if the user asked the same question twice in a row they want a different response), so even though your second response was the best response, it used the first one because it did not want to repeat itself.

I fixed it with a condition on the first response.

conversation.topic != "dancing"

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 255, today: 1, week: 4, month: 27

by bobred posted Mar 22 2018, 11:35

thankyou.is adding avatars and animations is that free for the basic service?I want to add some animations for dancing and sitting.


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

by admin posted Mar 22 2018, 13:46
Yes, you can create your own avatar with a free account.

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

If you want us to design and render an avatar for you, you need to purchase our avatar service (normally $50 per avatar), or upgrade to Platinum for 1 free avatar.

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

by bobred posted Mar 22 2018, 18:03

I tried to import three images for pioyu the chatbot for talking but they did not import.The images are not showing for talking. 


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

by admin posted Mar 22 2018, 20:24
For talking you need to upload a video.

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

by bobred posted Mar 23 2018, 2:32

what video format are supported?


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

by bobred posted Mar 23 2018, 2:37

it would not let me import mp4 video for talking.it is 5.9 kilobytes.


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

by admin posted Mar 23 2018, 10:15
You need to use web compatible video formats such as mp4 or webm.

I assume you mean 5.9 megabytes. The max upload size is 5 megabytes, but a web video should be much smaller, less than 1 megabyte is recommended (600x600 resolution).

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

by bobred posted Mar 23 2018, 16:52

I can see my my avatar animation play in the avatar editor but not when I interact with pioyu the chatbot.Could you see what I did wrong?


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

by bobred posted Mar 24 2018, 8:15

i meant a 5.9 kilobytes.


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

by admin posted Mar 24 2018, 10:22
I looked at your 3 avatars, and none of them have any valid content.

Convert your video to the webm or mp4 format that is compatible with the web (normally mp4 are not).

http://converterpoint.com/

You also need a minimium of 2 videos, a "default" video with nothing checked/entered, and a "talking" video with tlaking checked.

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

by bobred posted Mar 24 2018, 21:47

okay I made my own avatar for pioyu the chatbot.but I have to work on the talking animation because it is too fast.


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

Id: 21395943
Tags: programming
Postado: Mar 21 2018, 7:42
Respostas: 17
Pontos de vista: 602, hoje: 1, semana: 5, mês: 174
Eu tenho certeza que
Bandeira post como ofensivas, ou em violação das regras do site