Sleep

Robot- partner - Vue.js Feed

.Demo: https://robot-companion.vercel.app/.Robot Friend is an AI robot that can easily move, dramatize, and transform facial expressions while chatting. For example, you may claim "Allow's gathering!", as well as the robot is going to begin dancing without you explictly informing it to dance.It operates on window.ai, three.js as well as Vue.js. The goal was actually to experiment with the window.ai API, which permits you to connect in your own AI version (as an example, GPT-3.5) right into a plan.Possible animations:.States: [Unoccupied], [Walking], [Functioning], [Dance], [Fatality] Emotes: [Dive], [Yes], [No], [Swing], [Punch], [Thumbs Up] Faces: [Angry], [Startled], [Sad] (each value in between 0 and also 1).How it operates.The AI design is actually offered an initial prompt that says it's an AI robotic in a 3D globe as well as notes the different states, dramatizes, and facial expressions achievable, and also it ought to add an explanation by the end of a reply in the style &gt.After receiving a reply coming from the AI model, the code parses the explanation and knowns as the corresponding computer animations, and the footnote is removed coming from the message prior to presenting it in the chat box.