Pobierz otwarty kod źródłowy bota Libre ogólny wydanie i zainstaluj bota Libre na własny serwer
Bot Libre Forum

the think code

w bobred wysłany 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: 1956, today: 0, week: 2, month: 6

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

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

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: 1863, today: 1, week: 2, month: 10

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: 1920, today: 0, week: 2, month: 8

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: 2028, today: 1, week: 4, month: 12

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: 2002, today: 0, week: 3, month: 10

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: 1905, today: 3, week: 6, month: 15

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

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: 1893, today: 1, week: 4, month: 11

by bobred posted Mar 23 2018, 2:32

what video format are supported?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1872, today: 0, week: 0, month: 4

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: 1957, today: 1, week: 2, month: 9

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: 1966, today: 0, week: 1, month: 6

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: 2056, today: 0, week: 1, month: 6

by bobred posted Mar 24 2018, 8:15

i meant a 5.9 kilobytes.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1907, today: 3, week: 10, month: 15

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: 1972, today: 0, week: 2, month: 11

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: 1956, today: 0, week: 2, month: 9

Identyfikator: 21395943
Tagi: programming
Wysłany: Mar 21 2018, 7:42
Odpowiedzi: 17
Widok: 2748, dziś: 1, tydzień: 5, miesiąc: 15
0 0 0.0/5