.Trial: https://robot-companion.vercel.app/.Robotic Friend is an AI robot that may move, dramatize, as well as alter facial expressions while chatting. For example, you may state "Allow's party!", and also the robot is going to begin dancing without you explictly informing it to dance.It works on window.ai, three.js as well as Vue.js. The goal was actually to explore the window.ai API, which allows you to plug in your personal AI style (as an example, GPT-3.5) in to a plan.Possible animations:.States: [Idle], [Strolling], [Operating], [Dancing], [Fatality] Emotes: [Jump], [Yes], [No], [Wave], [Punch], [Fingers Up] Facial Expressions: [Angry], [Shocked], [Saddening] (each value between 0 and also 1).How it works.The AI style is actually provided an initial prompt that mentions it is actually an AI robot in a 3D globe and also notes the different conditions, dramatizes, and also facial expressions achievable, and also it must incorporate an explanation at the end of a reply in the style >.After receiving a reply from the AI style, the code analyzes the explanation as well as calls the matching animations, and the afterthought is eliminated coming from the message before presenting it in the conversation container.