
The AI model is given an initial prompt that says it’s an AI robot in a 3D world and lists the various states, emotes, and facial expressions possible, and that it should add a footnote at the end of a reply in the format >.Īfter receiving a reply from the AI model, the code parses the footnote and calls the corresponding animations, and the footnote is removed from the message before displaying it in the chat box.

Click in the Console, and then type 2+2, without pressing Enter. If necessary, click in DevTools to give it focus, and then press Esc to open the Console. Or, press Ctrl+Shift+J (Windows, Linux) or Command+Option+J (macOS), to directly open the DevTools console. For example, you can say “Let’s party!”, and the robot will start dancing without you explictly telling it to dance. Right-click in a webpage and then select Inspect.

Robot Companion is an AI robot that can move, emote, and change facial expressions while chatting. The Windows Library for JavaScript (abbreviated as WinJS) is an open-source JavaScript library developed by Microsoft.
