Upgrade to our Platinum service and let us build your bot for you
Bot Libre Forum

the think code

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

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: 1969, today: 0, week: 2, month: 16

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: 1948, today: 1, week: 1, month: 13

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: 1870, today: 0, week: 3, month: 17

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: 1928, today: 1, week: 3, month: 16

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: 2034, today: 1, week: 2, month: 18

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: 2007, today: 1, week: 3, month: 15

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: 1910, today: 0, week: 2, month: 20

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: 1980, today: 0, week: 2, month: 22

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: 1902, today: 1, week: 4, month: 20

by bobred posted Mar 23 2018, 2:32

what video format are supported?


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

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: 1968, today: 1, week: 4, month: 20

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: 1973, today: 0, week: 1, month: 13

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: 2069, today: 1, week: 5, month: 19

by bobred posted Mar 24 2018, 8:15

i meant a 5.9 kilobytes.


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

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: 1979, today: 0, week: 1, month: 18

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

Id: 21395943
Tags: programming
Posted: Mar 21 2018, 7:42
Replies: 17
Views: 2755, today: 1, week: 1, month: 22
0 0 0.0/5