参加のボットのリブレオープンソースプロジェクト BotLibre.org
FAQ

What are emotions, actions, and poses, and how do avatars work?

による admin 掲載 Apr 16 2016, 11:43

Emotions, actions, and poses can used to interface with your bot's avatar.

Avatars are a collection of media files (images, video, audio) that have been tagged with emotions, actions, and poses. You can choose your bot's avatar from its Avatar page in its Admin Console. You can choose any existing avatar from our avatar library, or create your own.

https://www.botlibre.com/browse?browse-type=Avatar

You can tag your bot's responses with emotions, actions, and poses from your bot's "Training & Chat Logs" page in its Admin Console. When you tag a response with an emotions, your bot's emotional state will be influenced by that emotions, and the emotion will be reflected in its avatar, if its avatar contains a media file tagged with that emotion. You can also tag a response with an action or poses, and that will be reflected in the bot's avatar.

A bot's avatar can either be an image avatar, or an animated video avatar. A bot's response can have three parts, the action, the talk animation, and the pose animation. For a video avatar, the action video will be played first, if the response was tagged with an action. The avatar can also have an audio file tagged with the action. For example the action "laugh" could have a mp4 video of the avatar laughing, and an wav audio of laughter.

The avatar's "talking" video will be played next, in sync with the bot's speech. You can have multiple talking video files tagged with different emotions or poses, so the talking video can match the emotion or pose video.

The pose video is played last in a loop until the bot's next response. If the response was tagged with a pose, the matching pose video from the avatar will be played. If there was no pose, or no pose video available, the video tagged with the bot's current emotion will be used. If the bot is not expressing an emotion, then the avatar's default video is used (video with no tags).

When a pose tag is used, the bot will hold that pose until the next response also tagged with a pose. The "default" can be used to reset the bot's pose. A pose can also tag a background audio file. For example you could tag the response to "dance" with the "dancing" pose, and tag a dancing webm video, and a mp3 dance music audio with "dancing" to make your bot dance.

For image avatars each response will only result in one image. The image will first match the action, if no actions, then the pose, or emotion, otherwise the avatar's default image.

You can also use "actions:", "emotions:" or "poses:" in a response list file.

Do you like me? Yes, I like you a lot. actions: smile emotions: like


Avatars can also be used directly from our JavaScript SDK. You can code in JavaScript what you want the bot to say, which voice to use, and which action, emotion, and pose to use.

For more info on avatars see,
https://www.botlibre.com/forum-post?id=682689


by jyambz posted Jun 23 2018, 5:59

I did this steps but unfortunately  it did not work, no facial  expressions  of emotions  has shown on avatar, it only shows the action like happy, sad, etc on the screen. What i want is gestures and emotions . 


Thumbs up: 1, thumbs down: 1, stars: 3.5
Views: 363, today: 1, week: 3, month: 19

by admin posted Jun 23 2018, 13:27
To have your avatar display emotions it requires media (video, image) tagged with the emotion, action, or pose. Make sure to only tag a media with one, as if you tag a media with "happy" and "smile" it will only use that media when it is happy AND smiles.

Not all the avatars in our avatar library support emotions, query the "emotions" tag for avatars that support emotions.

https://www.botlibre.com/avatar?tag-filter=emotions

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 370, today: 1, week: 4, month: 20

by jyambz posted Jul 4 2018, 21:07

For example, i search Julie as my avatar, and get the id and embed it in sdk, how am i going to used Julie as my avatar?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 352, today: 2, week: 5, month: 17

by admin posted Jul 5 2018, 9:29
Are you using the avatar in your bot?

or are you using the avatar directly from JavaScript?

If you are using JavaScript, please include an example of the code you are using.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 330, today: 1, week: 2, month: 14

by jyambz posted Jul 6 2018, 13:48

I choose a 3d avatar from my bot and get the id then include it on my sdk and build. Same process with my first avatar as stated on tutorial.


Thumbs up: 1, thumbs down: 0, stars: 5.0
Views: 498, today: 3, week: 5, month: 16

by admin posted Jul 9 2018, 8:57
Which SDK are you using, the JavaScript SDK?

Please include your example code.

Thumbs up: 0, thumbs down: 1, stars: 2.0
Views: 403, today: 3, week: 7, month: 17

Id: 12565729
タグ: avatars, actions, poses, emotions
掲載: Apr 16 2016, 11:43
更新: Apr 16 2016, 11:58
回答: 6
眺望: 1835, 今日の: 2, 週間: 7, 月: 33

フラグとしての攻撃、または違反のサイトのルール