Host your own bot platform with the Bot Libre Enterprise Bot Platform
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: 512, today: 1, week: 1, month: 89

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: 515, today: 0, week: 0, month: 85

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: 481, today: 0, week: 0, month: 87

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: 481, today: 0, week: 0, month: 90

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: 463, today: 0, week: 0, month: 88

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: 588, today: 0, week: 0, month: 80

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: 502, today: 1, week: 1, month: 94

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: 460, today: 0, week: 0, month: 94

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: 474, today: 1, week: 1, month: 96

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: 479, today: 0, week: 0, month: 86

by bobred posted Mar 23 2018, 2:32

what video format are supported?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 486, today: 0, week: 0, month: 79

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: 516, today: 0, week: 0, month: 95

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: 486, today: 0, week: 0, month: 83

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: 578, today: 0, week: 0, month: 92

by bobred posted Mar 24 2018, 8:15

i meant a 5.9 kilobytes.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 508, today: 0, week: 0, month: 85

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: 519, today: 0, week: 0, month: 84

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: 495, today: 0, week: 0, month: 82

Id: 21395943
Tags: programming
Posted: Mar 21 2018, 7:42
Replies: 17
Views: 1029, today: 1, week: 1, month: 116
I'm sure
Flag post as offensive, or in violation of site rules