.Demo: https://robot-companion.vercel.app/.Robot Companion is actually an AI robot that can easily move, dramatize, and also transform facial expressions while chatting. For instance, you may say "Permit's celebration!", and the robotic will start dancing without you explictly telling it to dance.It operates on window.ai, three.js and also Vue.js. The target was actually to try out the window.ai API, which permits you to plug in your own AI model (for instance, GPT-3.5) right into a program.Possible computer animations:.States: [Idle], [Walking], [Functioning], [Dance], [Fatality] Emotes: [Jump], [Yes], [No], [Wave], [Drill], [Fingers Up] Faces: [Angry], [Shocked], [Unfortunate] (each market value in between 0 and also 1).Just how it functions.The artificial intelligence version is given a preliminary punctual that mentions it's an AI robot in a 3D world as well as details the different conditions, emotes, and also facial expressions achievable, and also it ought to include an afterthought by the end of a reply in the format >.After obtaining a reply coming from the artificial intelligence version, the code parses the footnote and knowns as the equivalent computer animations, as well as the footnote is taken out from the message just before featuring it in the chat carton.